netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tariq Toukan <tariqt@nvidia.com>
To: "David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>
Cc: Boris Pismenny <borisp@nvidia.com>, <netdev@vger.kernel.org>,
	Tariq Toukan <ttoukan.linux@gmail.com>,
	Moshe Shemesh <moshe@nvidia.com>,
	"Maxim Mikityanskiy" <maximmi@nvidia.com>,
	Saeed Mahameed <saeedm@nvidia.com>,
	"John Fastabend" <john.fastabend@gmail.com>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Alexei Starovoitov <ast@kernel.org>,
	Tariq Toukan <tariqt@nvidia.com>
Subject: [PATCH net-next 2/3] net/tls: Select SOCK_RX_QUEUE_MAPPING from TLS_DEVICE
Date: Thu, 11 Feb 2021 13:35:52 +0200	[thread overview]
Message-ID: <20210211113553.8211-3-tariqt@nvidia.com> (raw)
In-Reply-To: <20210211113553.8211-1-tariqt@nvidia.com>

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


  parent reply	other threads:[~2021-02-11 11:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-11 11:35 [PATCH net-next 0/3] Compile-flag for sock RX queue mapping Tariq Toukan
2021-02-11 11:35 ` [PATCH net-next 1/3] net/sock: Add kernel config SOCK_RX_QUEUE_MAPPING Tariq Toukan
2021-02-11 11:35 ` Tariq Toukan [this message]
2021-02-11 11:35 ` [PATCH net-next 3/3] net/mlx5: Remove TLS dependencies on XPS Tariq Toukan
2021-02-12  2:01 ` [PATCH net-next 0/3] Compile-flag for sock RX queue mapping Jakub Kicinski
2021-02-12 21:20 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210211113553.8211-3-tariqt@nvidia.com \
    --to=tariqt@nvidia.com \
    --cc=ast@kernel.org \
    --cc=borisp@nvidia.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=john.fastabend@gmail.com \
    --cc=kuba@kernel.org \
    --cc=maximmi@nvidia.com \
    --cc=moshe@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=saeedm@nvidia.com \
    --cc=ttoukan.linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).