Re: [PATCH net-next 1/2] net: ti: icssg-prueth: Add multi-flow RX support with per-flow NAPI

From: Simon Horman

Date: Wed Nov 25 2026 - 07:12:10 EST


On Sun, Nov 22, 2026 at 07:01:04PM +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> Thank you for your contribution! Sashiko AI review found 19 potential
> issue(s) to consider.
>
> Critical: 2 · High: 1 · Medium: 12 · Low: 4
>
> 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).
>
> - [Critical] SR1 data RX path is out of bounds.
> - [Critical] SR1 management-channel buffers get invalid DMA addresses.
> - [High] On a running interface, a failed XSK enable/disable leaves the
> flow half torn down, and the next ndo_stop then hangs or the driver…
> - [Medium] Multi-flow RX does not work on AM65x SR2 ('ti,am654-icssg-
> prueth'), which uses NAVSS UDMA rather than PKTDMA, but the driver…
> - [Medium] SR1 management-channel teardown is incomplete compared with
> before the patch.
> - [Medium] Misplaced error label in SR1 emac_ndo_open().
> - [Medium] An AF_XDP pool bound while the interface is down silently
> stops working after ndo_open.
> - [Medium] All flows share one desc_pool, and the XSK runtime refill
> budget comes from the pool-wide free count, which other CPUs change…
> - [Medium] The SR1 data-flow page pool is never destroyed.
> - [Medium] SR1 now gets an RX coalescing hrtimer but never cancels it.
> - [Medium] prueth_xsk_pool_disable() can return an uninitialised value.
> - [Medium] On a running interface, XSK enable/disable now reconfigures a
> single flow while the shared UDMA RX channel stays enabled.
> - [Medium] Racy irq_disabled handling in prueth_destroy_rxq() and the
> prueth_create_rxq() error path.
> - [Medium] RX drop and error counters can lose updates now that RX runs
> in several NAPIs at once.
> - [Medium] A coalesce setting is not applied to RX flows added later.
> - [Low] The ethtool channel range does not match what SR1 implements.
> - [Low] In the SR1 mgm flow setup in emac_ndo_open(), the IRQ check is
> wrong for the signed field.
> - [Low] Leftover field and mixed-in cleanups.
> - [Low] net: ti: icssg: missing skb_record_rx_queue() in RX packet paths

This is quite a list of issues. And I would appreciate if you could
respond to them as requested above. For patch 1/2, the four that look most
likely to require a respin are:

- [Critical] SR1 data RX path is out of bounds.
- [Critical] SR1 management-channel buffers get invalid DMA addresses.
- [High] On a running interface, a failed XSK enable/disable leaves the
flow half torn down, and the next ndo_stop then hangs or the driver...
- [Medium] Multi-flow RX does not work on AM65x SR2 ('ti,am654-icssg-
prueth'), which uses NAVSS UDMA rather than PKTDMA, but the driver...

Patch 2/2 likely needs attention as well, but I have not reviewed it.

--
pw-bot: changes-requested