commit | 8e46aee69722054e85ae4b6029d0aed678016950 | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Thu Mar 28 12:12:23 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 28 17:20:52 2019 -0700 |
tree | a4b2f99291df0be14f2590abc807f10a9f375936 | |
parent | 2cca8751af36d5f84eaa05d63632afa25a523b69 [diff] |
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>