<div dir="ltr">Hi team,<div><br></div><div>I recently installed dpdk on linux and i am doing the experiments on examples.<br>after executing the basic forwarding example i am getting below error. Please help me to resolve this issue.<br>======================================<br>I used the commands below before executing the example binary.<br>mkdir -p /dev/hugepages<br>mountpoint -q /dev/hugepages || mount -t hugetlbfs nodev /dev/hugepages<br>echo 1024 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages<br>dpdk-devbind.py -s<br>ifconfig enp2s0 down<br>modprobe uio<br>modprobe uio_pci_generic<br>dpdk-devbind.py -s<br>dpdk-devbind.py -b uio_pci_generic 02:00.0<br>dpdk-devbind.py -s<br>cd /home/rsys/dpdk-23.07/build/examples<br></div><div>============================================</div><div>============================================</div><div>After this status will be<br>root@rsys:/home/rsys/dpdk-23.07/build/examples# dpdk-devbind.py -s<br><br>Network devices using DPDK-compatible driver<br>0000:02:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e,vfio-pci<br><br>Network devices using kernel driver<br>0000:01:00.0 'Virtio network device 1041' if=enp1s0 drv=virtio-pci unused=vfio-pci,uio_pci_generic *Active*<br>==============================================</div><div>The error will be<br>root@rsys:/home/rsys/dpdk-23.07/build/examples# ./dpdk-skeleton -l 1 -n 4<br>EAL: Detected CPU lcores: 4<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 'PA'<br>EAL: VFIO support initialized<br>EAL: Probe PCI driver: net_virtio (1af4:1041) device: 0000:01:00.0 (socket -1)<br>eth_virtio_pci_init(): Failed to init PCI device<br>EAL: Requested device 0000:01:00.0 cannot be used<br>EAL: Probe PCI driver: net_e1000_em (8086:10d3) device: 0000:02:00.0 (socket -1)<br>TELEMETRY: No legacy callbacks, legacy socket not created<br>EAL: Error - exiting with code: 1<br>  Cause: Error: number of ports must be even<br>======================================================<br><br>Please anyone help me to resolve this.<br><br>Thanks,</div><div>Kiran L<br><br></div></div>