Enabling VLAN on 10G card causes reboot

Started by cwesterfield, July 12, 2021, 04:45:39 PM

Previous topic - Next topic
July 12, 2021, 04:45:39 PM Last Edit: July 12, 2021, 05:08:32 PM by cwesterfield
I have a Supermicro box (OPNsense 21.1.8_1) with an HP branded 10G card.
I used the boot flag if_oce_load="YES" to get the box to see the two interfaces.

When there are no VLANS running through the 10G, it works great. If I add one, it starts a reboot cycle.

Does that mean the card is incapable of vlans, has bad firmware, or maybe some other thing I don't know about?


Output of pciconf -lveV
oce0@pci0:4:0:0:        class=0x020000 card=0x1747103c chip=0x070019a2 rev=0x02 hdr=0x00
    vendor     = 'Emulex Corporation'
    device     = 'OneConnect OCe10100/OCe10102 Series 10 GbE'
    class      = network
    subclass   = ethernet
  PCI-e errors = Correctable Error Detected
                 Unsupported Request Detected
     Corrected = Advisory Non-Fatal Error
oce1@pci0:4:0:1:        class=0x020000 card=0x1747103c chip=0x070019a2 rev=0x02 hdr=0x00
    vendor     = 'Emulex Corporation'
    device     = 'OneConnect OCe10100/OCe10102 Series 10 GbE'
    class      = network
    subclass   = ethernet
  PCI-e errors = Correctable Error Detected
                 Unsupported Request Detected
     Corrected = Advisory Non-Fatal Error


$ sysctl -a | grep oce | grep ion
net.inet.ip.process_options: 1
dev.oce.1.firmware_version: 4.9.416.2
dev.oce.1.component_revision: ///11.0.50.0///
dev.oce.1.%location: slot=0 function=1 dbsf=pci0:4:0:1
dev.oce.1.%desc: Emulex CNA NIC function:///11.0.50.0///
dev.oce.0.firmware_version: 4.9.416.2
dev.oce.0.component_revision: ///11.0.50.0///
dev.oce.0.%location: slot=0 function=0 dbsf=pci0:4:0:0
dev.oce.0.%desc: Emulex CNA NIC function:///11.0.50.0///


I don't have any experience with this particular card, but have you tried changing the hardware offloading settings? They are in Interfaces -> Settings. Hardware offloading is known to generate erratic behavior in cards with mediocre drivers. Not this saying this the case here, but it wouldn't hurt to try out.
In theory there is no difference between theory and practice. In practice there is.