diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2016-01-27 15:20:20 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:00 +0200 |
| commit | 4d1809cb8877a843ac4b83936450048a714e5802 (patch) | |
| tree | 4d2248511439a0cdcba504b4ff1d3f04eca8d62e /tools/perf/scripts/python/bin | |
| parent | 2b4ff0796f291ef4dae7df42d0e24c37e0fdb3c5 (diff) | |
mlxsw: spectrum: Disable learning according to STP state
commit 454911333b1d86e1d58a557be271bc6b7e9e7f10 upstream.
When port is put into LISTENING state it shouldn't populate the FDB, so
set the port's STP state in hardware to DISCARDING instead of LEARNING.
It will therefore keep listening to BPDU packets, but discard other
non-control packets and won't perform any learning.
Fixes: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
