Thread (14 messages) 14 messages, 2 authors, 2024-12-19

Re: [PATCH net-next v6 11/11] selftests: net: Add test cases for link and peer netns

From: Xiao Liang <hidden>
Date: 2024-12-19 05:54:43
Also in: batman, bpf, bridge, linux-can, linux-kselftest, linux-rdma, linux-wireless, lkml

On Thu, Dec 19, 2024 at 7:38 AM Jakub Kicinski [off-list ref] wrote:
On Wed, 18 Dec 2024 21:09:09 +0800 Xiao Liang wrote:
quoted
 - Add test for creating link in another netns when a link of the same
   name and ifindex exists in current netns.
 - Add test to verify that link is created in target netns directly -
   no link new/del events should be generated in link netns or current
   netns.
 - Add test cases to verify that link-netns is set as expected for
   various drivers and combination of namespace-related parameters.
Nice work!

You need to make sure all the drivers the test is using are enabled by
the selftest kernel config: tools/testing/selftests/net/config

This may be helpful:
https://github.com/linux-netdev/nipa/wiki/How-to-run-netdev-selftests-CI-style#how-to-build
Thanks for pointing it out. And vng is really cool. I will add
the missing config in the next version.
--
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help