diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-02-20 08:45:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-26 17:12:26 +0100 |
commit | 65b53bfd497b052277f89afb3839ace38190974c (patch) | |
tree | f943275a51cdb90153ffd22aa8f73369eb9bf40a /drivers/net/dsa | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (diff) | |
download | linux-65b53bfd497b052277f89afb3839ace38190974c.tar.xz linux-65b53bfd497b052277f89afb3839ace38190974c.zip |
mlxsw: spectrum_switchdev: Allow port enslavement to a VLAN-unaware bridge
Up until now we only allowed VLAN devices to be put in a VLAN-unaware
bridge, but some users need the ability to enslave physical ports as
well.
This is achieved by mapping the port and VID 1 to the bridge's vFID,
instead of the port and the VID used by the VLAN device.
The above is valid because as long as the port is not enslaved to a
bridge, VID 1 is guaranteed to be configured as PVID and egress
untagged.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Tested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions