]> git.baikalelectronics.ru Git - kernel.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)
commit5b62fe52097210f3a8bb7905e01b671211fc766f
tree7917b7b55beb351a5b136b7d9632c308942f0b13
parent8b18af729a9fd943e73601ec77c4c60b4708d731
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