> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Piotr Kwapulinski > Sent: Friday, February 21, 2025 9:19 PM > To: [email protected] > Cc: [email protected]; [email protected]; [email protected]; > Kwapulinski, Piotr <[email protected]>; Kitszel, Przemyslaw > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-net v3] ixgbe: fix media type detection > for E610 device > > The commit 23c0e5a16bcc ("ixgbe: Add link management support for E610 > device") introduced incorrect media type detection for E610 device. It > reproduces when advertised speed is modified after driver reload. Clear the > previous outdated PHY type high value. > > Reproduction steps: > modprobe ixgbe > ethtool -s eth0 advertise 0x1000000000000 modprobe -r ixgbe modprobe > ixgbe ethtool -s eth0 advertise 0x1000000000000 Result before the fix: > netlink error: link settings update failed netlink error: Invalid argument > Result > after the fix: > No output error > > Fixes: 23c0e5a16bcc ("ixgbe: Add link management support for E610 device") > Reviewed-by: Przemek Kitszel <[email protected]> > Reviewed-by: Paul Menzel <[email protected]> > Signed-off-by: Piotr Kwapulinski <[email protected]> > --- > v1 -> v2 > More commit message details and reproduction steps added > v2 -> v3 > More details in reproduction steps added > --- > drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >
Tested-by: Bharath R <[email protected]>
