]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5e: CT: Filter legacy rules that are unrelated to nic
authorPaul Blakey <paulb@nvidia.com>
Wed, 19 Mar 2025 14:03:02 +0000 (16:03 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Mar 2025 14:29:47 +0000 (07:29 -0700)
commit0fe234769ea6ca0e03516867b550348f6fe9db47
tree56d53160e672101c17eea5ed198f0a9f88b59ac2
parent91e7398e0603a8b9b028cd53ce3170c8ceef54f0
net/mlx5e: CT: Filter legacy rules that are unrelated to nic

In nic mode CT setup where we do hairpin between the two
nics, both nics register to the same flow table (per zone),
and try to offload all rules on it.

Instead, filter the rules that originated from the relevant nic
(so only one side is offloaded for each nic).

Signed-off-by: Paul Blakey <paulb@nvidia.com>
Reviewed-by: Jianbo Liu <jianbol@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1742392983-153050-5-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c