]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Dump LAG FDB records only once
authorIdo Schimmel <idosch@mellanox.com>
Wed, 27 Jan 2016 14:20:24 +0000 (15:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jan 2016 23:55:31 +0000 (15:55 -0800)
commitc303e6f931cf08379e0c42bb16fbbbe1c80ebd26
tree0b0addbd91dc79b4a1d42b2c25691b56feae96ad
parent7f055645d7d1678ba39dd09b2fc6576e4a6b915e
mlxsw: spectrum: Dump LAG FDB records only once

LAG FDB records can only point to LAG devices or VLAN devices configured
on top of them. Therefore, when dumping the FDB we shouldn't associate
these records with the underlying physical ports.

Fixes: 35a6cce1f44f ("mlxsw: spectrum: Implement FDB add/remove/dump for LAG")
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