opnsense-src/sys/dev/ixgbe
Yogesh Bhosale a870283afd 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)
2025-10-07 12:10:04 +02:00
..
if_bypass.c ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
if_fdir.c ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
if_ix.c ixgbe: Fix incomplete speed coverage in link status logging 2025-10-07 12:10:04 +02:00
if_ixv.c ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
if_sriov.c ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
ix_txrx.c ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
ixgbe.h ixgbe: Style pass on FreeBSD part of driver 2024-11-26 17:28:08 -07:00
ixgbe_82598.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_82598.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_82599.c ixgbe: Add support for 1000BASE-BX SFP modules 2025-02-15 17:25:04 -07:00
ixgbe_82599.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_api.c ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-28 02:22:15 -07:00
ixgbe_api.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-28 02:22:15 -07:00
ixgbe_bypass.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_common.c ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-28 02:22:15 -07:00
ixgbe_common.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-28 02:22:15 -07:00
ixgbe_dcb.c ixgbe: improve function comments 2024-09-26 20:32:39 -07:00
ixgbe_dcb.h ixgbe: increase DCB BW calculation for MTU 2024-09-26 20:32:25 -07:00
ixgbe_dcb_82598.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_dcb_82598.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_dcb_82599.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_dcb_82599.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_fdir.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_features.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-28 02:22:15 -07:00
ixgbe_mbx.c ixgbe: fix mailbox ack handling 2025-04-04 20:43:39 -07:00
ixgbe_mbx.h ixgbe: update ixgbe_mbx with ix-3.3.38 changes 2024-09-28 02:22:01 -07:00
ixgbe_osdep.c ixgbe: Add ixgbe_dev_from_hw() back 2025-02-13 18:24:31 -07:00
ixgbe_osdep.h ixgbe: Add ixgbe_dev_from_hw() back 2025-02-13 18:24:31 -07:00
ixgbe_phy.c ixgbe: workaround to prevent an i2c bus read to keep trying to read an empty slot 2025-07-09 10:05:47 +02:00
ixgbe_phy.h ixgbe: Add support for 1000BASE-BX SFP modules 2025-02-15 17:25:04 -07:00
ixgbe_rss.h ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes 2024-09-28 02:22:15 -07:00
ixgbe_sriov.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_type.h ixgbe: workaround to prevent an i2c bus read to keep trying to read an empty slot 2025-07-09 10:05:47 +02:00
ixgbe_vf.c ixgbe: introduce new mailbox API 2024-09-26 20:32:06 -07:00
ixgbe_vf.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_x540.c ixgbe: introduce new mailbox API 2024-09-26 20:32:06 -07:00
ixgbe_x540.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ixgbe_x550.c ixgbe: x550 support for 1000BASE-BX SFP modules 2025-02-17 20:02:49 -07:00
ixgbe_x550.h ixgbe: remove unused function prototypes 2024-09-26 20:34:51 -07:00