|SUCCESS| [v2] net/axgbe: retry transient SFP I2C read failures
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Fri Nov 20 12:10:51 CET 2026
Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/173056
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-20
**Info**
1. The `sfp_i2c_settled` flag is set once and never cleared.
- The only write the patch adds is `phy_data->sfp_i2c_settled = 1;`. Nothing resets it when the SFP module changes (`sfp_changed` / `sfp_mod_absent`).
- Consequence: after a hot-swap, the newly inserted module's first access gets no extended `-ENOTCONN`/`-ETIMEDOUT` retry. That is the same "settling device" case the patch is meant to handle.
- If that case matters, clear the flag where a module change is detected.
2. The `static inline` on `axgbe_i2c_retryable()` is unnecessary in a `.c` file. Plain `static` lets the compiler decide.
Review-Result: CLEAN
More information about the test-report
mailing list