Enable firmware-configured 2.5Gbps operation on Warpcore SFI and BCM8727-family PHYs, accept SC connector modules, and preserve a requested 2.5G speed when a GPON module identifies itself as a 1G SFP. Add an opt-in TX-fault mask indexed by hardware path and port for BCM578xx SFI ports. Report media using the active PHY, current speed, duplex, and pause state. Cache SFP compliance bytes to identify optics, invalidate the cache when modules or port ownership change, and use existing backplane media types. Recognize 10G ER during module classification. Handle SIOCGIFXMEDIA and update the interface baud rate on link changes. Correct the supported-capability mask for 1G SFPs and advertise only the auto media setting accepted by the driver. Document the NVRAM prerequisites, the TX-fault mask's scope, and the hardware-dependent support beyond the reported BCM57810 configuration. Based on the community patch originating in 2018: https://www.dslreports.com/forum/r32230853- Co-authored-by: Kevin Bowling <kbowling@FreeBSD.org> Differential Revision: https://reviews.freebsd.org/D36508
Details
Details
- Reviewers
- None
- Group Reviewers
network
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
| sys/dev/bxe/bxe.c | ||
|---|---|---|
| 13812 | bxe_mask_tx_fault > 1? | |
| sys/dev/bxe/bxe.c | ||
|---|---|---|
| 13812 | •0 (default) tx fault detection | |
| sys/dev/bxe/bxe_elink.c | ||
| 10178 | I cannot understand this bitmask conditions. It looks to me that you are enforcing 1G capability to be enabled in cap_mask even for 2_5G. Why? | |