]> 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)
commit98b8fd8c45aec23e8227d858c1e99e04cddd31b4
tree0b0addbd91dc79b4a1d42b2c25691b56feae96ad
parent4981e5fb4dd421cdade0e4885d6c7bf0ba2612af
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: 4d92bbac946d ("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