|SUCCESS| [v4,8/8] dts: add Rx interrupt test suite

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Nov 18 09:46:07 CET 2026


Test-Label: ai-code-review
Test-Status: SUCCESS
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-18

Patch 3/8 (net/virtio-user: fix unaligned reads of control commands)

Info: the RSS handler now copies the whole control structure, although it reads only one field, and the copy length is not checked against the descriptor.

    memcpy(&rss, virtio_user_iova2virt(dev, vring->desc[idx_data].addr), sizeof(rss));

- The old code read only `rss->max_tx_vq`. The new code reads `sizeof(struct virtio_net_ctrl_rss)` bytes from the data descriptor.
- Nothing in the patch checks `vring->desc[idx_data].len` against that size.
- The buffer comes from the virtio driver in the same process, so this is a hardening note, not a bug.
- Copying only the field avoids the larger read and still fixes the misalignment:

      uint16_t max_tx_vq;

      memcpy(&max_tx_vq, (uint8_t *)virtio_user_iova2virt(dev, vring->desc[idx_data].addr) +
             offsetof(struct virtio_net_ctrl_rss, max_tx_vq), sizeof(max_tx_vq));

Patch 2/8 (net/virtio-user: fix packet loss with un


More information about the test-report mailing list