The test application should be build manually with make test...
command. What you really want is the testpmd
application to work. There are two issues:
-
EAL: No probed ethernet devices
log means there are no NICs available fortestpmd
. You need to bind your NIC toigb_uio
in order to use in with DPDK application. -
Cause: Creation of mbuf pool for socket 0 failed: Cannot allocate memory
log means there are no enough huge pages to allocate mempool. Indeed:HugePages_Free: 128 Hugepagesize: 2048 kB
There are 128 pages 2M each, which makes 256M of available memory. While testpmd
tries to allocate create a new mbuf pool : n=171456, size=2176
which makes 171456 * 2176 = 373M, so it fails.
The solution would be to either allocate more huge pages or to run testpmd
with --total-num-mbufs
command line option.
https://stackoverflow.com/questions/48106597/dpdk-test-application-cannot-found-on-redhat