|SUCCESS| net/bnxt: add debug log for ulp_regfile_write failure
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Mon Nov 16 10:13:05 CET 2026
Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/172913
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-16
Info: the regfile write failure is logged but not acted on.
```
if (unlikely(ulp_regfile_write(parms->regfile, tbl->tbl_operand,
rte_cpu_to_be_64(val)))) {
BNXT_DRV_DBG(DEBUG, "Regfile[%d] write failed.\n",
tbl->tbl_operand);
}
```
- **What happens:** if the write fails, the EM insertion status is never stored in the regfile, and processing continues without an error.
- **Why it matters:** later mapper steps that read this regfile slot will see a stale value. The message is only emitted at DEBUG level, so it will usually be invisible in production.
- **Suggested fix:** if a failed write means the flow cannot be built correctly, set `rc` (for example `rc = -EINVAL`) so the existing error handling below runs. Otherwise, consider logging at ERR level so the failure is visible.
Review-Result: CLEAN
More information about the test-report
mailing list