[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <willemdebruijn.kernel.e28b1e33bbf@gmail.com>
Date: Sun, 11 Jan 2026 22:29:37 -0500
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Gal Pressman <gal@...dia.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
netdev@...r.kernel.org
Cc: Shuah Khan <shuah@...nel.org>,
Willem de Bruijn <willemb@...gle.com>,
Petr Machata <petrm@...dia.com>,
Coco Li <lixiaoyan@...gle.com>,
linux-kselftest@...r.kernel.org,
Gal Pressman <gal@...dia.com>,
Nimrod Oren <noren@...dia.com>
Subject: Re: [PATCH net-next 2/2] selftests: drv-net: fix RPS mask handling
for high CPU numbers
Gal Pressman wrote:
> 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@...dia.com>
> Signed-off-by: Gal Pressman <gal@...dia.com>
Should go to net instead of net-next?
Reviewed-by: Willem de Bruijn <willemb@...gle.com>
Powered by blists - more mailing lists