mlxsw: spectrum_span: Support VLAN under mirror-to-gretap
authorPetr Machata <petrm@mellanox.com>
Thu, 10 May 2018 10:13:06 +0000 (13:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 21:50:52 +0000 (17:50 -0400)
commit03c44132393e821fb4fbd75b9c9798f13c46eca6
treed425ca50445cbd7ad6cf0e0ce288ec048dd98484
parente00698d1d7957669002a39c039423921d8694033
mlxsw: spectrum_span: Support VLAN under mirror-to-gretap

When mirroring to a gretap or ip6gretap device, allow the underlay
packet path to include VLAN devices. The following configurations are
supported in underlay:

- vlan over phys
- vlan-unaware bridge where the egress device is vlan over phys
- vlan over vlan-aware bridge where the egress device is phys

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c