|SUCCESS| [v2, 3/3] app/test: add unit tests for nic_uio BDF parsing fns

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Nov 11 00:19:43 CET 2026


Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/172812

_AI Code Review_

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

**Patch 3/3 (app/test: add unit tests for nic_uio BDF parsing fns)**

Info: the end-of-list check in `nic_uio_probe()` and `nic_uio_load()` is now done twice.
The loops keep `while (remaining != NULL && remaining[0] != '\0')`, but `pci_bdf_parse_next()` makes the same check and returns 0.
That means the added `if (status == 0) break;` can never be taken inside the loop.
Either drop the outer condition and rely on the return value, as `test_kmod_pci_bdf_list()` does with `while (1)`, or drop the `status == 0` branch.

Info: release-note candidate for the series.
The FreeBSD output of `dpdk-devbind.py` changes from `pci0:152:0:1` to `0000:98:00.1`, and `hw.nic_uio.bdfs` parsing changes.
Previously `,` and `:` were treated as equivalent separators.
Now only `,` separates entries, so a list such as `2:0:0:2:0:1` that used to bind two devices is rejected.
Both are user-visible behaviour changes that scripts may depend on, so a short note in the current release notes would help users notice them.

Review-Result: CLEAN


More information about the test-report mailing list