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)
Wed, Jul 9, 8:43 AM
Unknown Object (File)
Wed, Jul 9, 8:10 AM
Unknown Object (File)
Tue, Jul 8, 7:37 PM
Unknown Object (File)
Fri, Jul 4, 7:29 PM
Unknown Object (File)
Tue, Jul 1, 9:41 AM
Unknown Object (File)
Tue, Jul 1, 12:49 AM
Unknown Object (File)
Mon, Jun 30, 3:39 AM
Unknown Object (File)
Mon, Jun 30, 2:52 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

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