diff options
author | Moshe Shemesh <moshe@nvidia.com> | 2024-12-19 19:58:33 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-23 10:34:45 -0800 |
commit | 95f68e06b41b9e88291796efa3969409d13fdd4c (patch) | |
tree | 8d3869d6fb9fc48965d268c53acfb6173a2c38b5 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 60d01cc468fdb0fbd6b878d66ef86f7e946b0669 (diff) |
net/mlx5: fs, add counter object to flow destination
Currently mlx5_flow_destination includes counter_id which is assigned in
case we use flow counter on the flow steering rule. However, counter_id
is not enough data in case of using HW Steering. Thus, have mlx5_fc
object as part of mlx5_flow_destination instead of counter_id and assign
it where needed.
In case counter_id is received from user space, create a local counter
object to represent it.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241219175841.1094544-4-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions