summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorGal Pressman <gal@nvidia.com>2026-01-12 19:37:15 +0200
committerJakub Kicinski <kuba@kernel.org>2026-01-13 19:13:08 -0800
commitcf055f8c000445aa688c53a706ef4f580818eedb (patch)
treee311f1b05f3f805f67b7e30b643ce5ece1ea22fe /tools/perf/scripts/python/git@git.tavy.me:linux.git
parent9d48c62f6b4ed70ebeea70f52ddb1c6d8613bed4 (diff)
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: 5ebfb4cc3048 ("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>
Diffstat (limited to 'tools/perf/scripts/python/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions