netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Paolo Abeni <pabeni@redhat.com>, Jakub Kicinski <kuba@kernel.org>,
	"David S . Miller" <davem@davemloft.net>
Cc: Leon Romanovsky <leonro@nvidia.com>,
	Saeed Mahameed <saeedm@nvidia.com>,
	linux-netdev <netdev@vger.kernel.org>,
	Raed Salem <raeds@nvidia.com>, Eric Dumazet <edumazet@google.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	Steffen Klassert <steffen.klassert@secunet.com>
Subject: [PATCH net-next 00/10] Improve IPsec limits, ESN and replay window in mlx5
Date: Thu, 30 Mar 2023 11:02:21 +0300	[thread overview]
Message-ID: <cover.1680162300.git.leonro@nvidia.com> (raw)

From: Leon Romanovsky <leonro@nvidia.com>

Hi,

This series overcomes existing hardware limitations in Mellanox ConnectX
devices around handling IPsec soft and hard limits.

In addition, the ESN logic is tied and added an interface to configure
replay window sequence numbers through existing iproute2 interface.

  ip xfrm state ... [ replay-seq SEQ ] [ replay-oseq SEQ ] 
		    [ replay-seq-hi SEQ ] [ replay-oseq-hi SEQ ]

Thanks

Leon Romanovsky (10):
  net/mlx5e: Factor out IPsec ASO update function
  net/mlx5e: Prevent zero IPsec soft/hard limits
  net/mlx5e: Add SW implementation to support IPsec 64 bit soft and hard
    limits
  net/mlx5e: Overcome slow response for first IPsec ASO WQE
  xfrm: don't require advance ESN callback for packet offload
  net/mlx5e: Remove ESN callbacks if it is not supported
  net/mlx5e: Set IPsec replay sequence numbers
  net/mlx5e: Reduce contention in IPsec workqueue
  net/mlx5e: Generalize IPsec work structs
  net/mlx5e: Simulate missing IPsec TX limits hardware functionality

 .../mellanox/mlx5/core/en_accel/ipsec.c       | 329 +++++++++++++++---
 .../mellanox/mlx5/core/en_accel/ipsec.h       |  47 ++-
 .../mellanox/mlx5/core/en_accel/ipsec_fs.c    |  31 +-
 .../mlx5/core/en_accel/ipsec_offload.c        | 198 ++++++++---
 net/xfrm/xfrm_device.c                        |   2 +-
 5 files changed, 496 insertions(+), 111 deletions(-)

-- 
2.39.2


             reply	other threads:[~2023-03-30  8:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30  8:02 Leon Romanovsky [this message]
2023-03-30  8:02 ` [PATCH net-next 01/10] net/mlx5e: Factor out IPsec ASO update function Leon Romanovsky
2023-03-30  8:02 ` [PATCH net-next 02/10] net/mlx5e: Prevent zero IPsec soft/hard limits Leon Romanovsky
2023-03-30  8:02 ` [PATCH net-next 03/10] net/mlx5e: Add SW implementation to support IPsec 64 bit soft and hard limits Leon Romanovsky
2023-03-30  8:02 ` [PATCH net-next 04/10] net/mlx5e: Overcome slow response for first IPsec ASO WQE Leon Romanovsky
2023-03-30  8:02 ` [PATCH net-next 05/10] xfrm: don't require advance ESN callback for packet offload Leon Romanovsky
2023-04-05 10:38   ` Steffen Klassert
2023-03-30  8:02 ` [PATCH net-next 06/10] net/mlx5e: Remove ESN callbacks if it is not supported Leon Romanovsky
2023-03-30  8:02 ` [PATCH net-next 07/10] net/mlx5e: Set IPsec replay sequence numbers Leon Romanovsky
2023-03-30  8:02 ` [PATCH net-next 08/10] net/mlx5e: Reduce contention in IPsec workqueue Leon Romanovsky
2023-03-30  8:02 ` [PATCH net-next 09/10] net/mlx5e: Generalize IPsec work structs Leon Romanovsky
2023-03-30  8:02 ` [PATCH net-next 10/10] net/mlx5e: Simulate missing IPsec TX limits hardware functionality Leon Romanovsky

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=cover.1680162300.git.leonro@nvidia.com \
    --to=leon@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=kuba@kernel.org \
    --cc=leonro@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=raeds@nvidia.com \
    --cc=saeedm@nvidia.com \
    --cc=steffen.klassert@secunet.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).