[dpdk-users] Running DPDK application on Softiron OD1000 board
anupnsec at yahoo.in
Tue Mar 27 13:10:58 CEST 2018
I want to run & test DPDK application for my board OD1000 (armv8a 64-bit) and I have CentOS 7 installed on my board.I have compiled DPDK application [root at localhost build]# uname -r4.11.0-45.6.1.el7a.aarch64
I have successfully compiled the dpdk application & all examples applications as well. But when I tried to run "l2fwd" sample test I'm getting following error.
[root at localhost build]# ./l2fwd -c 0x2 -n 1 -- -p 0x1 -q 1EAL: Detected 4 lcore(s)EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that sizeEAL: Probing VFIO support...EAL: VFIO support initializedMAC updating enabledEAL: Error - exiting with code: 1 Cause: No Ethernet ports - bye
Here is status of my supported cards.[root at localhost dpdk-stable-17.11.1]# ./usertools/dpdk-devbind.py --status
Network devices using DPDK-compatible driver============================================0000:02:00.0 'Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB] 4381' drv=igb_uio unused=sky2,vfio-pci,uio_pci_generic
Network devices using kernel driver===================================<none>
Other Network devices=====================<none>
Crypto devices using DPDK-compatible driver===========================================<none>
Crypto devices using kernel driver==================================<none>
Other Crypto devices====================<none>
Eventdev devices using DPDK-compatible driver=============================================<none>
Eventdev devices using kernel driver====================================<none>
Other Eventdev devices======================<none>
Mempool devices using DPDK-compatible driver============================================<none>
Mempool devices using kernel driver===================================<none>
Other Mempool devices=====================<none>[root at localhost dpdk-stable-17.11.1]#
To work around I have tried following commands but they are too giving me errors as well.
./l2fwd --vdev= igb_uio,iface=eth0 --l 0-3 -n 4 -- -q 8 -p ffff
./l2fwd --vdev= igb_uio,iface=enp2s0 --l 0-3 -n 4 -- -q 8 -p ffff......
ERROR: failed to parse device "igb_uio"EAL: Unable to parse device 'igb_uio,iface=eth0'
Here is my status of PCI bus:
[root at localhost build]# lspci00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1a0000:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1a0100:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1a0200:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1a0201:00.0 USB controller: Fresco Logic FL1009 USB 3.0 Host Controller (rev 02)02:00.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB][root at localhost build]#
My doubt is to check whether DPDK have the support for this card are not ?And if it is supported. please suggest me your inputs to resolve this problem or let me know if i'm missing anything.
Apart from that I have found that my Ethernet device named as "enp2s0" before running " ./usertools/dpdk-devbind.py --bind"igb_uio" command.
Note: I'm new to this community & learning this platform so please forgive me if I have added something wrong.
More information about the users