diff options
author | Ido Schimmel <idosch@nvidia.com> | 2022-03-21 19:51:01 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-03-22 11:09:24 +0100 |
commit | 917b149ac3d5c8b3a582559b9779ee29d69fad78 (patch) | |
tree | af10270ad22c5486d538be37a24129790d255e08 /tools/perf/scripts/python/stackcollapse.py | |
parent | 4723832fa63f30c85cce3739b0497e4e193f684b (diff) |
selftests: forwarding: Disable learning before link up
Disable learning before bringing the bridge port up in order to avoid
the FDB being populated and the test failing.
Before:
# ./bridge_locked_port.sh
RTNETLINK answers: File exists
TEST: Locked port ipv4 [FAIL]
Ping worked after locking port, but before adding FDB entry
TEST: Locked port ipv6 [ OK ]
TEST: Locked port vlan [ OK ]
After:
# ./bridge_locked_port.sh
TEST: Locked port ipv4 [ OK ]
TEST: Locked port ipv6 [ OK ]
TEST: Locked port vlan [ OK ]
Fixes: b2b681a41251 ("selftests: forwarding: tests of locked port feature")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions