|WARNING| [v2] bus/vmbus: make driver interface internal
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Tue Nov 17 17:00:54 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 release note says:
```
+ All ``rte_vmbus_*`` functions are now internal to DPDK.
```
That is not accurate for this patch. Five previously exported stable symbols are deleted outright rather than made internal:
```
-RTE_EXPORT_SYMBOL(rte_vmbus_scan)
-RTE_EXPORT_SYMBOL(rte_vmbus_probe)
-RTE_EXPORT_SYMBOL(rte_vmbus_irq_mask)
-RTE_EXPORT_SYMBOL(rte_vmbus_irq_unmask)
-RTE_EXPORT_SYMBOL(rte_vmbus_irq_read)
```
An application that used these gets a link failure, not an "internal API" warning. The documentation should match what the code does.
Suggested fix: list the removed functions explicitly in the release note. Removing stable exported symbols is also an ABI change, so add a matching entry under the "ABI Changes" section of `release_26_11.rst`. For example:
```
* bus/vmbus: Removed unused functions ``rte_vmbus_scan``, ``rte_vmbus_probe``,
``rte_vmbus_irq_mask``, ``rte_vmbus_irq_unmask`` and ``rte_vmbus_irq_read``.
The remaining ``rte_vmbus_*`` functions are now internal to DPDK.
```
**Info: pre-existing Doxygen parameter name mismatch (not introduced by this patch)**
In `vmbus_api.h`, the comment for `rte_vmbus_chan_dump` documents a parameter that does not exist:
```
* @param channel
* Pointer to vmbus_channel structure.
*/
void rte_vmbus_chan_dump(FILE *f, const struct vmbus_channel *chan);
```
The parameter is named `chan`, not `channel`, and `f` is not documented at all. This could be fixed in a follow-up patch.
Review-Result: WARNING
More information about the test-report
mailing list