DPDK usage discussions
 help / color / mirror / Atom feed
From: Kai Zhang <kay21s@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Issue with more Cores assigned: Cannot mmap device resource file
Date: Sat, 11 Mar 2017 11:35:03 +0800	[thread overview]
Message-ID: <CACKSPmdi3c-hn9GEpLfsvJyUqE2bhib0MyfR22+HSSKJAePD-A@mail.gmail.com> (raw)

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

             reply	other threads:[~2017-03-11  3:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-11  3:35 Kai Zhang [this message]
2017-03-11 14:52 ` Wiles, Keith
2017-03-11 15:45   ` Kai Zhang
2017-03-11 18:59     ` Wiles, Keith
2017-03-12  3:21       ` Kai Zhang
2017-03-12  3:29         ` Kai Zhang
2017-03-12 10:32           ` Wiles, Keith
2017-03-12 10:39             ` Kai Zhang
2017-03-12 18:55               ` Wiles, Keith
2017-03-12 19:24               ` Wiles, Keith
2017-03-12 23:44                 ` Kai Zhang
2017-03-13  9:58                   ` Van Haaren, Harry
2017-03-13 10:59                     ` Kai Zhang
2017-03-15 14:56 David Coen
2017-03-15 15:48 David Coen
2017-03-15 17:02 ` Kai Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACKSPmdi3c-hn9GEpLfsvJyUqE2bhib0MyfR22+HSSKJAePD-A@mail.gmail.com \
    --to=kay21s@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).