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

From: David Miller
Date: Tue Aug 04 2020 - 19:06:43 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Tue, 4 Aug 2020 13:30:12 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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 <colin.king@xxxxxxxxxxxxx>

Willem, please review.