|WARNING| test: remove memif from fast tests
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Tue Nov 10 18:51:07 CET 2026
Test-Label: ai-code-review
Test-Status: WARNING
https://dpdk.org/patch/172808
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-10
# DPDK Patch Review
## ERRORS
### Error: Use of undefined test registration macro
**Line:** `REGISTER_ATTIC_TEST(memif_pmd_autotest, test_pmd_memif);`
The macro `REGISTER_ATTIC_TEST` is not a standard DPDK test registration macro. The valid macros according to DPDK test infrastructure are:
- `REGISTER_FAST_TEST`
- `REGISTER_PERF_TEST`
- `REGISTER_DRIVER_TEST`
Using an undefined macro will cause a compilation failure.
**Suggested fix:** Use a valid test registration macro. If the intent is to disable the test temporarily, either:
1. Comment out the registration line entirely, or
2. Use `REGISTER_DRIVER_TEST` (which is not run in fast CI), or
3. Conditionally compile the test out with `#if 0 ... #endif`
```c
/* Temporarily disabled due to driver races exposed in CI */
#if 0
REGISTER_FAST_TEST(memif_pmd_autotest, NOHUGE_OK, ASAN_OK, test_pmd_memif);
#endif
```
---
## WARNINGS
### Warning: Missing release notes
The patch changes test infrastructure behavior (removing a test from the fast test suite), which affects CI and developer workflows. While the change itself is in test code, the impact on what gets tested warrants a mention in release notes to inform maintainers and CI operators.
**Suggested addition:** Add a note to the current release notes file under a "Known Issues" or "Test Changes" section explaining that the memif autotest has been temporarily removed from fast tests due to race conditions in the driver.
---
## INFO
### Comment clarity
The inline comment "registering as fast test deferred until driver is fixed" is helpful, but it would be more actionable if it referenced a bug tracking number or issue, if one exists. This would help future developers know when the test can be re-enabled.
**Suggestion:** If there is a GitLab issue or bugzilla entry tracking the memif driver races, reference it in the comment:
```c
/* Deferred from fast tests until driver races are fixed (Issue #12345) */
```
---
Review-Result: ERROR
More information about the test-report
mailing list