]> git.dujemihanovic.xyz Git - linux.git/commit
net/mlx5: Bridge, pop VLAN on egress table miss
authorVlad Buslov <vladbu@nvidia.com>
Wed, 8 Sep 2021 15:22:12 +0000 (18:22 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 5 Oct 2021 01:10:56 +0000 (18:10 -0700)
commit575baa92fd463cb202447fe14770532cae55715a
tree7917b7b55beb351a5b136b7d9632c308942f0b13
parent5249001d69a223811ad654884c6115d55158fd51
net/mlx5: Bridge, pop VLAN on egress table miss

Create lowest priority flow group in egress table with single rule that
matches on special reg_c1 value that is set on ingress VLAN push with
single action that pops VLAN. The flow destination is skip table that is
used to skip any further processing of packet in FDB bridge priority.

Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c