Re: [PATCH iwl-next v2 0/4] igb: XDP/ZC follow up

Joe Damato
2025-02-18T22:00:44Z

On Tue, Feb 18, 2025 at 04:18:19PM -0500, Joe Damato wrote:
> On Mon, Feb 17, 2025 at 12:31:20PM +0100, Kurt Kanzenbach wrote:
> > This is a follow up for the igb XDP/ZC implementation. The first two
> > patches link the IRQs and queues to NAPI instances. This is required to
> > bring back the XDP/ZC busy polling support. The last patch removes
> > undesired IRQs (injected via igb watchdog) while busy polling with
> > napi_defer_hard_irqs and gro_flush_timeout set.
> >
> > Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
> > ---
> > Changes in v2:
> > - Take RTNL lock in PCI error handlers (Joe)
> > - Fix typo in commit message (Gerhard)
> > - Use netif_napi_add_config() (Joe)
> > - Link to v1: https://lore.kernel.org/r/20250210-igb_irq-v1-0-bde078cdb9df@linutronix.de
>
> Thanks for sending a v2.
>
> My comment from the previous series still stands, which simply that
> I have no idea if the maintainers will accept changes using this API
> or prefer to wait until Stanislav's work [1] is completed to remove
> the RTNL requirement from this API altogether.

Also, may be worth running the newly added XSK test with the NETIF
env var set to the igb device? Assuming eth0 is your igb device:

NETIF=eth0 ./tools/testing/selftests/drivers/net/queues.py

should output:

KTAP version 1
1..4
ok 1 queues.get_queues
ok 2 queues.addremove_queues
ok 3 queues.check_down
ok 4 queues.check_xdp
# Totals: pass:4 fail:0 xfail:0 xpass:0 skip:0 error:0

Note the check_xdp line above.