[Bug 288960] [ix] - link speed not properly logged for 100M

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288960

--- Comment #2 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=46347b3619757e3d683a87ca03efaf2ae242335f

commit 46347b3619757e3d683a87ca03efaf2ae242335f
Author:     Yogesh Bhosale <[email protected]>
AuthorDate: 2025-09-09 17:01:04 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2025-09-09 17:39:10 +0000

    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 [email protected]

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

 sys/dev/ixgbe/if_ix.c | 34 +++++++++++++++++++++++++++++++---
 1 file changed, 31 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.