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, Sep 16, 1:20 AM
Unknown Object (File)
Sun, Sep 8, 12:39 PM
Unknown Object (File)
Thu, Sep 5, 9:15 PM
Unknown Object (File)
Sat, Aug 31, 2:25 AM
Unknown Object (File)
Fri, Aug 30, 6:02 PM
Unknown Object (File)
Aug 13 2024, 7:13 AM
Unknown Object (File)
Jul 30 2024, 4:42 PM
Unknown Object (File)
Jul 29 2024, 9:48 PM
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

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