From: "Mario Gianni" <m.gianni@engineer.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Cannot mmap device resource in DPDK 1.7.0 multi-process/multi-thread
Date: Fri, 24 Oct 2014 13:21:08 +0200 [thread overview]
Message-ID: <trinity-a03763fb-b3ee-4a1c-bb76-b25e4f18437f-1414149668373@3capp-mailcom-lxa08> (raw)
Hi all, I have a problem since I updated to 1.7.0 version,
I got a multi-process, multi-threaded application,
In my application first I launch a master process, then I launch a secondary process with multiple threads in it
Well, when the number of lcores reserved for the secondary process exceeds a certain number (eg. 4) i got an error in rte_eal_init() on the secondary process when it tries to map PCI memory:
EAL: pci_map_resource(): cannot mmap(12, 0x7ffff2e96000, 0x800000, 0x1000): Success (0x7ffff559b000)
EAL: Cannot mmap device resource
EAL: Error - exiting with code: 1
Cause: Requested device 0000:01:00.0 cannot be used
Can you help me?
next reply other threads:[~2014-10-24 11:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-24 11:21 Mario Gianni [this message]
2014-10-24 12:08 ` Bruce Richardson
2014-10-24 13:04 ` Mario Gianni
2014-10-24 13:39 ` Bruce Richardson
2014-10-24 15:03 ` Mario Gianni
2014-10-28 12:19 ` Richardson, Bruce
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=trinity-a03763fb-b3ee-4a1c-bb76-b25e4f18437f-1414149668373@3capp-mailcom-lxa08 \
--to=m.gianni@engineer.com \
--cc=dev@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).