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)
Mon, Mar 3, 7:09 PM
Unknown Object (File)
Wed, Feb 26, 7:21 PM
Unknown Object (File)
Tue, Feb 25, 6:35 AM
Unknown Object (File)
Feb 14 2025, 7:59 AM
Unknown Object (File)
Feb 9 2025, 7:10 PM
Unknown Object (File)
Jan 29 2025, 7:45 PM
Unknown Object (File)
Jan 28 2025, 3:41 AM
Unknown Object (File)
Jan 25 2025, 2:22 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