Re: [PATCH net 2/2] bnxt_en: Pad short SW USO segments to BNXT_MIN_PKT_SIZE

From: Jakub Kicinski

Date: Fri Oct 16 2026 - 19:44:46 EST


On Fri, 9 Oct 2026 12:45:14 -0700 Joe Damato wrote:
> I could be wrong (and if so I am happy to drop this if statement from the
> code), but IIUC generic XDP runs from __netif_receive_skb_core() after
> software GRO, so the packet it sees can be a GRO'd UDP packet with
> SKB_GSO_UDP_L4 set (because maybe the socket had UDP_GRO set?).

FWIW indeed, generic XDP may see GRO'd packets today, but that's a hole
that should be plugged. Real XDP can't deal with super-frames neither
should the SW mistake^w I mean emulation. I started sending some patches
a couple of weeks ago to plug up the holes but got bogged down in the
bonding interactions :/