selftests: forwarding: Add devlink_lib.sh
authorPetr Machata <petrm@mellanox.com>
Sat, 30 Jun 2018 00:47:08 +0000 (02:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 13:06:15 +0000 (22:06 +0900)
commitbc7cbb1e9f4ccb147fefb7502ab8acdcd52b9a29
tree817b78a7f2540b816b785b7ab1fc4bf8bbe54a05
parent68d9cea594b5da185e5b048e9b4fa0dadeafe88a
selftests: forwarding: Add devlink_lib.sh

This helper library contains wrappers to devlink functionality agnostic
to the underlying device.

Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
[petrm@mellanox.com: Split this out from another patch.]
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/devlink_lib.sh [new file with mode: 0644]