Page MenuHomeFreeBSD

bnxt: don't set media status if link is down
ClosedPublic

Authored by anaelle.cazuc_stormshield.eu on Jan 7 2026, 9:43 AM.
Tags
None
Referenced Files
F151215344: D54573.id170503.diff
Mon, Apr 6, 9:53 PM
Unknown Object (File)
Sun, Mar 22, 9:52 AM
Unknown Object (File)
Thu, Mar 19, 9:37 AM
Unknown Object (File)
Fri, Mar 13, 7:25 PM
Unknown Object (File)
Fri, Mar 13, 6:20 PM
Unknown Object (File)
Thu, Mar 12, 11:36 PM
Unknown Object (File)
Mar 7 2026, 11:11 AM
Unknown Object (File)
Jan 19 2026, 11:15 PM

Details

Summary

When the link is down we shouldn't set flags other than IFM_AVALID & IFM_ETHER
This avoids media: Ethernet autoselect (Unknown <full-duplex>) on ifconfig

Sponsored-by: Stormshield

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zlei added a subscriber: zlei.

Looks good to me.

This revision is now accepted and ready to land.Jan 26 2026, 1:39 PM
pouria added subscribers: glebius, pouria.

@glebius Can I commit it with a 1-week MFC?

@glebius Can I commit it with a 1-week MFC?

Yes, approved. Thanks!