git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mem: expose function for physical address use
[dpdk.git]
/
lib
/
librte_eal
/
bsdapp
/
eal
/
eal_memory.c
diff --git
a/lib/librte_eal/bsdapp/eal/eal_memory.c
b/lib/librte_eal/bsdapp/eal/eal_memory.c
index
937e8db
..
65c96b0
100644
(file)
--- a/
lib/librte_eal/bsdapp/eal/eal_memory.c
+++ b/
lib/librte_eal/bsdapp/eal/eal_memory.c
@@
-60,7
+60,7
@@
rte_mem_virt2phy(const void *virtaddr)
}
int
-rte_eal_
contigmem
_init(void)
+rte_eal_
hugepage
_init(void)
{
struct rte_mem_config *mcfg;
uint64_t total_mem = 0;
@@
-192,3
+192,9
@@
error:
close(fd_hugepage);
return -1;
}
+
+int
+rte_eal_using_phys_addrs(void)
+{
+ return 0;
+}