<div dir="ltr">Hi,<div>I have a problem while trying to manage my physical Ethernet interface from DPDK (latest version compiled from source).<br>I have a:<div><font face="monospace">NIC: 0000:00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (13) I219-LM (rev 20)</font><br><br>which belongs to the list of supported NICs in DPDK.<div><br></div><div>Also, I have bound my NICto vfio-pci, not the kernel:<br><br><font face="monospace">dpdk-23.07$ usertools/dpdk-devbind.py --status<br>Network devices using DPDK-compatible driver ============================================ 0000:00:1f.6 'Ethernet Connection (13) I219-LM 15fb' drv=vfio-pci unused=e1000e<br></font><br>I also enabled hugepages (2G).<br><br>when I enter <font face="monospace">"sudo build/app/dpdk-testpmd -c7 -- -i"</font> I get:<br><font face="monospace">EAL: Detected CPU lcores: 8<br>EAL: Detected NUMA nodes: 1<br>EAL: Detected static linkage of DPDK<br>EAL: Multi-process socket /var/run/dpdk/rte/mp_socket<br>EAL: Selected IOVA mode 'VA'<br>EAL: VFIO support initialized<br>TELEMETRY: No legacy callbacks, legacy socket not created<br>testpmd: No probed ethernet devices<br>Interactive-mode selected<br>testpmd: create a new mbuf pool <mb_pool_0>: n=163456, size=2176, socket=0<br>testpmd: preferred mempool ops selected: ring_mp_mc<br>Done<br>testpmd></font><br><br>When I enter <font face="monospace">"show port info all"</font> in the testpmd CLI I get nothing (no ports).<br><br>When I start testpmd with "<font face="monospace">-a 0000:00:1f.6</font>" (the address of the ethernet NIC I want to manage from DPDK), The same happens (no ports).</div><div><br>If I try to start testpmd with "<font face="monospace">-d build/drivers/librte_net_e1000.so</font>" (the shared library of the driver of that device), I get a crash:</div><div><br><font face="monospace">dpdk-23.07$ sudo build/app/dpdk-testpmd -c7 -a 0000:00:1f.6 -d build/drivers/librte_net_e1000.so -- -i<br>EAL: Detected CPU lcores: 8<br>EAL: Detected NUMA nodes: 1<br>EAL: Detected static linkage of DPDK<br>EAL: UIO_RESOURCE_LIST tailq is already registered PANIC in tailqinitfn_rte_uio_tailq(): Cannot initialize tailq: UIO_RESOURCE_LIST<br>0: build/app/dpdk-testpmd (rte_dump_stack+0x32) [55be1839afe2]<br>1: build/app/dpdk-testpmd (__rte_panic+0xf1) [55be18369e68]<br>2: /home/anton/tdr/dpdk-23.07/build/drivers/librte_bus_pci.so.23 (7f52153f6000+0x5d86) [7f52153fbd86] <br>3: /lib64/ld-linux-x86-64.so.2 (7f5215f90000+0x11b9a) [7f5215fa1b9a] <br>4: /lib64/ld-linux-x86-64.so.2 (7f5215f90000+0x11ca1) [7f5215fa1ca1] <br>5: /lib/x86_64-linux-gnu/libc.so.6 (_dl_catch_exception+0xe5) [7f5215970985] <br>6: /lib64/ld-linux-x86-64.so.2 (7f5215f90000+0x160cf) [7f5215fa60cf] <br>7: /lib/x86_64-linux-gnu/libc.so.6 (_dl_catch_exception+0x88) [7f5215970928] <br>8: /lib64/ld-linux-x86-64.so.2 (7f5215f90000+0x1560a) [7f5215fa560a] <br>9: /lib/x86_64-linux-gnu/libdl.so.2 (7f5215e15000+0x134c) [7f5215e1634c] <br>10: /lib/x86_64-linux-gnu/libc.so.6 (_dl_catch_exception+0x88) [7f5215970928] <br>11: /lib/x86_64-linux-gnu/libc.so.6 (_dl_catch_error+0x33) [7f52159709f3] <br>12: /lib/x86_64-linux-gnu/libdl.so.2 (7f5215e15000+0x1b59) [7f5215e16b59] <br>13: /lib/x86_64-linux-gnu/libdl.so.2 (dlopen+0x4a) [7f5215e163da] <br>14: build/app/dpdk-testpmd (55be17b79000+0x8013ee) [55be1837a3ee] <br>15: build/app/dpdk-testpmd (eal_plugins_init+0x14f) [55be1837a6d8] <br>16: build/app/dpdk-testpmd (rte_eal_init+0x1af) [55be1839ec21] <br>17: build/app/dpdk-testpmd (main+0xde) [55be17da108b] <br>18: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf3) [7f5215834083] <br>19: build/app/dpdk-testpmd (_start+0x2e) [55be17cef1fe]</font></div><div><font face="monospace">Aborted</font><br><br>I have also checked that:<br>I have IOMMU enabled:</div><div><font face="monospace">cat /proc/cmdline</font><br><font face="monospace">BOOT_IMAGE=/boot/vmlinuz-5.15.0-83-generic root=UUID=3c080ff1-1c00-4b5c-aa00-2084f9e68794 ro i915.enable_psr=1 quiet splash intel_iommu=on vt.handoff=7</font><br>and other virtualization flags enabled (VT-x, VT-d), and the Secure Boot is disabled.<br>Also the NIC works fine in normal circumstances (managed by the OS kernel).</div><div><br></div><div>I am running Ubuntu 20.04.6 on a Dell Precision 3560 laptop (1 year old).<br><br>I don't know whether this is a bug or I missed something, so I would appreciate any guidance. Thanks in advance<br><br>Anton</div></div></div></div>