[PATCH net-next 0/3] mlx5: Support HWS flow meter/sampler actions in FS core
From: Tariq Toukan
Date: Sun Mar 09 2025 - 14:08:36 EST
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
--
2.45.0