]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Add priorities for counters in RDMA namespaces
authorAharon Landau <aharonl@nvidia.com>
Fri, 8 Oct 2021 12:24:28 +0000 (15:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2025 16:15:59 +0000 (17:15 +0100)
commitef6bb594598beed437931c99957230db46a89fbb
treed7a0dcc3384768952552d660127c0ee1a9fcbb8b
parent3cc3575223c625f9e568173f51a917f859385477
net/mlx5: Add priorities for counters in RDMA namespaces

[ Upstream commit b8dfed636fc6239396c3a2ae5f812505906cf215 ]

Add additional flow steering priorities in the RDMA namespace.
This allows adding flow counters to count filtered RDMA traffic and then
continue processing in the regular RDMA steering flow.

Signed-off-by: Aharon Landau <aharonl@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Stable-dep-of: c08d3e62b2e7 ("net/mlx5: Fix RDMA TX steering prio")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
include/linux/mlx5/device.h
include/linux/mlx5/fs.h