• Tariq Toukan's avatar
    net/bonding: Declare TLS RX device offload support · dc5809f9
    Tariq Toukan authored
    Following the description in previous patch (for TX):
    As the bond interface is being bypassed by the TLS module, interacting
    directly against the lower devs, there is no way for the bond interface
    to disable its device offload capabilities, as long as the mode/policy
    config allows it.
    Hence, the feature flag is not directly controllable, but just reflects
    the offload status based on the logic under bond_sk_check().
    
    Here we just declare RX device offload support, and expose it via the
    NETIF_F_HW_TLS_RX flag.
    Signed-off-by: default avatarTariq Toukan <tariqt@nvidia.com>
    Reviewed-by: default avatarBoris Pismenny <borisp@nvidia.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    dc5809f9
bonding.h 20.4 KB