Comment 1 for bug 1559408

Revision history for this message
Thiago Martins (martinx) wrote :

So,

 I managed to include all NICs under the same IOMMU Group, like this:

---
dpdk_nic_bind --status

Network devices using DPDK-compatible driver
============================================
0000:01:00.0 'NetXtreme II BCM57800 1/10 Gigabit Ethernet' drv=vfio-pci unused=bnx2x
0000:01:00.1 'NetXtreme II BCM57800 1/10 Gigabit Ethernet' drv=vfio-pci unused=bnx2x
0000:01:00.2 'NetXtreme II BCM57800 1/10 Gigabit Ethernet' drv=vfio-pci unused=bnx2x
0000:01:00.3 'NetXtreme II BCM57800 1/10 Gigabit Ethernet' drv=vfio-pci unused=bnx2x

Network devices using kernel driver
===================================
<none>

Other network devices
=====================
<none>
---

 However, now, OVS+DPDK doesn't complain anymore about the "VFIO group is not viable", but, I'm seeing now the very same error when with "uio_pci_generic", no firmware:

--
ovs-vswitchd[3007]: EAL: TSC frequency is ~2299998 KHz
ovs-ctl[2975]: EAL: Master lcore 0 is ready (tid=f8604b00;cpuset=[0])
ovs-ctl[2975]: EAL: PCI device 0000:01:00.0 on NUMA socket 0
ovs-ctl[2975]: EAL: probe driver: 14e4:168a rte_bnx2x_pmd
ovs-vswitchd[3007]: EAL: Master lcore 0 is ready (tid=f8604b00;cpuset=[0])
ovs-vswitchd[3007]: EAL: PCI device 0000:01:00.0 on NUMA socket 0
ovs-vswitchd[3007]: EAL: probe driver: 14e4:168a rte_bnx2x_pmd
ovs-ctl[2975]: EAL: PCI memory mapped at 0x7f3840000000
ovs-ctl[2975]: EAL: PCI memory mapped at 0x7f3840800000
ovs-ctl[2975]: EAL: Trying to map BAR 4 that contains the MSI-X table. Trying offsets: 0x40000000000:0x0000, 0x1000:0xf000
ovs-ctl[2975]: EAL: PCI memory mapped at 0x7f3841001000
ovs-ctl[2975]: ovs-vswitchd: /home/ubuntu/sources/dpdk/dpdk-2.2.0/drivers/net/bnx2x/bnx2x_ethdev.c:453: bnx2x_common_dev_init: Assertion `sc->firmware' failed.
ovs-vswitchd[3007]: EAL: PCI memory mapped at 0x7f3840000000
ovs-vswitchd[3007]: EAL: PCI memory mapped at 0x7f3840800000
ovs-vswitchd[3007]: EAL: Trying to map BAR 4 that contains the MSI-X table. Trying offsets: 0x40000000000:0x0000, 0x1000:0xf000
ovs-vswitchd[3007]: EAL: PCI memory mapped at 0x7f3841001000
ovs-ctl[2975]: Aborted (core dumped)
ovs-ctl[2975]: * Starting ovs-vswitchd
ovs-ctl[2975]: * Enabling remote OVSDB managers
---

 So, the problem now, looks like the OVS with DPDK is unable to find the BNX2X firmware, but I have the linux-firmware package, that contains the bnx firmwares...

Cheers!
Thiago