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 <tar...@nvidia.com>
Reviewed-by: Maxim Mikityanskiy <maxi...@nvidia.com>
---
 net/tls/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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.
-- 
2.21.0

Reply via email to