selftests: net: forwarding: change devlink resource support checking
authorJiri Pirko <jiri@mellanox.com>
Mon, 28 Jan 2019 12:02:12 +0000 (12:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2019 18:43:15 +0000 (10:43 -0800)
commit6f64bcb62f3399fb77792f35d9bfa55dcebd9e43
tree8cb4a5e2c2306896ef3c1e493eb4223d1466a90e
parent39c6b53cc01fec4c7addd3e841fea5125639c0fd
selftests: net: forwarding: change devlink resource support checking

As for the others, check help message output to find out if devlink
supports "resource" object.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/devlink_lib.sh