[PATCH v2 0/3] net/gve: fix GQI Tx cleanup and QPL FIFO reclaim
Ryan Wolfe
rnwolfe at google.com
Tue Nov 17 15:11:41 CET 2026
This series fixes three independent bugs in the GQI Tx paths of net/gve:
- 1/3 clears the first freed sw_ring entry in gve_free_bulk_mbuf() so
completed or refcounted segments do not leave stale mbuf pointers that
are freed a second time on queue stop or release.
- 2/3 fixes GQI_RDA multi-segment non-TSO packet descriptors to pass
data_len instead of pkt_len for the head segment, reclaims completed
descriptors when nb_free runs low mid-burst, and stops counting normal
ring-full backpressure as stats.errors.
- 3/3 fixes GQI_QPL jumbo Tx FIFO reclaim, TSO pre-allocation space
checks, malformed TSO mbuf handling, and doorbell flushing.
v2:
- split v1 into three atomic Fixes patches for stable backporting
- free and count malformed TSO mbufs (pkt_len <= hlen) in
gve_tx_burst_qpl() while tracking nb_sent separately from nb_tx so an
invalid TSO request cannot stall the queue at tx_pkts[0]
- use for (;;) and add the missing blank line after
gve_tx_reclaim_fifo_qpl()
Ryan Wolfe (3):
net/gve: clear first freed slot in bulk mbuf free
net/gve: fix GQI RDA multi-seg descriptor length and clean
net/gve: fix GQI QPL jumbo Tx FIFO reclaim and doorbell
drivers/net/gve/gve_tx.c | 78 ++++++++++++++++++++++++++++------------
1 file changed, 55 insertions(+), 23 deletions(-)
More information about the dev
mailing list