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: add internal API to get and set segment fd
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_memalloc.h
diff --git
a/lib/librte_eal/common/eal_memalloc.h
b/lib/librte_eal/common/eal_memalloc.h
index
36bb1a0
..
a46c69c
100644
(file)
--- a/
lib/librte_eal/common/eal_memalloc.h
+++ b/
lib/librte_eal/common/eal_memalloc.h
@@
-76,6
+76,12
@@
eal_memalloc_mem_alloc_validator_unregister(const char *name, int socket_id);
int
eal_memalloc_mem_alloc_validate(int socket_id, size_t new_len);
+int
+eal_memalloc_get_seg_fd(int list_idx, int seg_idx);
+
+int
+eal_memalloc_set_seg_fd(int list_idx, int seg_idx, int fd);
+
int
eal_memalloc_init(void);