Skip to content

net/mlx5e: Support RSS for IPSec offload

Tariq Toukan linux-rdma lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net/mlx5: Change TTC rules to match on undecrypted ESP packetsdrivers/net/ethernet/mellanox/mlx5/core/en/fs.h drivers/net/ethernet/mellanox/mlx5/core/en_fs.c drivers/net/ethernet/mellanox/mlx5/core/en_rep.c +2 more+109 -150 repliesApplied
2/4net/mlx5e: Recirculate decrypted packets into TTC tabledrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c+23 -50 repliesApplied
3/4net/mlx5e: Add flow groups for the packets decrypted by crypto offloaddrivers/net/ethernet/mellanox/mlx5/core/en/fs.h drivers/net/ethernet/mellanox/mlx5/core/en_fs.c drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +2 more+85 -60 repliesApplied
4/4net/mlx5e: Add flow rules for the decrypted ESP packetsdrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.h+241 -170 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDragos Tatulea
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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 0/4] net/mlx5e: Support RSS for IPSec offload

Hi,

The series by Jianbo uses a new firmware feature to identify the inner protocol of decrypted packets, adding new flow groups and steering rules to redirect them for proper L4-based RSS. This ensures traffic is spread across multiple CPU cores.

Regards,
Tariq

Jianbo Liu (4):
net/mlx5: Change TTC rules to match on undecrypted ESP packets net/mlx5e: Recirculate decrypted packets into TTC table net/mlx5e: Add flow groups for the packets decrypted by crypto offload net/mlx5e: Add flow rules for the decrypted ESP packets

 .../net/ethernet/mellanox/mlx5/core/en/fs.h   |   5 +-
 .../mellanox/mlx5/core/en_accel/ipsec_fs.c    |  40 +-
 .../net/ethernet/mellanox/mlx5/core/en_fs.c   |  21 +-
 .../net/ethernet/mellanox/mlx5/core/en_rep.c  |   2 +-
 .../net/ethernet/mellanox/mlx5/core/en_tc.c   |   3 +
 .../ethernet/mellanox/mlx5/core/lib/fs_ttc.c  | 395 ++++++++++++++++--
 .../ethernet/mellanox/mlx5/core/lib/fs_ttc.h  |  19 +
 .../mellanox/mlx5/core/lib/ipsec_fs_roce.c    |   4 +
 8 files changed, 452 insertions(+), 37 deletions(-)

base-commit: 152ba35c04ade1a164c774d6fccbf8e8cf4652cf

Signature · 1 line
2.31.1