]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net/tls: Select SOCK_RX_QUEUE_MAPPING from TLS_DEVICE
authorTariq Toukan <tariqt@nvidia.com>
Thu, 11 Feb 2021 11:35:52 +0000 (13:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2021 03:08:06 +0000 (19:08 -0800)
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>
net/tls/Kconfig

index fa0724fd84b4bff62a47992ff305ff6e9c9796f6..0cdc1f7b6b084e975a6d32cfbc0af172fe40222e 100644 (file)
@@ -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.