* [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
* Re: [PATCH] eal: map uio resources after hugepages when --base_virtaddr is configured
[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>
0 siblings, 1 reply; 3+ messages in thread
From: De Lara Guarch, Pablo @ 2014-11-05 9:58 UTC (permalink / raw)
To: XU Liang; +Cc: dev-VfR2kkLFssw@public.gmane.org
Patch is missing.
Thanks,
Pablo
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of XU Liang
> Sent: Wednesday, November 05, 2014 9:50 AM
> To: dev
> Subject: [dpdk-dev] [PATCH] eal: map uio resources after hugepages when --
> base_virtaddr is configured
>
>
> 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
* Re: [PATCH] eal: map uio resources after hugepages when --base_virtaddr is configured
[not found] ` <E115CCD9D858EF4F90C690B0DCB4D897268330EA-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2014-11-05 10:38 ` Thomas Monjalon
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2014-11-05 10:38 UTC (permalink / raw)
To: XU Liang; +Cc: dev-VfR2kkLFssw
The patch was attached and automatically dropped.
Please follow these guidelines:
http://dpdk.org/dev#send
2014-11-05 09:58, De Lara Guarch, Pablo:
> Patch is missing.
>
> Thanks,
> Pablo
>
> > -----Original Message-----
> > From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of XU Liang
> > Sent: Wednesday, November 05, 2014 9:50 AM
> > To: dev
> > Subject: [dpdk-dev] [PATCH] eal: map uio resources after hugepages when --
> > base_virtaddr is configured
> >
> >
> > 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).