]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Notify bridge's FDB only based on learning_sync
authorIdo Schimmel <idosch@mellanox.com>
Wed, 27 Jan 2016 14:20:21 +0000 (15:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jan 2016 23:55:31 +0000 (15:55 -0800)
commit3a4d52a79b0158fe2235c4bb75ab3ed14bbf01b3
treecd5a58604c90da44d36499fe94ccc9e24fc7fce7
parent5de6aa76cba0bc662c49711cb264519e4f9b1bec
mlxsw: spectrum: Notify bridge's FDB only based on learning_sync

When we disable learning on bridge port we should still update the
software bridge's FDB when entry pointing to this bridge port is
aged-out. We can otherwise have an inconsistency between software and
hardware tables.

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