]> git.ipfire.org Git - thirdparty/linux.git/commit
net/mlx5: HWS, Export rule skip logic
authorVlad Dogaru <vdogaru@nvidia.com>
Thu, 3 Jul 2025 18:54:24 +0000 (21:54 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Jul 2025 02:12:16 +0000 (19:12 -0700)
commitd8e7ab591b506b56dc96021674938d0c7905e656
tree7c50514feac4c77303909fc1a402cb9420c7540a
parent26b06579d50d5f0462c45b63291b90ea85664237
net/mlx5: HWS, Export rule skip logic

The bwc layer will use `mlx5hws_rule_skip` to keep track of numbers of
RX and TX rules individually, so export this function for future usage.

Signed-off-by: Vlad Dogaru <vdogaru@nvidia.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250703185431.445571-4-mbloch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/rule.c
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/rule.h