OSDN Git Service

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)
commit17ac528d886841a0b183f4d4a0205176eccfd158
tree458fc26c860c66acd6876e719375fd30aae8c2e2
parent32def4120e4876b5367ad58eb3a641bf6915979b
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