dpdk-testpmd test shows "init vf failed" with in-tree driver on ubuntu22.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpdk (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
run ./dpdk-testpmd -c 0x0f -n 4 -- -i --portmask=0x3 with vf port ,the detail log
root@sp:
EAL: Detected 128 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-2048kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:16:01.0 (socket 0)
iavf_init_vf(): VF is still resetting
iavf_dev_init(): Init vf failed
EAL: Releasing pci mapped resource for 0000:16:01.0
EAL: Calling pci_unmap_resource for 0000:16:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:16:01.0 at 0x2200020000
EAL: Requested device 0000:16:01.0 cannot be used
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:16:09.0 (socket 0)
iavf_init_vf(): VF is still resetting
iavf_dev_init(): Init vf failed
EAL: Releasing pci mapped resource for 0000:16:09.0
EAL: Calling pci_unmap_resource for 0000:16:09.0 at 0x2200024000
EAL: Calling pci_unmap_resource for 0000:16:09.0 at 0x2200044000
EAL: Requested device 0000:16:09.0 cannot be used
EAL: No legacy callbacks, legacy socket not created
testpmd: No probed ethernet devices
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
testpmd>
DPDK 20.11 or DPDK 21.11, the same result