aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMoshe Shemesh <[email protected]>2025-03-09 18:07:41 +0000
committerPaolo Abeni <[email protected]>2025-03-17 17:57:17 +0000
commitcc2cc56fc6e6349ba69e37d5706ddada8936c8ff (patch)
tree38b49f36aa54191f2b711500ec6bbd2a9f4291e1 /net/switchdev/switchdev.c
parentMerge branch 'tcp-accecn' (diff)
downloadkernel-cc2cc56fc6e6349ba69e37d5706ddada8936c8ff.tar.gz
kernel-cc2cc56fc6e6349ba69e37d5706ddada8936c8ff.zip
net/mlx5: fs, add API for sharing HWS action by refcount
Counters HWS actions are shared using refcount, to create action on demand by flow steering rule and destroy only when no rules are using the action. The method is extensible to other HWS action types, such as flow meter and sampler actions, in the downstream patches. Add an API to facilitate the reuse of get/put logic for HWS actions shared by refcount. Signed-off-by: Moshe Shemesh <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions