diff options
author | 2019-03-28 12:12:23 +0000 | |
---|---|---|
committer | 2019-03-28 17:20:52 -0700 | |
commit | 8e46aee69722054e85ae4b6029d0aed678016950 (patch) | |
tree | a4b2f99291df0be14f2590abc807f10a9f375936 /tools/perf/scripts/python | |
parent | selftests: forwarding: devlink_lib: Avoid double sourcing of lib.sh (diff) | |
download | wireguard-linux-8e46aee69722054e85ae4b6029d0aed678016950.tar.xz wireguard-linux-8e46aee69722054e85ae4b6029d0aed678016950.zip |
selftests: forwarding: devlink_lib: Simplify deduction of DEVLINK_DEV
Use devlink -j and jq for more accurate querying. Use cut -f-2 instead
of rev-cut-rev combo.
Signed-off-by: Petr Machata <petrm@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