Re: [PATCH net v4] bnxt_en: Bound SW TPA IDs to prevent crashes

From: Joe Damato

Date: Tue Sep 01 2026 - 14:44:22 EST


On Sat, Aug 29, 2026 at 12:20:26AM -0700, Michael Chan wrote:
> On Fri, Aug 28, 2026 at 12:09 PM Joe Damato <joe@xxxxxxx> wrote:
> > v4:
> > - Moved bp->max_tpa_roundup_size init out of the early return path and
> > documented that TPA is unsupported there, as suggested by Michael.
> >
> Thanks.
> Reviewed-by: Michael Chan <michael.chan@xxxxxxxxxxxx>

idk what you wanna do modulo paolo's comment on this thread.

i have a v5 locally that expands this to 5 patches which should address most
of what sashiko is upset about:

bnxt_en: Bound SW TPA IDs to prevent crashes
bnxt_en: Handle buffer allocation failure in bnxt_rx_ring_reset()
bnxt_en: Propagate TPA buffer allocation failures in bnxt_queue_mem_alloc()
bnxt_en: Don't free the live ring's TPA state on queue restart failure
bnxt_en: Only restore LRO if the device supports TPA

but ofc, who knows what other stuff sashiko is gonna find if i submit this and
how much furhter we'll push out fixing the original crash.

lmk if you wanna stick with the v4 you reviewed as-is (and i'll send the other
4 patches as a series) or if you'd rather i submit the above 5 as the v5 and
get them all in at once ?