Re: [PATCH net v4 1/4] igb: don't touch rings that don't exist when disabling an XSK pool
From: Antonio Quartulli
Date: Tue Nov 24 2026 - 18:56:23 EST
On 24/11/2026 22:38, netdev-bot+sashiko@xxxxxxxxxx wrote:
Thank you for your contribution! Sashiko AI review found 1 potential
issue(s) to consider.
Critical: 0 · High: 1 (2) · Medium: 0 · Low: 0
If you believe none of the issues are legitimate, please reply to each
issue of Medium severity or higher and explain why the AI is wrong.
If any of them are legitimate and you plan to respin, please let patchwork
know by including "pw-bot: cr" as a separate line at the end of your reply
(one such reply per series is enough).
- [High] The new `qid < adapter->num_rx_queues` guard in
igb_xsk_pool_disable() (and `qid < adapter->num_tx_queues` in…
The race with a runtime resume is real, though it predates this patch:
v5 adds a patch that resumes the device for the duration of igb_xdp(),
which also covers the same race in igb_xdp_setup().
Pre-existing issues:
- [High] igb_txrx_ring_disable() and igb_txrx_ring_enable() in
drivers/net/ethernet/intel/igb/igb_xsk.c only stop and restart…
- [High] On error, igb_xsk_pool_disable() returns early with the queue
half torn down.
The two pre-existing issues are real too (the Tx NAPI isn't stopped
when Rx and Tx don't share a vector, and a failed buffer reallocation
leaves the queue half torn down). They're independent from this series,
so I'll fix them separately. The zero-copy tests ran without queue
pairs and didn't hit the first one
Regards,
--
Antonio Quartulli
CEO and Co-Founder
Mandelbit Srl
https://www.mandelbit.com