]> 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)
commit990e41d0ecc240d97f921d6e8b3540ffe2debece
treecd5a58604c90da44d36499fe94ccc9e24fc7fce7
parenta220a5983430d1e8fbaa5ec538b054fbe4baa836
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: 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