[dpdk-users] Issue with more Cores assigned: Cannot mmap device resource file
Kai Zhang
kay21s at gmail.com
Sat Mar 11 04:35:03 CET 2017
Hi, there
I am using DPDK-16.11 on XL710 40GbE NIC. OS: CentOS 7.3.1611 with Linux
kernel version 3.8.0-30.
I have a master process and a secondary process. When I run the secondary
process with less than or equal to 4 cores, it works correctly. Such as:
sudo ./program -l 4,5,6,7 -n 4 --proc-type=secondary
sudo ./program -c 0x0f -n 4 --proc-type=secondary
However, there will be error in the rte_eal_init if I assign more than 4
cores.
sudo ./program -l 0,1,2,3,4 -n 4 --proc-type=secondary
sudo ./program -c 0x1f -n 4 --proc-type=secondary
EAL: Cannot mmap device resource file
/sys/bus/pci/devices/0000:02:00.0/resource0 to address: 0x7fff65bfc000
EAL: Error - exiting with code: 1
Cause: Requested device 0000:02:00.0 cannot be used
Anyone knows why this happens?
Thanks a lot,
Kai Zhang
More information about the users
mailing list