]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/dpdk/lib/librte_eal/common/include/rte_malloc_heap.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / lib / librte_eal / common / include / rte_malloc_heap.h
index d43fa909725a494c43b0f57df49c45d8deb7a8a5..4a7e0eb1db9fa15ea6dd7c42aacc1aa19c8d7bc9 100644 (file)
@@ -12,6 +12,7 @@
 
 /* Number of free lists per heap, grouped by size. */
 #define RTE_HEAP_NUM_FREELISTS  13
+#define RTE_HEAP_NAME_MAX_LEN 32
 
 /* dummy definition, for pointers */
 struct malloc_elem;
@@ -26,7 +27,9 @@ struct malloc_heap {
        struct malloc_elem *volatile last;
 
        unsigned alloc_count;
+       unsigned int socket_id;
        size_t total_size;
+       char name[RTE_HEAP_NAME_MAX_LEN];
 } __rte_cache_aligned;
 
 #endif /* _RTE_MALLOC_HEAP_H_ */