The branch main has been updated by gallatin: URL: https://cgit.FreeBSD.org/src/commit/?id=fdca6b70aa7ebbc95b544cec6e155ea5b1041899
commit fdca6b70aa7ebbc95b544cec6e155ea5b1041899 Author: Andrew Gallatin <[email protected]> AuthorDate: 2026-06-23 16:13:40 +0000 Commit: Andrew Gallatin <[email protected]> CommitDate: 2026-06-23 17:01:26 +0000 bnxt: Report actual link speed, rather than hard-coded 100Gbs We need to report the actual link speed, rather than a hard-coded 100Gbs for a variety of reasons, but most importantly, as reporting 100Gbs on a 10g link breaks lacp when this NIC is in an LACP bundle with other vendors' NICs after e98ed8d99fd4 (lacp: Simplify lacp_compose_key()), as the fake 100g puts this nic into a different aggregation group. Sponsored by: Netflix Reviewed by: glebius Tested by: glebius --- 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 c10a66156563..abe06f6df1b5 100644 --- a/sys/dev/bnxt/bnxt_en/if_bnxt.c +++ b/sys/dev/bnxt/bnxt_en/if_bnxt.c @@ -5130,7 +5130,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 {
