|SUCCESS| [v2, 8/8] net/zxdh: check msg id before indexing the seqid table
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Thu Nov 12 12:24:34 CET 2026
Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/172846
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-12
Review of series: net/zxdh VF mailbox hardening (v2 1-8)
**Patch 3/8: net/zxdh: refuse PF mailbox requests not naming a VF of this PF**
Info: A VF can flood the PF log with ERR messages, because the new rejection path logs unconditionally on input the guest controls:
```
+ PMD_DRV_LOG(ERR, "msg_type %d vport 0x%x pcieid 0x%x is not a VF of PF pcieid 0x%x",
+ msghead->msg_type, msghead->vport, msghead->pcieid, hw->pcie_id);
```
The same pattern is added in patch 1/8 (`"vlan id %d is invalid"`) and patch 8/8 (`"msg_id: %u is invalid"`).
Consider rate-limiting these messages or lowering them to DEBUG/WARNING in a follow-up. This is hardening only and does not block the series.
Review-Result: CLEAN
More information about the test-report
mailing list