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)
commit304f51584f4591789539c0d37fc359bc129a4ff0
tree0b0addbd91dc79b4a1d42b2c25691b56feae96ad
parente43aca22ed039af235acc2ee0384f943c1fbfe83
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: 8a1ab5d76639 ("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