Page MenuHomeFreeBSD

bxe: Add 2.5G SGMII support (SFP GPON ONT)
Needs ReviewPublic

Authored by olivier on Sep 9 2022, 3:14 PM.
Tags
None
Referenced Files
F162625812: D36508.diff
Wed, Jul 15, 5:40 AM
F162625811: D36508.diff
Wed, Jul 15, 5:40 AM
Unknown Object (File)
Sat, Jul 11, 2:48 PM
Unknown Object (File)
Mon, Jun 29, 8:16 PM
Unknown Object (File)
Tue, Jun 23, 5:58 AM
Unknown Object (File)
Wed, Jun 17, 9:48 AM
Unknown Object (File)
Wed, Jun 17, 2:34 AM
Unknown Object (File)
Jun 13 2026, 10:08 PM

Details

Reviewers
None
Group Reviewers
network
Summary

This is an old well-known patch (from 2018) originating from here:
https://www.dslreports.com/forum/r32230041-Internet-Bypassing-the-HH3K-up-to-2-5Gbps-using-a-BCM57810S-NIC

So this patch was adapted to the current head from the patch posted here:
https://www.dslreports.com/forum/r32230853-

It allows to reach 2.5Gbps with GPON SFP on QLogic NetXtreme II BCM57810.

This patch is used by lot of pfSense/OPNSense and FreeBSD user on their home router.
This will ease life of all home fiber users.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

olivier created this revision.
jlduran added inline comments.
sys/dev/bxe/bxe.c
13812

bxe_mask_tx_fault > 1?

luca.piccirillo_gmail.com added inline comments.
sys/dev/bxe/bxe.c
13812

•0 (default) tx fault detection
•1 disable tx fault detection on port 1
•2 disable tx fault detection on port 2
•3 disable tx fault detection on ports 1 and 2

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?