|WARNING| [v2] bus/vmbus: make driver interface internal

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Tue Nov 17 17:30:18 CET 2026


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

_AI Code Review_

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

**Warning: release notes do not mention the removed functions**

The new release note says:

```
+  All ``rte_vmbus_*`` functions are now internal to DPDK.
```

This is inaccurate. The patch removes several previously exported functions entirely rather than making them internal:

- `rte_vmbus_scan` (renamed to the static-scope `vmbus_scan`)
- `rte_vmbus_probe`
- `rte_vmbus_irq_mask`
- `rte_vmbus_irq_unmask`
- `rte_vmbus_irq_read`

An out-of-tree user migrating from the old header will find these symbols gone, not internal. Suggested fix: list the removed functions explicitly in the release note, for example:

```
* bus/vmbus: Made the vmbus bus API internal.
  The ``rte_bus_vmbus.h`` and ``rte_vmbus_reg.h`` headers are no longer installed;
  their contents moved to the driver only headers
  ``vmbus_api.h`` and ``vmbus_reg.h``.
  The remaining ``rte_vmbus_*`` functions are now internal to DPDK.
  The unused functions ``rte_vmbus_scan``, ``rte_vmbus_probe``,
  ``rte_vmbus_irq_mask``, ``rte_vmbus_irq_unmask`` and ``rte_vmbus_irq_read``
  were removed.
```

**Info: include ordering**

In `vmbus_bus.c`, `vmbus_uio.c`, and the other converted files, the driver-local header is now mixed into the block of `rte_*` EAL/library includes:

```
+#include <vmbus_api.h>
```

Per the include-order guideline, application/driver-specific headers belong in their own group after the DPDK library includes, next to `"private.h"`.

Review-Result: WARNING


More information about the test-report mailing list