mbox series

[net-next,0/3] mlx5: Support HWS flow meter/sampler actions in FS core

Message ID 1741543663-22123-1-git-send-email-tariqt@nvidia.com (mailing list archive)
Headers show
Series mlx5: Support HWS flow meter/sampler actions in FS core | expand

Message

Tariq Toukan March 9, 2025, 6:07 p.m. UTC
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