diff options
| author | Ido Schimmel <[email protected]> | 2021-10-24 10:19:10 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-10-25 14:10:11 +0100 |
| commit | 535ac9a5fba51acce1cbde2257a0ef8f35d4ac70 (patch) | |
| tree | b8356c8726a07a098371bcc51fa03d3e646f7862 /tools/testing/selftests/bpf/prog_tests/perf_buffer.c | |
| parent | b8bfafe43481e0b053694227bb013150f10db3ae (diff) | |
selftests: mlxsw: Use permanent neighbours instead of reachable ones
The nexthop objects tests configure dummy reachable neighbours so that
the nexthops will have a MAC address and be programmed to the device.
Since these are dummy reachable neighbours, they can be transitioned by
the kernel to a failed state if they are around for too long. This can
happen, for example, if the "TIMEOUT" variable is configured with a too
high value.
Make the tests more robust by configuring the neighbours as permanent,
so that the tests do not depend on the configured timeout value.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_buffer.c')
0 files changed, 0 insertions, 0 deletions