]> 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)
commit1690ed0ccb469cf8c03a4ecd2036dff94b50e9c9
tree7917b7b55beb351a5b136b7d9632c308942f0b13
parentd29af91dd9717ca7ff67b360e00adbe326e20a07
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