]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf9d35b367b0642be4e569b28b690aaa24175a9b
tree2755d38f9a0ba0ba183376eadf7768f0478f077b
parentfd2893b99138b17aa3f2788896ca33f563f2c417
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