summaryrefslogtreecommitdiffstats
path: root/net/tls
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@nvidia.com>2021-02-11 12:35:52 +0100
committerDavid S. Miller <davem@davemloft.net>2021-02-12 04:08:06 +0100
commit76f165939ea3e765ebf900ae840135041f9abcbb (patch)
tree5dfe661d91a5052df8a672716dba87bb26e3c70e /net/tls
parentnet/sock: Add kernel config SOCK_RX_QUEUE_MAPPING (diff)
downloadlinux-76f165939ea3e765ebf900ae840135041f9abcbb.tar.xz
linux-76f165939ea3e765ebf900ae840135041f9abcbb.zip
net/tls: Select SOCK_RX_QUEUE_MAPPING from TLS_DEVICE
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>
Diffstat (limited to 'net/tls')
-rw-r--r--net/tls/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tls/Kconfig b/net/tls/Kconfig
index fa0724fd84b4..0cdc1f7b6b08 100644
--- a/net/tls/Kconfig
+++ b/net/tls/Kconfig
@@ -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.