mirror-linux/tools/testing/selftests/drivers
Gal Pressman cf055f8c00 selftests: drv-net: fix RPS mask handling for high CPU numbers
The RPS bitmask bounds check uses ~(RPS_MAX_CPUS - 1) which equals ~15 =
0xfff0, only allowing CPUs 0-3.

Change the mask to ~((1UL << RPS_MAX_CPUS) - 1) = ~0xffff to allow CPUs
0-15.

Fixes: 5ebfb4cc30 ("selftests/net: toeplitz test")
Reviewed-by: Nimrod Oren <noren@nvidia.com>
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260112173715.384843-3-gal@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-01-13 19:13:08 -08:00
..
dma-buf selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
gpu selftests/drivers/gpu: Add error messages to drm_mm.sh 2022-06-28 13:32:29 -06:00
net selftests: drv-net: fix RPS mask handling for high CPU numbers 2026-01-13 19:13:08 -08:00
ntsync selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
platform/x86/intel/ifs selftests: ifs: verify IFS ARRAY BIST functionality 2024-07-11 11:31:11 -06:00
s390x/uvdevice selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
sdsi
usb/usbip
.gitignore