diff options
author | 2019-11-07 18:42:11 +0200 | |
---|---|---|
committer | 2019-11-07 19:51:40 -0800 | |
commit | 6b45fe95fdbed9950c58186af7940cfed67a08c7 (patch) | |
tree | ce69a162316e96bad030106e5b42db7dc56e671c /tools/perf/scripts/python | |
parent | mlxsw: Add layer 3 devlink-trap support (diff) | |
download | linux-dev-6b45fe95fdbed9950c58186af7940cfed67a08c7.tar.xz linux-dev-6b45fe95fdbed9950c58186af7940cfed67a08c7.zip |
selftests: devlink: Export functions to devlink library
l2_drops_test() is used to check that drop traps are functioning as
intended. Currently it is only used in the layer 2 test, but it is also
useful for the layer 3 test introduced in the subsequent patch.
l2_drops_cleanup() is used to clean configurations and kill mausezahn
proccess.
Export the functions to the common devlink library to allow it to be
re-used by future tests.
Signed-off-by: Amit Cohen <amitc@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions