OPNsense Forum

English Forums => Hardware and Performance => Topic started by: dmalmas on July 03, 2017, 01:17:01 pm

Title: driver HPE FlexFabric 10Gb 4-port 536FLR-T
Post by: dmalmas on July 03, 2017, 01:17:01 pm
Hi all!

I have OPNsense 17.1.8 (amd64/OpenSSL) running in a HP DL360 G9 still in DEV environment. We're testing a HPE FlexFabric 10Gb 4-port 536FLR-T. The hardware is recognized but it seems that FreeBSD doesn't have a suitable driver for it (below an output from a "pciconf -lv" in shell):

none145@pci0:4:0:0:     class=0x020000 card=0x00ec1590 chip=0x16a11077 rev=0x11 hdr=0x00
    vendor     = 'QLogic Corp.'
    class      = network
    subclass   = ethernet
none146@pci0:4:0:1:     class=0x020000 card=0x00ec1590 chip=0x16a11077 rev=0x11 hdr=0x00
    vendor     = 'QLogic Corp.'
    class      = network
    subclass   = ethernet
none147@pci0:4:0:2:     class=0x020000 card=0x00ec1590 chip=0x16a11077 rev=0x11 hdr=0x00
    vendor     = 'QLogic Corp.'
    class      = network
    subclass   = ethernet
none148@pci0:4:0:3:     class=0x020000 card=0x00ec1590 chip=0x16a11077 rev=0x11 hdr=0x00
    vendor     = 'QLogic Corp.'
    class      = network
    subclass   = ethernet

The following information's in dmesg:

pci7: <ACPI PCI bus> numa-domain 0 on pcib7
pci7: <network, ethernet> at device 0.0 (no driver attached)
pci7: <network, ethernet> at device 0.1 (no driver attached)
pci7: <network, ethernet> at device 0.2 (no driver attached)
pci7: <network, ethernet> at device 0.3 (no driver attached)


According to 'https://www.freebsd.org/cgi/man.cgi?query=bxe&sektion=4&manpath=freebsd-release-ports' and the information below from HPE's site, we're trying to use the if_bxe driver but with no results...

«««The HPE FlexFabric 10Gb 4-port 536FLR-T Adapter is a 4-port 10GBASE-T adapter, featuring the 57840S 10 Gb Ethernet controller from Qlogic in a PCIe 3.0 compliant form factor designed for HPE ProLiant Gen9 rack servers.»»»

I've tried to contact FreeBSD regarding this but the suggestion they gave was to patch the driver's device table and recompile the kernel which may work in a plain FreeBSD but I can't see how to do that in OPNsense...

Help?...

Best regards,
David
Title: Re: driver HPE FlexFabric 10Gb 4-port 536FLR-T
Post by: bartjsmit on July 03, 2017, 06:48:26 pm
You can install OPNsense on an existing FreeBSD (with patched kernel) https://forum.opnsense.org/index.php?topic=4472

Bart...