]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: fs, add support for dest flow sampler HWS action
authorMoshe Shemesh <moshe@nvidia.com>
Sun, 9 Mar 2025 18:07:43 +0000 (20:07 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 17 Mar 2025 17:57:17 +0000 (18:57 +0100)
commit32e658c84b6d63003167db2dd6863e945cadb723
treef05de7b97d444cb59ff41b16302cf2b50b518b12
parent82d3639ef7dc54d5b5cb454d9a13005202d7a701
net/mlx5: fs, add support for dest flow sampler HWS action

Add support for HW Steering action of flow sampler destination. For each
flow sampler created cache the hws action by sampler id as a key. Hold
refcount for each rule using the cached action.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/1741543663-22123-4-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h