Page MenuHomeFreeBSD

if_bnxt: Fix media speed update issue in "ifconfig -m" during PHY hot plug
ClosedPublic

Authored by chandrakanth.patil_broadcom.com on Dec 7 2023, 12:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 21, 4:57 AM
Unknown Object (File)
Wed, Jul 8, 10:41 PM
Unknown Object (File)
Mon, Jul 6, 2:58 AM
Unknown Object (File)
Sun, Jul 5, 4:07 PM
Unknown Object (File)
Sat, Jul 4, 10:03 PM
Unknown Object (File)
Sat, Jun 27, 10:37 AM
Unknown Object (File)
Wed, Jun 24, 2:37 AM
Unknown Object (File)
Jun 22 2026, 3:06 AM
Subscribers
None

Details

Summary

Currently, if a media type (e.g., DAC) is hot-plugged out and another type
(e.g., optical cable) is hot-plugged in, the new speed is not reflected in
ifconfig. This occurs when the driver fails to update speeds with unchanged
tx and rx flow control.

To fix, a phy_type check ensures update of phy speeds upon detecting the new
phy.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped