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
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D52442

Details

Provenance
Yogesh.Bhosale_intel.comAuthored on Sep 9 2025, 5:01 PM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sep 9 2025, 5:39 PM
Differential Revision
D52442: ix(4): Fix incomplete speed coverage in link status logging
Parents
rG101a35e84da3: efi: translate errno to EFI status on exit
Branches
Unknown
Tags
Unknown