Skip to content

mlx5: Support HWS flow meter/sampler actions in FS core

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 Latest3 patches 3 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net/mlx5: fs, add API for sharing HWS action by refcountdrivers/net/ethernet/mellanox/mlx5/core/fs_core.h drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h +1 more+81 -421 replyApplied
2/3net/mlx5: fs, add support for flow meters HWS actiondrivers/net/ethernet/mellanox/mlx5/core/en/tc/meter.c drivers/net/ethernet/mellanox/mlx5/core/en/tc/meter.h drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c +3 more+135 -101 replyApplied
3/3net/mlx5: fs, add support for dest flow sampler HWS actiondrivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h+56 -01 replyApplied

Reviews trailers per patch

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

PatchMark BlochJacob Keller
1/3R-b R-b
2/3R-b R-b
3/3R-b R-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/3] mlx5: Support HWS flow meter/sampler actions in FS core

Hi,

This series by Moshe adds support for flow meter and flow sampler HW Steering actions in FS core level. As these actions can be shared by multiple rules, these patches use refcounts to manage the HWS actions sharing in FS core level.

Regards,
Tariq

Moshe Shemesh (3):
net/mlx5: fs, add API for sharing HWS action by refcount net/mlx5: fs, add support for flow meters HWS action net/mlx5: fs, add support for dest flow sampler HWS action

 .../ethernet/mellanox/mlx5/core/en/tc/meter.c |   5 +
 .../ethernet/mellanox/mlx5/core/en/tc/meter.h |  13 +
 .../mellanox/mlx5/core/eswitch_offloads.c     |   1 +
 .../net/ethernet/mellanox/mlx5/core/fs_core.h |   8 +-
 .../mellanox/mlx5/core/steering/hws/fs_hws.c  | 231 +++++++++++++++++-
 .../mellanox/mlx5/core/steering/hws/fs_hws.h  |  24 ++
 .../mlx5/core/steering/hws/fs_hws_pools.c     |  41 +---
 include/linux/mlx5/fs.h                       |   1 +
 8 files changed, 272 insertions(+), 52 deletions(-)

base-commit: 8ef890df4031121a94407c84659125cbccd3fdbe

Signature · 1 line
2.45.0