ansyun / dpdk-ans

ANS(Accelerated Network Stack) on DPDK, DPDK native TCP/IP stack.
https://ansyun.com
BSD 3-Clause "New" or "Revised" License
1.15k stars 322 forks source link

"no valid ports" while building app in dpdk. #89

Closed harminds closed 5 years ago

harminds commented 5 years ago

Building an application using dpdk-v18.02 and getting an error as "no valid ports". I tried dpdk-v19.02 and it's giving the same error. This is the error: EAL: Detected 40 lcore(s) EAL: Multi-process socket /var/run/.rte_unix EAL: Probing VFIO support... EAL: PCI device 0000:04:00.0 on NUMA socket 0 EAL: probe driver: 10ee:9038 xnic EAL: Requested device 0000:04:00.0 cannot be used EAL: Error - exiting with code: 1 Cause: Error: no valid ports

The port is already bound to the driver: dpdk/usertools/# python dpdk-devbind.py --bind=igb_uio 04:00.0 0000:04:00.0 already bound to driver igb_uio, skipping

bluenet13 commented 5 years ago

ANS support environment:

EAL is based on dpdk-17.11.4; linux version: 4.4.0-45-generic (Ubuntu 16.04.1 LTS). gcc version: gcc version 5.4.0 20160609.