HomeFreeBSD

ixgbe: Fix incomplete speed coverage in link status logging

Description

ixgbe: Fix incomplete speed coverage in link status logging

Originally ixgbe_if_update_admin_status() only handled 1G and 10G speeds,
causing any other speeds to display as "1 Gbps" in link status logs.

This issue is fixed by adding link speed to string conversion logic through
the introduction of a helper function, ixgbe_link_speed_to_str(), which
corrects the misleading logs to reflect accurate link speeds.

Signed-off-by: Yogesh Bhosale yogesh.bhosale@intel.com

PR: 288960
Reported by: Mike Belanger - QNX
Differential Revision: https://reviews.freebsd.org/D52442

(cherry picked from commit 46347b3619757e3d683a87ca03efaf2ae242335f)

Details

Provenance
Yogesh.Bhosale_intel.comAuthored on Sep 9 2025, 5:01 PM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sep 12 2025, 12:39 AM
Differential Revision
D52442: ix(4): Fix incomplete speed coverage in link status logging
Parents
rG00038a02040b: leap-seconds: Update to leap-seconds.3960835200 from IERS
Branches
Unknown
Tags
Unknown