aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2016-01-27 15:20:20 +0100
committerDavid S. Miller <[email protected]>2016-01-28 15:55:31 -0800
commit454911333b1d86e1d58a557be271bc6b7e9e7f10 (patch)
tree08e802b95c9055aaa44c85f30f45f538ab6a9830 /tools/perf/util/scripting-engines/trace-event-python.c
parent9cb026ebb8ab76829a8d8e4bbd057168ac38fb86 (diff)
mlxsw: spectrum: Disable learning according to STP state
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 <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions