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
Unknown Object (File)
Sat, Sep 19, 3:41 PM
Unknown Object (File)
Fri, Sep 18, 12:41 PM
Unknown Object (File)
Fri, Sep 11, 9:06 AM
Unknown Object (File)
Fri, Sep 11, 1:06 AM
Unknown Object (File)
Tue, Sep 8, 2:39 AM
Unknown Object (File)
Mon, Sep 7, 6:57 PM
Unknown Object (File)
Sat, Sep 5, 1:05 AM
Unknown Object (File)
Thu, Sep 3, 10:34 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!