Re: [PATCH] selftests/net: skip msg_zerocopy test if we have less than 4 CPUs

2020-08-05 Thread Colin Ian King
On 05/08/2020 09:44, Willem de Bruijn wrote: > On Wed, Aug 5, 2020 at 10:22 AM Colin Ian King > wrote: >> >> On 05/08/2020 09:06, Willem de Bruijn wrote: >>> On Wed, Aug 5, 2020 at 2:54 AM Eric Dumazet wrote: On 8/4/20 5:30 AM, Colin King wrote: > From: Colin Ian King >>

Re: [PATCH] selftests/net: skip msg_zerocopy test if we have less than 4 CPUs

2020-08-05 Thread Willem de Bruijn
On Wed, Aug 5, 2020 at 10:22 AM Colin Ian King wrote: > > On 05/08/2020 09:06, Willem de Bruijn wrote: > > On Wed, Aug 5, 2020 at 2:54 AM Eric Dumazet wrote: > >> > >> > >> > >> On 8/4/20 5:30 AM, Colin King wrote: > >>> From: Colin Ian King > >>> > >>> The current test will exit with a failure

Re: [PATCH] selftests/net: skip msg_zerocopy test if we have less than 4 CPUs

2020-08-05 Thread Colin Ian King
On 05/08/2020 09:06, Willem de Bruijn wrote: > On Wed, Aug 5, 2020 at 2:54 AM Eric Dumazet wrote: >> >> >> >> On 8/4/20 5:30 AM, Colin King wrote: >>> From: Colin Ian King >>> >>> The current test will exit with a failure if it cannot set affinity on >>> specific CPUs which is problematic when ru

Re: [PATCH] selftests/net: skip msg_zerocopy test if we have less than 4 CPUs

2020-08-05 Thread Willem de Bruijn
On Wed, Aug 5, 2020 at 2:54 AM Eric Dumazet wrote: > > > > On 8/4/20 5:30 AM, Colin King wrote: > > From: Colin Ian King > > > > The current test will exit with a failure if it cannot set affinity on > > specific CPUs which is problematic when running this on single CPU > > systems. Add a check f

Re: [PATCH] selftests/net: skip msg_zerocopy test if we have less than 4 CPUs

2020-08-04 Thread Eric Dumazet
On 8/4/20 5:30 AM, Colin King wrote: > From: Colin Ian King > > The current test will exit with a failure if it cannot set affinity on > specific CPUs which is problematic when running this on single CPU > systems. Add a check for the number of CPUs and skip the test if > the CPU requirement i

Re: [PATCH] selftests/net: skip msg_zerocopy test if we have less than 4 CPUs

2020-08-04 Thread David Miller
From: Colin King Date: Tue, 4 Aug 2020 13:30:12 +0100 > From: Colin Ian King > > The current test will exit with a failure if it cannot set affinity on > specific CPUs which is problematic when running this on single CPU > systems. Add a check for the number of CPUs and skip the test if > the

[PATCH] selftests/net: skip msg_zerocopy test if we have less than 4 CPUs

2020-08-04 Thread Colin King
From: Colin Ian King The current test will exit with a failure if it cannot set affinity on specific CPUs which is problematic when running this on single CPU systems. Add a check for the number of CPUs and skip the test if the CPU requirement is not met. Signed-off-by: Colin Ian King --- tool