Hi I have a host and XL710 nic cards and created few VFs on these NIC. I created two VMs on that host and assign one VF to each VM.
VM#1: It has RHEL 7.2 installed and I use DPDK version 2.2.0 SRIOV ports on this VM works OK. testmpd works. The SRIOV interfaces comes up with below logs when I invoke testpmd. EAL: PCI device 0000:0b:00.0 on NUMA socket -1 EAL: probe driver: 8086:154c rte_i40evf_pmd EAL: PCI memory mapped at 0x7fefdce00000 EAL: PCI memory mapped at 0x7fefdce10000 VM#2: It has Ubuntu 16.04.2 and I use DPDK 17.05 SRIOV ports don't show up when I invoke testpmd. EAL: PCI device 0000:03:00.0 on NUMA socket -1 EAL: probe driver: 8086:154c net_i40e_vf i40evf_init_vf(): init_adminq failed i40evf_dev_init(): Init vf failed EAL: Requested device 0000:03:00.0 cannot be used I see one difference here. For the same NIC beneath, the DPDK picks different driver on this VM. (net_i40e_vf as compared to rte_i40evf_pmd). As I understand the dpdk.h file has this switching based on RTE version. Question is why it fails on this VM that has different (later version) of dpdk ? Is there any settings I need to do on the guest OS (Ubuntu ) on VM#2? could it be the NIC firmware that might be incompatible with driver used by dpdk on VM#2? Any pointers to move on ? Thanks Raju