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
F168374030: D54573.diff
Thu, Aug 27, 8:30 PM
F168346951: D54573.diff
Thu, Aug 27, 5:29 PM
F168237442: D54573.id169232.diff
Thu, Aug 27, 2:48 AM
Unknown Object (File)
Tue, Aug 25, 5:27 PM
Unknown Object (File)
Sun, Aug 23, 6:47 PM
Unknown Object (File)
Sun, Aug 23, 5:23 PM
Unknown Object (File)
Fri, Aug 21, 10:38 PM
Unknown Object (File)
Wed, Aug 19, 2:18 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!