git: 806f0b4b8a9a - stable/15 - bnxt: Report actual link speed, rather than hard-coded 100Gbs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Jul 2026 01:43:09 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=806f0b4b8a9a03cd47d13ecb9d6aebcc70ebe70d
commit 806f0b4b8a9a03cd47d13ecb9d6aebcc70ebe70d
Author: Andrew Gallatin <gallatin@FreeBSD.org>
AuthorDate: 2026-06-23 16:13:40 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-06 01:36:00 +0000
bnxt: Report actual link speed, rather than hard-coded 100Gbs
(cherry picked from commit fdca6b70aa7ebbc95b544cec6e155ea5b1041899)
---
sys/dev/bnxt/bnxt_en/if_bnxt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/bnxt/bnxt_en/if_bnxt.c b/sys/dev/bnxt/bnxt_en/if_bnxt.c
index dea6fd68181e..9988088b3178 100644
--- a/sys/dev/bnxt/bnxt_en/if_bnxt.c
+++ b/sys/dev/bnxt/bnxt_en/if_bnxt.c
@@ -4852,7 +4852,7 @@ bnxt_report_link(struct bnxt_softc *softc)
}
iflib_link_state_change(softc->ctx, LINK_STATE_UP,
- IF_Gbps(100));
+ bnxt_get_baudrate(&softc->link_info));
device_printf(softc->dev, "Link is UP %s %s, %s - %d Mbps \n", duplex, signal_mode,
flow_ctrl, (link_info->link_speed * 100));
} else {