]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Bridge, provide flow source hints
authorVlad Buslov <vladbu@nvidia.com>
Tue, 12 Oct 2021 11:49:15 +0000 (14:49 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 16 Oct 2021 00:37:44 +0000 (17:37 -0700)
commit6d607bafc966f5750b7fb45f5b95cec135dd0e80
tree458fc26c860c66acd6876e719375fd30aae8c2e2
parent79bb4d14673a3acc2046b821eb05db21ca790442
net/mlx5: Bridge, provide flow source hints

Currently, SMFS mode doesn't support rx-loopback flows which causes bridge
egress rules to be rejected because without hint rules for both rx and tx
destinations are created by default. Provide explicit flow source hints for
compatibility with SMFS.

Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c