]> 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)
commitcb59f6fadf9fe7c5945971823804771e7f14c50d
tree458fc26c860c66acd6876e719375fd30aae8c2e2
parente0dee6b5656083b505cd876406ef5f2e8a969674
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