|WARNING| [v4,8/8] dts: add Rx interrupt test suite
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Thu Nov 19 03:23:43 CET 2026
Test-Label: ai-code-review
Test-Status: WARNING
https://dpdk.org/patch/173025
_AI Code Review_
warning: review has no Review-Result line, severity inferred from prose (response may be truncated)
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-19
**Patch 2/8: net/virtio-user: fix packet loss with unused queue pairs**
Warning: a failed TAP detach leaves the queue pair marked enabled after its backend was already removed.
```c
if (vhost_kernel_set_backend(vhostfd, -1) < 0) {
...
}
if (pair_idx > 0 && vhost_tap_set_queue(tapfd, false) < 0)
return -1;
dev->qp_enabled[pair_idx] = false;
```
If `TUNSETQUEUE` fails here, the vhost backend is already unset but `qp_enabled[pair_idx]` stays `true`. The `qp_enabled` check at the top of the function then skips any later enable of this pair. The pair stays without a backend while the driver thinks it is active.
Suggested fix: keep `qp_enabled` consistent with the backend state. For example, clear `qp_enabled[pair_idx]` once the backend is unset and only log the detach failure. Alternatively, restore the backend before returning the error.
**Patch 6/8: app/testpmd: add Rx queue interrupts option**
Info: `fc->rx_wakeups` is written by the forwarding lcore and read by the main lcore with plain accesses.
```c
fc->rx_wakeups++;
...
rx_wakeups += fwd_lcores[lc_id]->rx_wakeups;
```
More information about the test-report
mailing list