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)
Dec 20 2023, 8:04 AM
Unknown Object (File)
Dec 12 2023, 9:06 PM
Unknown Object (File)
Oct 26 2023, 3:04 PM
Unknown Object (File)
Oct 15 2023, 5:52 AM
Unknown Object (File)
Oct 15 2023, 5:52 AM
Unknown Object (File)
Sep 3 2023, 5:09 AM
Unknown Object (File)
Jul 13 2023, 10:17 AM
Unknown Object (File)
Mar 26 2023, 12:23 AM

Details

Reviewers
franco_opnsense.org
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_gmail.com 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?