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)
commit004f85ea8258a2ffecdeecd154bdbe08409c13a4
tree30da3926696cb43b29d92f74d0efb88785cc3bc1
parent45827d780aab533a777f965798018118b373cc0b
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: 54a732018d8e ("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