Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Help patching driver BCM57810S

    Scheduled Pinned Locked Moved Development
    patch broadcom
    16 Posts 5 Posters 2.4k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      petesmc
      last edited by

      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)

      1 Reply Last reply Reply Quote 0
      • RicoR Offline
        Rico LAYER 8 Rebel Alliance
        last edited by Rico

        Here you go: if_bxe.zip
        Copy the extracted file to /boot/kernel/
        Then

        chmod 555 /boot/kernel/if_bxe.ko
        echo 'if_bxe_load="YES"' >> /boot/loader.conf.local
        

        Reboot pfSense.

        -Rico

        1 Reply Last reply Reply Quote 1
        • RicoR Offline
          Rico LAYER 8 Rebel Alliance
          last edited by

          Seriously no feedback or anything?

          -Rico

          P 1 Reply Last reply Reply Quote 0
          • kiokomanK Offline
            kiokoman LAYER 8
            last edited by

            signing up 06/27, 16:27
            Last Access 06/28 2019, 20:10
            your answer 06/29

            my bet is he didn't even saw your post 😂

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            1 Reply Last reply Reply Quote 0
            • P Offline
              petesmc @Rico
              last edited by

              @Rico

              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!

              1 Reply Last reply Reply Quote 0
              • stephenw10S Offline
                stephenw10 Netgate Administrator
                last edited by

                Hmm, so successfully links at 2.5Gbps? That's fun. ☺

                Steve

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  petesmc @stephenw10
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 1
                  • U Offline
                    UmutER
                    last edited by

                    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?

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S Offline
                      stephenw10 Netgate Administrator
                      last edited by

                      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.

                      U 1 Reply Last reply Reply Quote 0
                      • U Offline
                        UmutER @stephenw10
                        last edited by

                        @stephenw10 Will it work if I install it on ESXi? Should I add it as a PCI device or as Dynamic PCI?

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S Offline
                          stephenw10 Netgate Administrator
                          last edited by

                          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.

                          U 1 Reply Last reply Reply Quote 0
                          • U Offline
                            UmutER @stephenw10
                            last edited by

                            @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?

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S Offline
                              stephenw10 Netgate Administrator
                              last edited by

                              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

                              U 1 Reply Last reply Reply Quote 0
                              • U Offline
                                UmutER @stephenw10
                                last edited by UmutER

                                @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. ♥

                                1 Reply Last reply Reply Quote 1
                                • stephenw10S Offline
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  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.

                                  U 1 Reply Last reply Reply Quote 0
                                  • U Offline
                                    UmutER @stephenw10
                                    last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post
                                    Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.