Re: [PATCH net-next v3 6/7] selftests: net: Add busy_poll_test

2024-11-01 Thread Joe Damato
On Fri, Nov 01, 2024 at 06:34:26AM -0700, Jakub Kicinski wrote: > On Fri, 1 Nov 2024 00:48:33 + Joe Damato wrote: > > + ip netns exec nscl nc -N 192.168.1.1 48675 < $tmp_file > > Thanks a lot for adding the test. Thanks for the review. > Could you replace nc with socat or > a similar tool

Re: [PATCH net-next v3 6/7] selftests: net: Add busy_poll_test

2024-11-01 Thread Jakub Kicinski
On Fri, 1 Nov 2024 00:48:33 + Joe Damato wrote: > + ip netns exec nscl nc -N 192.168.1.1 48675 < $tmp_file Thanks a lot for adding the test. Could you replace nc with socat or a similar tool? There are multiple incompatible implementations of netcat packaged by various distros, we get: #

[PATCH net-next v3 6/7] selftests: net: Add busy_poll_test

2024-10-31 Thread Joe Damato
Add an epoll busy poll test using netdevsim. This test is comprised of: - busy_poller (via busy_poller.c) - busy_poll_test.sh which loads netdevsim, sets up network namespaces, and runs busy_poller to receive data and netcat to send data. The selftest tests two different scenarios: - bu