dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] eal: map uio resources after hugepages when --base_virtaddr is  configured
@ 2014-11-05  9:49 XU Liang
       [not found] ` <b4039afa-f5f4-45b9-9322-d4a0d5e9b239-uqgZSDCUmcY3TOWNJCPdyQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: XU Liang @ 2014-11-05  9:49 UTC (permalink / raw)
  To: dev


When start a secondary process, we got error message "EAL: pci_map_resource(): cannot mmap(11, 0x7ffff7fba000, 0x20000, 0x0): Bad file descriptor (0x7ffff7fb9000)"

The secondary process link difference shared libraries, so the 0x7ffff7fba000 is used. 

We know the --base_virtaddr is designed for this situation for hugepages.

This patch map the device resouce into address that is after hugepages when --base_virtaddr is  configured.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-05 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-05  9:49 [PATCH] eal: map uio resources after hugepages when --base_virtaddr is configured XU Liang
     [not found] ` <b4039afa-f5f4-45b9-9322-d4a0d5e9b239-uqgZSDCUmcY3TOWNJCPdyQ@public.gmane.org>
2014-11-05  9:58   ` De Lara Guarch, Pablo
     [not found]     ` <E115CCD9D858EF4F90C690B0DCB4D897268330EA-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-05 10:38       ` Thomas Monjalon

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).