Bypassing the HH3K up to 2.5Gbps using a BCM57810S NIC

Due to the widespread use of the ONU stick, which typically employs a 2.5G interface, I am hoping to add the 2.5G driver for the 57810 network card. I have found some relevant information and would like to package the 2.5G driver within the bnx2x driver to make it more convenient for us to use, rather than having to compile the files from scratch for every version. I hope to receive everyone's support in this endeavor.

2 Likes

The driver is already exposed in the OpenWrt buildroot:

$ git grep -i Package\/bnx2x
package/firmware/linux-firmware/broadcom.mk:Package/bnx2x-firmware = $(call Package/firmware-default,=QLogic 5771x/578xx firmware)
package/firmware/linux-firmware/broadcom.mk:define Package/bnx2x-firmware/install
package/kernel/linux/modules/netdevices.mk:define KernelPackage/bnx2x
package/kernel/linux/modules/netdevices.mk:define KernelPackage/bnx2x/description

The driver is compiled by default even, see the kmod list for 22.03. You can use the image generator to have it included in your image.

Does not seem to support 2.5g, only supports 10g and 1g

1 Like

OK. So you need to make sure that patch for 2,5G applies more or less cleanly, then recompile. For something that requires patching, there's no other solution unfortunately.

1 Like

Hello, I've been looking for days.

I believe that when ready it works on the 57840?
Because I put a GPON stick that negotiates in 2.5gb, but because of that it is limited to 1gb.

root@OpenWrt:~# ethtool eth4
Settings for eth4:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Full
                                10000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: Other
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000000 (0)

        Link detected: yes