]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Don't report VLAN for 802.1D FDB entries
authorIdo Schimmel <idosch@mellanox.com>
Wed, 27 Jan 2016 14:20:22 +0000 (15:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jan 2016 23:55:31 +0000 (15:55 -0800)
commitf1448b68ceb754cf5584937ac05c81440d26a547
tree30da3926696cb43b29d92f74d0efb88785cc3bc1
parent3a4d52a79b0158fe2235c4bb75ab3ed14bbf01b3
mlxsw: spectrum: Don't report VLAN for 802.1D FDB entries

When dumping the hardware FDB we should report entries pointing to VLAN
devices with VLAN 0, as packets coming into the bridge are untagged.
Likewise, pass FDB_{ADD,DEL} notifications with VLAN 0 for these
devices.

Fixes: a25771d8f0d8 ("mlxsw: spectrum: Adjust switchdev ops for VLAN 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_switchdev.c