]> 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)
commit3a63b50404ff46d180b0af2c458d5432153caa24
tree30da3926696cb43b29d92f74d0efb88785cc3bc1
parent990e41d0ecc240d97f921d6e8b3540ffe2debece
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: 168a88530a51 ("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