diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-10-24 10:19:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-25 14:10:11 +0100 |
commit | 535ac9a5fba51acce1cbde2257a0ef8f35d4ac70 (patch) | |
tree | b8356c8726a07a098371bcc51fa03d3e646f7862 /tools/perf/scripts/python/export-to-sqlite.py | |
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 <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions