]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_memalloc.h
crypto/qat: add device files
[dpdk.git] / lib / librte_eal / common / eal_memalloc.h
index 6736fa3d4f0767ef66b7d84fcc41c4e11e821796..36bb1a02761db218cd081ff47e835dbc123c9919 100644 (file)
@@ -57,10 +57,10 @@ eal_memalloc_sync_with_primary(void);
 
 int
 eal_memalloc_mem_event_callback_register(const char *name,
-               rte_mem_event_callback_t clb);
+               rte_mem_event_callback_t clb, void *arg);
 
 int
-eal_memalloc_mem_event_callback_unregister(const char *name);
+eal_memalloc_mem_event_callback_unregister(const char *name, void *arg);
 
 void
 eal_memalloc_mem_event_notify(enum rte_mem_event event, const void *start,
@@ -76,4 +76,7 @@ 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_init(void);
+
 #endif /* EAL_MEMALLOC_H */