On Fri, Nov 13, 2026 at 02:17:26PM +0530, Rajesh Kumar wrote:
> eth_igc_link_update() unconditionally programs TIPG.IPGT to 0x0b
> (15-byte inter-packet gap) whenever the link comes up at 2.5 Gb/s.
>
> This is a workaround for an I225 erratum: when two I225 controllers are
> connected back-to-back at 2.5 Gb/s, the receiving MAC can drop packets
> that arrive with an inter-packet gap smaller than 8 bytes. Widening the
> transmit IPG from the 12-byte default to 15 bytes keeps the link partner
> above that threshold. The wider gap costs roughly 0.2% of transmit rate
> with small frames.
>
> The erratum is specific to early I225 steppings. Applying the workaround
> to every 2.5G-capable device also penalises I226 and later I225
> steppings, which do not need it, for no benefit.
>
> Gate the workaround on the I225 device IDs and on revision_id below the
> first fixed stepping, and restore the default gap at other speeds.
>
> Fixes: 4f09bc55ac3d ("net/igc: implement device base operations")
> Cc: [email protected]
>
> Signed-off-by: Rajesh Kumar <[email protected]>
> ---
> drivers/net/intel/e1000/igc_ethdev.c | 39 +++++++++++++++++++++++++---
> 1 file changed, 36 insertions(+), 3 deletions(-)
>
Code looks generally ok to me, but AI review highlights that revision_id
does not seem to be set for i225 devices so we can't check on it. I
verified using a grep of the e1000 code directory, and revision_id is
indeed only set in e1000_init_mac_params_ich8lan() function, which is not
part of i225 initialization.
/Bruce