Help patching driver BCM57810S
-
I'm attempting to perform this patch (https://www.dslreports.com/forum/r32230853-) but i'm struggling to get a dev environment up. Would anyone be so kind as to perform this patch for me on 2.4.4-RELEASE-p1 (amd64)
-
Here you go: if_bxe.zip
Copy the extracted file to /boot/kernel/
Thenchmod 555 /boot/kernel/if_bxe.ko echo 'if_bxe_load="YES"' >> /boot/loader.conf.localReboot pfSense.
-Rico
-
Seriously no feedback or anything?
-Rico
-
signing up 06/27, 16:27
Last Access 06/28 2019, 20:10
your answer 06/29my bet is he didn't even saw your post

-
Whoops sorry to reply. Thanks for doing this. In the end I didn’t actually use your patch as I realised this would probably defeat my purpose for using pfSense (security). You could theoretically put anything in there.
So, I learnt how to do this myself.For those who want to do it, the original patch diff didn’t work for me so I manually edited the file on the correct lines. you need to install a freebsd dev environment, not pfsense (that took a while to figure out). Can do all of it in a VM in windows and then just delete the vm after. Use the right VM image for the hyper visor you are using.
The book/kernel part that Rico mentioned for some reason didn’t work the first time but another reboot fixed that. Can check in dmesg that it is loaded.
Thanks again Rico!
-
Hmm, so successfully links at 2.5Gbps? That's fun.

Steve
-
@stephenw10 yup but no single source can provide that, and even if I create 2 connections (e.g download from steam and Battle.net at same time) which are independently capable of around 90MB/s, I can’t push much further than 140MB/s. Load on cpu is minimal, so feel like somewhere downstream at the ISP is restricting the bandwidth.
-
Hello everyone. I apologize for reviving an old thread, but I'm looking for up-to-date information. Is there a current driver patch available for the Broadcom BCM57810S to work with the Huawei MA5671A (GPON SFP) on the latest version of pfSense? Is anyone currently using this setup successfully on the newest release, or is there a specific patch I should follow?
-
It should no longer be required. Support is now in the driver: https://github.com/pfsense/FreeBSD-src/commit/1222560f07264e3beda9bdd2f7116b6dc6f0d204
That's in 2.8.1 and 26.03.
-
@stephenw10 Will it work if I install it on ESXi? Should I add it as a PCI device or as Dynamic PCI?
-
If the NIC is passed through so pfSense sees the actual hardware it should. I don't use ESXi though so I can't comment on any specific configuration.
-
@stephenw10 I have recently performed a bare-metal installation of pfSense 2.8.1 (without ESXi). Although my NIC is installed and recognized, the 2.5G link speeds are not being detected. Even though I have previously configured the necessary settings (such as Force 2500) via ediag, the ifconfig -m output still only shows 10G support.
Here are the sample outputs from my system:
[2.8.1-RELEASE][admin@pfSense.home.arpa]/root: ifconfig -m bxe0 bxe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO> capabilities=527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO> ether 00:0a:f7:06:9f:c0 media: Ethernet autoselect (none) status: no carrier supported media: media autoselect media 10Gbase-SR mediaopt full-duplex nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> [2.8.1-RELEASE][admin@pfSense.home.arpa]/root: ifconfig -m bxe1 bxe1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO> capabilities=527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO> ether 00:0a:f7:06:9f:c2 media: Ethernet autoselect (none) status: no carrier supported media: media autoselect media 10Gbase-SR mediaopt full-duplex nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>As seen in the outputs, only 10Gbase-SR is listed under supported media. Is there any additional configuration or driver patch required on the pfSense/FreeBSD side to enable 2.5G synchronization for this card?
-
Hmm, I don't expect it to be. The inserted SFP+ module has to support it though.
I don't have that device to test but AFAIK it was tested as working: https://redmine.pfsense.org/issues/16321
-
@stephenw10 Yes, it is working; it just doesn't display 2500M in the ifconfig output or the pfSense web interface. I have established a connection now: https://www.speedtest.net/result/19106634035.png. Thank you for your help.

-
Ah, that may simply be a limitation in ifconfig then. That result looks like it's more than 1G so I assume it must be at 2.5G. Be nice to see closer to that though.
-
@stephenw10 Considering the current packages offered by internet service providers in Türkiye, download speeds of up to 1000 Mbps and upload speeds of 50 Mbps are typically provided at the consumer level. While standard modem and ONT devices supplied by ISPs generally yield practical speeds of 900 Mbps download and 45 Mbps upload, I am currently reaching average speeds between 1000-1100 Mbps for downloads and 50-60 Mbps for uploads on my connection.