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: rework memzone to be allocated by malloc
[dpdk.git]
/
lib
/
librte_eal
/
common
/
malloc_heap.h
diff --git
a/lib/librte_eal/common/malloc_heap.h
b/lib/librte_eal/common/malloc_heap.h
index
a47136d
..
3ccbef0
100644
(file)
--- a/
lib/librte_eal/common/malloc_heap.h
+++ b/
lib/librte_eal/common/malloc_heap.h
@@
-53,15
+53,15
@@
malloc_get_numa_socket(void)
}
void *
}
void *
-malloc_heap_alloc(struct malloc_heap *heap,
const char *typ
e,
-
size_t size, unsigned align
);
+malloc_heap_alloc(struct malloc_heap *heap,
const char *type, size_t siz
e,
+
unsigned flags, size_t align, size_t bound
);
int
malloc_heap_get_stats(const struct malloc_heap *heap,
struct rte_malloc_socket_stats *socket_stats);
int
int
malloc_heap_get_stats(const struct malloc_heap *heap,
struct rte_malloc_socket_stats *socket_stats);
int
-rte_eal_
heap_memzone
_init(void);
+rte_eal_
malloc_heap
_init(void);
#ifdef __cplusplus
}
#ifdef __cplusplus
}