|WARNING| net/gve: fix GQI QPL jumbo Tx FIFO reclaim and doorbell

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Tue Nov 17 09:48:59 CET 2026


Test-Label: ai-code-review
Test-Status: WARNING
https://dpdk.org/patch/172943

_AI Code Review_

=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-17

**Warning: TSO packets with no payload now stall the Tx queue**

In `gve_tx_burst_qpl()`, this added check stops the burst whenever `pkt_len == hlen`:

```c
if (unlikely(tx_pkt->pkt_len <= hlen))
	goto end_of_tx;
```

With the old code, a header-only TSO mbuf (`pkt_len == hlen`) passed `is_fifo_avail(txq, 0)` and was transmitted. Now it is never consumed.

Because `goto end_of_tx` returns `nb_tx` without consuming the mbuf, the application retries it on every call. Every later packet on the queue is then blocked behind it, permanently.

A malformed TSO packet should be dropped (freed and counted), not left at the head of the queue. If header-only TSO is legal for this device, use `<` instead of `<=`.

**Info: three independent fixes in one patch**

The patch bundles several unrelated fixes:
- QPL reclaim threshold and doorbell flush
- clearing the slot in `gve_free_bulk_mbuf()`
- the RA mid-burst clean
- `pkt_len` to `data_len` for the first descriptor
- removal of the `stats.errors` accounting

Splitting them would make each easier to review, bisect, and backport to stable branches individually.

**Info: missing blank line after the new function**

There is no blank line between the closing brace of the new `gve_tx_reclaim_fifo_qpl()` and the following `static inline uint64_t gve_tx_alloc_from_fifo(...)` definition.

Review-Result: WARNING


More information about the test-report mailing list