]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8fdf61252913294f5d2ffd76cdb5d3e93cebf1c
tree8c274ecbd446bcc180a98dc3d0f30e7417d3aacd
parentf28d3848b45d35b62420d4412223acd39df1800f
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