VFIO group is not viable

Solution In Progress - Updated -

Issue

  • OpenvSwitch cannot attach to the nic interface:
2020-04-17T16:13:00.329Z|00030|dpdk|ERR|EAL: Requested device 0000:af:00.6 cannot be used
2020-04-17T16:13:00.329Z|00031|dpdk|INFO|EAL: PCI device 0000:af:00.7 on NUMA socket 1
2020-04-17T16:13:00.329Z|00032|dpdk|INFO|EAL:   probe driver: 1077:1656 net_qede
2020-04-17T16:13:00.329Z|00033|dpdk|ERR|EAL:   0000:af:00.7 VFIO group is not viable!
2020-04-17T16:13:00.329Z|00034|dpdk|ERR|EAL: Requested device 0000:af:00.7 cannot be used
2020-04-17T16:13:00.329Z|00035|dpdk|INFO|EAL: PCI device 0000:af:01.0 on NUMA socket 1
2020-04-17T16:13:00.329Z|00036|dpdk|INFO|EAL:   probe driver: 1077:1656 net_qede
2020-04-17T16:13:00.329Z|00037|dpdk|INFO|EAL: PCI device 0000:af:01.1 on NUMA socket 1
2020-04-17T16:13:00.329Z|00038|dpdk|INFO|EAL:   probe driver: 1077:1656 net_qede
[...]
2020-04-17T16:13:00.657Z|00095|dpdk|INFO|EAL: PCI device 0000:af:00.7 on NUMA socket 1
2020-04-17T16:13:00.657Z|00096|dpdk|INFO|EAL:   probe driver: 1077:1656 net_qede
2020-04-17T16:13:00.658Z|00097|dpdk|ERR|EAL:   0000:af:00.7 VFIO group is not viable!
2020-04-17T16:13:00.658Z|00098|dpdk|ERR|EAL: Driver cannot attach the device (0000:af:00.7)
2020-04-17T16:13:00.658Z|00099|dpdk|ERR|EAL: Failed to attach device on primary process
  • The following nics are being used:
# cat lspci  | grep FastLinQ
af:00.0 Ethernet controller [0200]: QLogic Corp. FastLinQ QL45000 Series 25GbE Controller [1077:1656] (rev 10)
af:00.1 Ethernet controller [0200]: QLogic Corp. FastLinQ QL45000 Series 25GbE Controller [1077:1656] (rev 10)
af:00.6 Ethernet controller [0200]: QLogic Corp. FastLinQ QL45000 Series 25GbE Controller [1077:1656] (rev 10)
af:00.7 Ethernet controller [0200]: QLogic Corp. FastLinQ QL45000 Series 25GbE Controller [1077:1656] (rev 10)
af:01.0 Ethernet controller [0200]: QLogic Corp. FastLinQ QL45000 Series 25GbE Controller [1077:1656] (rev 10)
af:01.1 Ethernet controller [0200]: QLogic Corp. FastLinQ QL45000 Series 25GbE Controller [1077:1656] (rev 10)
  • DPDK is failing to attach to 2 nic ports:
    Bridge "br-link0"
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "phy-br-link0"
            Interface "phy-br-link0"
                type: patch
                options: {peer="int-br-link0"}
        Port "br-link0"
            Interface "br-link0"
                type: internal
        Port "dpdkbond0"
            Interface "dpdk1"
                type: dpdk
                options: {dpdk-devargs="0000:af:00.7", n_rxq="2"}
                error: "Error attaching device '0000:af:00.7' to DPDK"
            Interface "dpdk0"
                type: dpdk
                options: {dpdk-devargs="0000:af:00.6", n_rxq="2"}
                error: "Error attaching device '0000:af:00.6' to DPDK"

Environment

  • Red Hat OpenStack Platform 13.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content