summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@nvidia.com>2025-03-09 20:07:42 +0200
committerPaolo Abeni <pabeni@redhat.com>2025-03-17 18:57:17 +0100
commit82d3639ef7dc54d5b5cb454d9a13005202d7a701 (patch)
treec81c386010ad38d95773125d03251889b02b00ce /include/linux
parentcc2cc56fc6e6349ba69e37d5706ddada8936c8ff (diff)
net/mlx5: fs, add support for flow meters HWS action
Add support for HW Steering action of flow meter range. Flow meters range can use one HWS action for the whole range. Thus, share a cached HWS action among rules that use same flow meter object range. 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-3-git-send-email-tariqt@nvidia.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx5/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h
index fd62b2b1611d..939e58c2f386 100644
--- a/include/linux/mlx5/fs.h
+++ b/include/linux/mlx5/fs.h
@@ -244,6 +244,7 @@ void mlx5_destroy_flow_group(struct mlx5_flow_group *fg);
struct mlx5_exe_aso {
u32 object_id;
+ int base_id;
u8 type;
u8 return_reg_id;
union {