Skip to content

mlx5 IPsec packet offload support in eswitch mode

Leon Romanovsky netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12net/mlx5e: Add function to get IPsec offload namespacedrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c+22 -240 replies
2/12net/mlx5e: Change the parameter of IPsec RX skb handle functiondrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.h drivers/net/ethernet/mellanox/mlx5/core/en_rx.c+5 -50 replies
3/12net/mlx5e: Prepare IPsec packet offload for switchdev modedrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c+184 -830 replies
4/12net/mlx5e: Refactor IPsec RX tables creation and destructiondrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c+80 -310 replies
5/12net/mlx5e: Support IPsec packet offload for RX in switchdev modedrivers/net/ethernet/mellanox/mlx5/core/Makefile drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c +5 more+312 -460 replies
6/12net/mlx5e: Handle IPsec offload for RX datapath in switchdev modedrivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c +5 more+139 -30 replies
7/12net/mlx5e: Refactor IPsec TX tables creationdrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c+28 -60 replies
8/12net/mlx5e: Support IPsec packet offload for TX in switchdev modedrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.h +4 more+101 -90 replies
9/12net/mlx5: Compare with old_dest param to modify rule destinationdrivers/net/ethernet/mellanox/mlx5/core/fs_core.c+1 -113 replies
10/12net/mlx5e: Make IPsec offload work together with eswitch and TCdrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c drivers/net/ethernet/mellanox/mlx5/core/eswitch.h drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c+128 -150 replies
11/12net/mlx5e: Modify and restore TC rules for IPSec TX rulesdrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.h +2 more+154 -40 replies
12/12net/mlx5e: Add get IPsec offload stats for uplink representordrivers/net/ethernet/mellanox/mlx5/core/en_rep.c+1 -00 replies

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchMark Bloch
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12R-b
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 00/12] mlx5 IPsec packet offload support in eswitch mode

From: Leon Romanovsky <[email protected]>

Hi,

This series from Jianbo adds mlx5 IPsec packet offload support in eswitch offloaded mode.

Thanks

Jianbo Liu (12):
net/mlx5e: Add function to get IPsec offload namespace net/mlx5e: Change the parameter of IPsec RX skb handle function net/mlx5e: Prepare IPsec packet offload for switchdev mode net/mlx5e: Refactor IPsec RX tables creation and destruction net/mlx5e: Support IPsec packet offload for RX in switchdev mode net/mlx5e: Handle IPsec offload for RX datapath in switchdev mode net/mlx5e: Refactor IPsec TX tables creation net/mlx5e: Support IPsec packet offload for TX in switchdev mode net/mlx5: Compare with old_dest param to modify rule destination net/mlx5e: Make IPsec offload work together with eswitch and TC net/mlx5e: Modify and restore TC rules for IPSec TX rules net/mlx5e: Add get IPsec offload stats for uplink representor

 .../net/ethernet/mellanox/mlx5/core/Makefile  |   4 +
 .../ethernet/mellanox/mlx5/core/en/rep/tc.c   |  17 +-
 .../mellanox/mlx5/core/en_accel/ipsec.c       |   2 +
 .../mellanox/mlx5/core/en_accel/ipsec.h       |  65 +-
 .../mellanox/mlx5/core/en_accel/ipsec_fs.c    | 626 ++++++++++++------
 .../mlx5/core/en_accel/ipsec_offload.c        |   3 +-
 .../mellanox/mlx5/core/en_accel/ipsec_rxtx.c  |  25 +-
 .../mellanox/mlx5/core/en_accel/ipsec_rxtx.h  |   6 +-
 .../net/ethernet/mellanox/mlx5/core/en_rep.c  |   1 +
 .../net/ethernet/mellanox/mlx5/core/en_rx.c   |   3 +-
 .../mellanox/mlx5/core/esw/ipsec_fs.c         | 325 +++++++++
 .../mellanox/mlx5/core/esw/ipsec_fs.h         |  67 ++
 .../net/ethernet/mellanox/mlx5/core/eswitch.h |  17 +
 .../mellanox/mlx5/core/eswitch_offloads.c     | 174 ++++-
 .../net/ethernet/mellanox/mlx5/core/fs_core.c |  14 +-
 include/linux/mlx5/eswitch.h                  |   3 +
 include/linux/mlx5/fs.h                       |   2 +
 17 files changed, 1141 insertions(+), 213 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.h
Signature · 1 line
2.41.0