|WARNING| app/test: lpm6 perf autotest fix lpm delete total time
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Wed Aug 19 04:47:02 CEST 2026
Test-Label: ai-code-review
Test-Status: WARNING
https://dpdk.org/patch/167974
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-08-19
# DPDK Patch Review
## Patch Summary
This patch fixes a statistics accumulation bug in the LPM6 performance test where delete operation timing was being accumulated instead of reset.
---
## ERRORS
None.
---
## WARNINGS
### Missing Release Notes
**Issue:** Bug fix changes test behavior (timing measurement) but does not update release notes.
**Why it matters:** Test behavior changes should be documented so users understand timing results are now correct.
**Suggested fix:** Add entry to `doc/guides/rel_notes/release_25_03.rst` (or current release) under "Fixed Issues" or "Tests":
```rst
* **Fixed LPM6 delete performance measurement.**
The LPM6 performance test was accumulating delete timing with previous
insert/lookup times instead of measuring delete operations independently.
Delete timing is now measured correctly.
```
---
## INFO
### Correctness of the Fix
The change from `+=` to `=` is correct. The test measures three independent operations:
1. Route insertion (first `total_time`)
2. Route lookup (second `total_time`)
3. Route deletion (third `total_time`)
Each should report its own timing. The bug caused delete timing to include insert+lookup time, producing incorrect results. The fix correctly resets `total_time` for the delete measurement phase.
### .mailmap Update
The .mailmap entry associating two email addresses for the same contributor is correct and follows standard practice.
---
## SUMMARY
**Severity:** Warning (missing release notes)
**Recommendation:** Accept with release notes addition.
The core fix is correct - it changes a statistics accumulation error (`+=`) to a proper reset (`=`) for the delete timing measurement. The patch only affects test code, so it does not require API documentation or driver changes. The missing release notes should be added to document the test behavior fix.
More information about the test-report
mailing list