e virtual address of uio resource mapped still does
not refer to the parameter. In that case "EAL: pci_map_resource(): cannot mmap"
will be got.
This patch try to map uio resources after hugepages. So the error can be
resolved by set base-virtaddr into free virtual address space.
; can be
resolved by set base-virtaddr into free virtual address space.
Signed-off-by: lxu
---
lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
b/lib/librte_eal/li
process links a lot of additional shared libraries, so the
address 0x77fba000 had already be used.
I had fixed similar hugepages mmap problems by base_virtaddr. So I believe the
uio resource should be mapped into base_virtaddr at this situation.
This patch try to fix it.
Signed-off-by
Signed-off-by: lxu
---
lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
index 7e62266..a2c9ab6 100644
--- a/lib
---
lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
index 7e62266..a2c9ab6 100644
--- a/lib/librte_eal/linuxapp/eal/eal
---
lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
index 7e62266..3a218d0 100644
--- a/lib/librte_eal/linuxapp/eal/eal
---
lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
index 7e62266..a591da3 100644
--- a/lib/librte_eal/linuxapp/eal/eal
---
lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
index 7e62266..bc7ed3a 100644
--- a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
+++ b/lib/l
It's kernel bug. I got same message in Redhat 6.3 and 6.4. After install a
custom 3.4 kernel, everything is fine. Ubuntu 12.04 with 3.2 kernel is fine too.
-- --
???: "dvr";
: 2013?6?24?(???) ??7:53
???: "dev";
??: [dpdk-dev] The packages needed on Ce
Great! Thanks for the quick feedback.
-- Original --
From: "Olivier MATZ";
Date: Wed, Jun 12, 2013 05:17 PM
To: "dev";
Cc: "lxu";
Subject: Re: [dpdk-dev] Can the empty struct rte_eth_txmode be enhanced?
Hello,
> Can we
Hello all,I'm trying to write a C++ DPDK example. Everything is fine until I
tried to enable RSS feature. It wasn't work.After hardy works, I found it's
because empty structure rte_eth_txmode. In gcc the size of rte_eth_txmode is 0.
But in g++ it's 1. I known the empty structure is a gcc extensi
Finally I found it still a kernel issue.
There is kernel 2.6.32 in Redhat 6.3 and 6.4. After I rebuild and install
kernel 3.4.47 with default configuration, everything is fine.
-- Original --
From: "lxu";
Date: Fri, May 31, 2013 00:16 AM
Hello, I'm testing DPDK 1.2.3r1 with Silicom PE210G2i9-T (82599EB) at Redhat
6.3 and 6.4.
I had followed the quick start guide. I installed DPDK and I haven't had any
problems, but when I try to run testpmd it appears:
EAL: Error - exiting with code: 1
Cause: No probed ethernet devices - check t
13 matches
Mail list logo