On Wed, Aug 02, 2023 at 01:29:03PM +0000, FRANCISCO ARNALDO BOIX MARTINEZ wrote: > Hi team, > > I am trying to run dpdk-testpmd utility, but I am not able to make it > work even though I have already used dpdk-devbind.py utility. I haven't > been able to find the solution yet, could you please help me? > > I get the following output while executing ./usertools/dpdk-devbind.py > -s: > > Network devices using kernel driver > =================================== > 0000:04:00.0 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller > 8168' if=enp4s0 drv=r8169 unused=vfio-pci *Active*
This indicates that you have only a single network card port, which is bound to the kernel for kernel use. It's also a device which I don't believe we have drivers for in DPDK - so even if you did unbind it (and lose network connectivity to your board - it still likely wouldn't be usable with DPDK. I therefore think you need to add some supported network devices to your system to use DPDK. You generally need to keep one network port for kernel use and use DPDK on the rest. The only exception is if you plan on using DPDK through af_xdp or af_packet or similar driver that takes packets from a kernel-connected port. Regards, /Bruce