mlxsw: spectrum: Add support for VLAN devices on top of LAG
authorIdo Schimmel <idosch@mellanox.com>
Tue, 15 Dec 2015 15:03:47 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 16:58:24 +0000 (11:58 -0500)
commit272c447017df1bbd68e46efad8178c3e449b03ed
tree3acfc20a34a0fd5e4d0c021c5c8f5f4a2a090680
parent64771e31ce5a682c597bccae41f7641252b91fbe
mlxsw: spectrum: Add support for VLAN devices on top of LAG

When creating a VLAN device on top of LAG, we are basically creating a
vPort on top of each of the port netdevs member in the LAG. Therefore,
these vPorts should inherit both the LAG status and LAG ID from the
underlying port netdevs.

In addition, when the VLAN device joins or leaves a bridge each of the
underlying vPorts should know about it and act accordingly. This is
achieved by propagating the VLAN event down to the lower devices.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
This page took 0.025233 seconds and 5 git commands to generate.