summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-02-20 08:45:12 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-26 17:12:26 +0100
commit65b53bfd497b052277f89afb3839ace38190974c (patch)
treef943275a51cdb90153ffd22aa8f73369eb9bf40a /drivers/net/dsa
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (diff)
downloadlinux-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