netfilter: flowtable: bridge vlan hardware offload and switchdev
The switch might have already added the VLAN tag through PVID hardware offload. Keep this extra VLAN in the flowtable but skip it on egress. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
73f97025a9
commit
26267bf9bb
@@ -870,6 +870,7 @@ struct net_device_path {
|
||||
DEV_PATH_BR_VLAN_KEEP,
|
||||
DEV_PATH_BR_VLAN_TAG,
|
||||
DEV_PATH_BR_VLAN_UNTAG,
|
||||
DEV_PATH_BR_VLAN_UNTAG_HW,
|
||||
} vlan_mode;
|
||||
u16 vlan_id;
|
||||
__be16 vlan_proto;
|
||||
|
||||
Reference in New Issue
Block a user