Re: [PATCH net-next v8 5/6] selftests: net: Add busy_poll_test

2024-11-08 Thread Joe Damato
On Fri, Nov 08, 2024 at 12:47:16PM -0500, Willem de Bruijn wrote: > Joe Damato wrote: > > On Fri, Nov 08, 2024 at 09:57:48AM -0500, Willem de Bruijn wrote: > > > Joe Damato wrote: [...] > > > > > > Nice test. > > > > > > Busy polling does not affect data integrity. Is the goal of this test > >

Re: [PATCH net-next v8 5/6] selftests: net: Add busy_poll_test

2024-11-08 Thread Joe Damato
On Fri, Nov 08, 2024 at 09:57:48AM -0500, Willem de Bruijn wrote: > Joe Damato wrote: [...] > > diff --git a/tools/testing/selftests/net/busy_poller.c > > b/tools/testing/selftests/net/busy_poller.c > > new file mode 100644 > > index ..8d8aa9e5939a > > --- /dev/null > > +++ b/tools/t

Re: [PATCH net-next v8 5/6] selftests: net: Add busy_poll_test

2024-11-08 Thread Joe Damato
On Fri, Nov 08, 2024 at 12:47:16PM -0500, Willem de Bruijn wrote: > Joe Damato wrote: > > On Fri, Nov 08, 2024 at 09:57:48AM -0500, Willem de Bruijn wrote: > > > Joe Damato wrote: > > > > Add an epoll busy poll test using netdevsim. > > > > > > > > This test is comprised of: > > > > - busy_polle

Re: [PATCH net-next v8 5/6] selftests: net: Add busy_poll_test

2024-11-08 Thread Willem de Bruijn
Joe Damato wrote: > On Fri, Nov 08, 2024 at 09:57:48AM -0500, Willem de Bruijn wrote: > > Joe Damato wrote: > > > 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

Re: [PATCH net-next v8 5/6] selftests: net: Add busy_poll_test

2024-11-08 Thread Joe Damato
On Fri, Nov 08, 2024 at 09:57:48AM -0500, Willem de Bruijn wrote: > Joe Damato wrote: > > 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

Re: [PATCH net-next v8 5/6] selftests: net: Add busy_poll_test

2024-11-08 Thread Willem de Bruijn
Joe Damato wrote: > 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 socat to send data. > > The selftest test

[PATCH net-next v8 5/6] selftests: net: Add busy_poll_test

2024-11-07 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 socat to send data. The selftest tests two different scenarios: - bus