<div>Hello!</div><div> </div><div>I'm trying to use dpdk-21 and testpmd tool.</div><div>I use this instruction: <a href="https://doc.dpdk.org/guides/nics/build_and_test.html" rel="noopener noreferrer" target="_blank">https://doc.dpdk.org/guides/nics/build_and_test.html</a></div><div>I use VFIO driver for my card:</div><div><p style="color:#000000;font:14px 'menlo';margin:0px">Network devices using DPDK-compatible driver</p><p style="color:#000000;font:14px 'menlo';margin:0px">============================================</p><p style="color:#000000;font:14px 'menlo';margin:0px">0000:06:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci unused=i40e,igb_uio</p><p style="color:#000000;font:14px 'menlo';margin:0px">0000:06:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci unused=i40e,igb_uio</p><p style="color:#000000;font:14px 'menlo';margin:0px">0000:06:00.2 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci unused=i40e,igb_uio</p><p style="color:#000000;font:14px 'menlo';margin:0px">0000:06:00.3 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci unused=i40e,igb_uio</p><p style="color:#000000;font:14px 'menlo';margin:0px"> </p></div><div>I've configured hugepages</div><div><p style="color:#000000;font:14px 'menlo';margin:0px">cat /proc/meminfo | grep -i huge</p><p style="color:#000000;font:14px 'menlo';margin:0px">Anon<span style="color:#b42419"><strong>Huge</strong></span>Pages:     63488 kB</p><p style="color:#000000;font:14px 'menlo';margin:0px">Shmem<span style="color:#b42419"><strong>Huge</strong></span>Pages:        0 kB</p><p style="color:#000000;font:14px 'menlo';margin:0px">File<span style="color:#b42419"><strong>Huge</strong></span>Pages:         0 kB</p><p style="color:#000000;font:14px 'menlo';margin:0px"><span style="color:#b42419"><strong>Huge</strong></span>Pages_Total:    1024</p><p style="color:#000000;font:14px 'menlo';margin:0px"><span style="color:#b42419"><strong>Huge</strong></span>Pages_Free:     1014</p><p style="color:#000000;font:14px 'menlo';margin:0px"><span style="color:#b42419"><strong>Huge</strong></span>Pages_Rsvd:        0</p><p style="color:#000000;font:14px 'menlo';margin:0px"><span style="color:#b42419"><strong>Huge</strong></span>Pages_Surp:        0</p><p style="color:#000000;font:14px 'menlo';margin:0px"><span style="color:#b42419"><strong>Huge</strong></span>pagesize:       2048 kB</p><p style="color:#000000;font:14px 'menlo';margin:0px"><span style="color:#b42419"><strong>Huge</strong></span>tlb:         2097152 kB</p><p style="color:#000000;font:14px 'menlo';margin:0px"> </p></div><div>But I always receive "unable to allocate rte_eth_dev" error.</div><div> </div><div><p style="color:#000000;font:14px 'menlo';margin:0px">dpdk-testpmd -l 0-3 -n 4 -- -i</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: Detected 36 lcore(s)</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: Detected 1 NUMA nodes</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: Detected static linkage of DPDK</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: Multi-process socket /var/run/dpdk/rte/mp_socket</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: Selected IOVA mode 'VA'</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: No available 1048576 kB hugepages reported</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: VFIO support initialized</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: Using IOMMU type 1 (Type 1)</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: Probe PCI driver: net_i40e (8086:1572) device: 0000:06:00.0 (socket 0)</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: Probe PCI driver: net_i40e (8086:1572) device: 0000:06:00.1 (socket 0)</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: Probe PCI driver: net_i40e (8086:1572) device: 0000:06:00.2 (socket 0)</p><p style="color:#000000;font:14px 'menlo';margin:0px">EAL: Probe PCI driver: net_i40e (8086:1572) device: 0000:06:00.3 (socket 0)</p><p style="color:#000000;font:14px 'menlo';margin:0px">Interactive-mode selected</p><p style="color:#000000;font:14px 'menlo';margin:0px">testpmd: create a new mbuf pool <mb_pool_0>: n=171456, size=2176, socket=0</p><p style="color:#000000;font:14px 'menlo';margin:0px">testpmd: preferred mempool ops selected: ring_mp_mc</p><p style="color:#000000;font:14px 'menlo';margin:0px">Configuring Port 0 (socket 0)</p><p style="color:#000000;font:14px 'menlo';margin:0px">Port 0: 00:90:0B:73:E0:AB</p><p style="color:#000000;font:14px 'menlo';margin:0px">Configuring Port 1 (socket 0)</p><p style="color:#000000;font:14px 'menlo';margin:0px">Port 1: 00:90:0B:73:E0:AC</p><p style="color:#000000;font:14px 'menlo';margin:0px">Configuring Port 2 (socket 0)</p><p style="color:#000000;font:14px 'menlo';margin:0px">Port 2: 00:90:0B:73:E0:AD</p><p style="color:#000000;font:14px 'menlo';margin:0px">Configuring Port 3 (socket 0)</p><p style="color:#000000;font:14px 'menlo';margin:0px">Port 3: 00:90:0B:73:E0:AE</p><p style="color:#000000;font:14px 'menlo';margin:0px">Checking link statuses...</p><p style="color:#000000;font:14px 'menlo';margin:0px">Done</p><p style="color:#000000;font:14px 'menlo';margin:0px">testpmd> </p><p style="color:#000000;font:14px 'menlo';margin:0px">Port 1: link state change event</p><p style="color:#000000;font:14px 'menlo';margin:0px;min-height:16px"> </p><p style="color:#000000;font:14px 'menlo';margin:0px">Port 0: link state change event</p><p style="color:#000000;font:14px 'menlo';margin:0px;min-height:16px"> </p><p style="color:#000000;font:14px 'menlo';margin:0px">Port 2: link state change event</p><p style="color:#000000;font:14px 'menlo';margin:0px;min-height:16px"> </p><p style="color:#000000;font:14px 'menlo';margin:0px">Port 3: link state change event</p><p style="color:#000000;font:14px 'menlo';margin:0px;min-height:16px"> </p><p style="color:#000000;font:14px 'menlo';margin:0px">testpmd> create bonded device 1 1</p><p style="color:#000000;font:14px 'menlo';margin:0px">bond_alloc(3233) - Unable to allocate rte_eth_dev</p><p style="color:#000000;font:14px 'menlo';margin:0px">bond_probe(3411) - Failed to create socket net_bonding_testpmd_0 in mode 1 on socket 1.</p><p style="color:#000000;font:14px 'menlo';margin:0px">Failed to create bonded device.</p><p style="color:#000000;font:14px 'menlo';margin:0px">testpmd> exit</p><p style="color:#000000;font:14px 'menlo';margin:0px"> </p><p style="color:#000000;font:14px 'menlo';margin:0px">Can you please point me what is wrong? Thank you! </p></div><div>------</div><div>Best regards, Natalya</div><div> </div><div> </div><div> </div>