netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@nvidia.com>
Cc: Leon Romanovsky <leonro@nvidia.com>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>,
	linux-rdma@vger.kernel.org, Mark Bloch <mbloch@nvidia.com>,
	netdev@vger.kernel.org, Paolo Abeni <pabeni@redhat.com>,
	Patrisious Haddad <phaddad@nvidia.com>,
	Saeed Mahameed <saeedm@nvidia.com>,
	Steffen Klassert <steffen.klassert@secunet.com>,
	Simon Horman <horms@kernel.org>
Subject: [PATCH mlx5-next 0/9] Support IPsec packet offload in multiport RoCE devices
Date: Thu, 21 Sep 2023 15:10:26 +0300	[thread overview]
Message-ID: <cover.1695296682.git.leon@kernel.org> (raw)

From: Leon Romanovsky <leonro@nvidia.com>

Hi,

This series from Patrisious extends mlx5 to support IPsec packet offload
in multiport devices (MPV, see [1] for more details).

These devices have single flow steering logic and two netdev interfaces,
which require extra logic to manage IPsec configurations as they performed
on netdevs.

Thanks

[1] https://lore.kernel.org/linux-rdma/20180104152544.28919-1-leon@kernel.org/

Thanks

Patrisious Haddad (9):
  RDMA/mlx5: Send events from IB driver about device affiliation state
  net/mlx5: Register mlx5e priv to devcom in MPV mode
  net/mlx5: Store devcom pointer inside IPsec RoCE
  net/mlx5: Add alias flow table bits
  net/mlx5: Implement alias object allow and create functions
  net/mlx5: Add create alias flow table function to ipsec roce
  net/mlx5: Configure IPsec steering for egress RoCEv2 MPV traffic
  net/mlx5: Configure IPsec steering for ingress RoCEv2 MPV traffic
  net/mlx5: Handle IPsec steering upon master unbind/bind

 drivers/infiniband/hw/mlx5/main.c             |  17 +
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c |  70 +++
 drivers/net/ethernet/mellanox/mlx5/core/en.h  |   8 +
 .../mellanox/mlx5/core/en_accel/ipsec.c       |   3 +-
 .../mellanox/mlx5/core/en_accel/ipsec.h       |  25 +-
 .../mellanox/mlx5/core/en_accel/ipsec_fs.c    | 122 +++-
 .../mlx5/core/en_accel/ipsec_offload.c        |   3 +-
 .../net/ethernet/mellanox/mlx5/core/en_main.c |  63 ++
 .../net/ethernet/mellanox/mlx5/core/fs_core.c |  10 +-
 .../ethernet/mellanox/mlx5/core/lib/devcom.h  |   1 +
 .../mellanox/mlx5/core/lib/ipsec_fs_roce.c    | 542 +++++++++++++++++-
 .../mellanox/mlx5/core/lib/ipsec_fs_roce.h    |  14 +-
 .../net/ethernet/mellanox/mlx5/core/main.c    |   6 +
 .../ethernet/mellanox/mlx5/core/mlx5_core.h   |  22 +
 include/linux/mlx5/device.h                   |   2 +
 include/linux/mlx5/driver.h                   |   2 +
 include/linux/mlx5/mlx5_ifc.h                 |  56 +-
 17 files changed, 925 insertions(+), 41 deletions(-)

-- 
2.41.0


             reply	other threads:[~2023-09-21 12:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-21 12:10 Leon Romanovsky [this message]
2023-09-21 12:10 ` [PATCH mlx5-next 1/9] RDMA/mlx5: Send events from IB driver about device affiliation state Leon Romanovsky
2023-09-21 12:10 ` [PATCH mlx5-next 2/9] net/mlx5: Register mlx5e priv to devcom in MPV mode Leon Romanovsky
2023-09-21 12:10 ` [PATCH mlx5-next 3/9] net/mlx5: Store devcom pointer inside IPsec RoCE Leon Romanovsky
2023-09-21 12:10 ` [PATCH mlx5-next 4/9] net/mlx5: Add alias flow table bits Leon Romanovsky
2023-09-21 12:10 ` [PATCH mlx5-next 5/9] net/mlx5: Implement alias object allow and create functions Leon Romanovsky
2023-09-21 12:10 ` [PATCH mlx5-next 6/9] net/mlx5: Add create alias flow table function to ipsec roce Leon Romanovsky
2023-09-21 12:10 ` [PATCH mlx5-next 7/9] net/mlx5: Configure IPsec steering for egress RoCEv2 MPV traffic Leon Romanovsky
2023-09-21 12:10 ` [PATCH mlx5-next 8/9] net/mlx5: Configure IPsec steering for ingress " Leon Romanovsky
2023-09-21 12:10 ` [PATCH mlx5-next 9/9] net/mlx5: Handle IPsec steering upon master unbind/bind Leon Romanovsky
2023-10-02  8:48 ` [PATCH mlx5-next 0/9] Support IPsec packet offload in multiport RoCE devices 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.1695296682.git.leon@kernel.org \
    --to=leon@kernel.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=jgg@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=leonro@nvidia.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=mbloch@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=phaddad@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).