mlxsw: spectrum: Enable FDB records for VLAN devices on top of LAG
authorIdo Schimmel <idosch@mellanox.com>
Tue, 15 Dec 2015 15:03:46 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 16:58:24 +0000 (11:58 -0500)
commit64771e31ce5a682c597bccae41f7641252b91fbe
tree2755d38f9a0ba0ba183376eadf7768f0478f077b
parentafd7f979b27b6ae263d7d5c1e81ab02b8830eb74
mlxsw: spectrum: Enable FDB records for VLAN devices on top of LAG

When adding or removing FDB records of VLAN devices on top of LAG we
should set the lag_vid parameter to the VLAN ID of the VLAN device. It
is reserved otherwise.

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_switchdev.c