|WARNING| [2/2] event/cnxk: advertise CN20K preschedule capabilities
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Thu Sep 10 18:03:25 CEST 2026
Test-Label: ai-code-review
Test-Status: WARNING
https://dpdk.org/patch/169414
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-09-10
# DPDK Patch Review
## Patch 1/2: eventdev: fix vector adapter power-of-2 size check
### Errors
None.
### Warnings
None.
### Info
**Good fix.** The inverted logic is clearly a bug: the code rejected power-of-2 sizes when `log2_sz` was required, and accepted non-power-of-2 sizes. The patch correctly inverts the condition to reject non-power-of-2 sizes when the adapter requires them.
---
## Patch 2/2: event/cnxk: advertise CN20K preschedule capabilities
### Errors
None.
### Warnings
**Missing release notes entry.** This patch adds new capabilities to the CN20K event device (`RTE_EVENT_DEV_CAP_EVENT_PRESCHEDULE`, `RTE_EVENT_DEV_CAP_EVENT_PRESCHEDULE_ADAPTIVE`, `RTE_EVENT_DEV_CAP_PER_PORT_PRESCHEDULE`). Although the commit message indicates this is a fix (the implementation existed but the capabilities were not advertised), from an application perspective this enables new functionality that was previously unavailable. The current release notes should document this change so users know the preschedule feature is now available on CN20K.
Suggested addition to `doc/guides/rel_notes/release_XX_YY.rst`:
```rst
* **Updated Marvell cnxk eventdev driver.**
* Added preschedule capability advertisement for CN20K devices.
```
### Info
**Code change is correct.** The patch adds the capability flags in the `info_get` callback, which is the standard mechanism for advertising device capabilities. The capabilities match the implementation added in the commit referenced in the Fixes tag.
More information about the test-report
mailing list