Skip to content

net/gve: fix GQI Tx cleanup and QPL FIFO reclaim

Ryan Wolfe dpdk-dev 2 versions – Applied

Status from this message: Applied to next-net for 27.03 merge

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- 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()

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3net/gve: clear first freed slot in bulk mbuf freedrivers/net/gve/gve_tx.c+1 -00 replies
2/3net/gve: fix GQI RDA multi-seg descriptor length and cleandrivers/net/gve/gve_tx.c+6 -40 replies
3/3net/gve: fix GQI QPL jumbo Tx FIFO reclaim and doorbelldrivers/net/gve/gve_tx.c+48 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] net/gve: fix GQI Tx cleanup and QPL FIFO reclaim

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(-)