Skip to content
Commit ae0b04b2 authored by Tariq Toukan's avatar Tariq Toukan Committed by Jakub Kicinski
Browse files

net: Disable NETIF_F_HW_TLS_TX when HW_CSUM is disabled



With NETIF_F_HW_TLS_TX packets are encrypted in HW. This cannot be
logically done when HW_CSUM offload is off.

Fixes: 2342a851 ("net: Add TLS TX offload features")
Signed-off-by: default avatarTariq Toukan <tariqt@nvidia.com>
Reviewed-by: default avatarBoris Pismenny <borisp@nvidia.com>
Link: https://lore.kernel.org/r/20201213143929.26253-1-tariqt@nvidia.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c31b70c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment