Skip to content

Commit

Permalink
net/tls: Select SOCK_RX_QUEUE_MAPPING from TLS_DEVICE
Browse files Browse the repository at this point in the history
Compile-in the socket RX queue mapping field and logic when TLS_DEVICE
is enabled. This allows device drivers to pick the recorded socket's
RX queue and use it for streams distribution.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Tariq Toukan authored and David S. Miller committed Feb 12, 2021
1 parent 4e1beec commit 76f1659
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/tls/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ config TLS_DEVICE
bool "Transport Layer Security HW offload"
depends on TLS
select SOCK_VALIDATE_XMIT
select SOCK_RX_QUEUE_MAPPING
default n
help
Enable kernel support for HW offload of the TLS protocol.
Expand Down

0 comments on commit 76f1659

Please sign in to comment.