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
Unknown Object (File)
Mon, Oct 13, 7:18 AM
Unknown Object (File)
Sun, Oct 12, 4:53 AM
Unknown Object (File)
Thu, Oct 9, 6:45 AM
Unknown Object (File)
Sun, Sep 21, 12:37 PM
Unknown Object (File)
Sep 11 2025, 9:18 PM
Unknown Object (File)
Sep 5 2025, 11:09 PM
Unknown Object (File)
Sep 2 2025, 2:37 PM
Unknown Object (File)
Aug 29 2025, 8:14 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?