selftests: test creating netdevsim inside network namespace
authorJiri Pirko <jiri@mellanox.com>
Sat, 5 Oct 2019 06:10:33 +0000 (08:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Oct 2019 23:34:15 +0000 (16:34 -0700)
commitc04d71b5b287aa7cc5ff707d23f5fb66307c11c7
tree8c274ecbd446bcc180a98dc3d0f30e7417d3aacd
parent7b60027bbc6738b067bb9ed732a8c56b0ac430b2
selftests: test creating netdevsim inside network namespace

Add a test that creates netdevsim instance inside network namespace
and verifies that the related devlink instance and port netdevices
reside in the namespace.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/netdevsim/devlink_in_netns.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/lib.sh