> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Simon Horman > Sent: Thursday, May 21, 2026 1:44 PM > To: Zaremba, Larysa <[email protected]> > Cc: Nguyen, Anthony L <[email protected]>; intel-wired- > [email protected]; Kitszel, Przemyslaw <[email protected]>; > Andrew Lunn <[email protected]>; David S. Miller > <[email protected]>; Eric Dumazet <[email protected]>; Jakub > Kicinski <[email protected]>; Paolo Abeni <[email protected]>; Alexei 7> Starovoitov <[email protected]>; Daniel Borkmann <[email protected]>; > Jesper Dangaard Brouer <[email protected]>; John Fastabend > <[email protected]>; Stanislav Fomichev <[email protected]>; > [email protected]; [email protected]; [email protected]; > Lobakin, Aleksander <[email protected]>; Loktionov, Aleksandr > <[email protected]> > Subject: Re: [Intel-wired-lan] [PATCH iwl-net] ixgbe: do not configure xps for > XDP queues > Importance: High > > On Mon, May 18, 2026 at 01:15:04PM +0200, Larysa Zaremba wrote: > > netif_set_xps_queue() should not be called for an XDP Tx queue, since > > such queues are not netdev-exposed. On systems with number of CPUs > > >=64, on E610 adapter, netdev is configured with maximum number queue > > pairs being 63 (due to MSI-X assignment), but configuring XDP results in 64 > XDP queues. > > > > So, during XDP program load, when netif_set_xps_queue() is called for > > the last XDP queue, we get a WARNING with a call trace and KASAN > > report afterwards (if enabled). > > > > [ 2012.699800] WARNING: net/core/dev.c:2854 at > > __netif_set_xps_queue+0x116a/0x1e40, CPU#36: xdpsock/103668 > > ... > > > > > Skip XPS configuration for XDP Tx queues. > > > > Fixes: 33fdc82f0883 ("ixgbe: add support for XDP_TX action") > > Reviewed-by: Alexander Lobakin <[email protected]> > > Reviewed-by: Aleksandr Loktionov <[email protected]> > > Signed-off-by: Larysa Zaremba <[email protected]> > > Reviewed-by: Simon Horman <[email protected]>
Tested-by: Patryk Holda <[email protected]>
