Searched refs:total_size (Results 1 - 19 of 19) sorted by relevance

/trex/src/dpdk/lib/librte_eal/common/include/
H A Drte_malloc_heap.h52 size_t total_size; member in struct:malloc_heap
/trex/src/dpdk/lib/librte_table/
H A Drte_table_array.c80 uint32_t total_cl_size, total_size; local
93 total_size = total_cl_size * RTE_CACHE_LINE_SIZE;
94 t = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id);
98 __func__, total_size);
H A Drte_table_hash_cuckoo.c118 uint32_t total_size, total_cl_size; local
133 total_size = total_cl_size * RTE_CACHE_LINE_SIZE;
136 total_size,
182 __func__, total_size);
H A Drte_table_lpm.c89 uint32_t total_size, nht_size; local
123 total_size = sizeof(struct rte_table_lpm) + nht_size;
124 lpm = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE,
129 __func__, total_size);
H A Drte_table_lpm_ipv6.c87 uint32_t total_size, nht_size; local
121 total_size = sizeof(struct rte_table_lpm_ipv6) + nht_size;
122 lpm = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE,
127 __func__, total_size);
H A Drte_table_hash_key32.c127 uint32_t total_size, i; local
143 total_size = sizeof(struct rte_table_hash) + n_buckets *
146 f = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id);
150 __func__, total_size);
155 total_size);
335 uint32_t key_size, bucket_size_cl, stack_size_cl, total_size, i; local
355 total_size = sizeof(struct rte_table_hash) +
359 f = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id);
363 __func__, total_size);
368 total_size);
[all...]
H A Drte_table_acl.c93 uint32_t total_size; local
127 total_size = sizeof(struct rte_table_acl) + action_table_size +
130 acl = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE,
135 __func__, total_size);
H A Drte_table_hash_key16.c128 key_size, bucket_size_cl, total_size, i; local
143 total_size = sizeof(struct rte_table_hash) + n_buckets *
146 f = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id);
150 __func__, total_size);
155 __func__, total_size);
342 bucket_size_cl, stack_size_cl, total_size, i; local
362 total_size = sizeof(struct rte_table_hash) +
366 f = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id);
370 __func__, total_size);
375 __func__, total_size);
[all...]
H A Drte_table_hash_key8.c123 uint32_t total_size, i; local
139 total_size = sizeof(struct rte_table_hash) + n_buckets *
142 f = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id);
146 __func__, total_size);
151 __func__, total_size);
330 uint32_t bucket_size_cl, stack_size_cl, total_size, i; local
350 total_size = sizeof(struct rte_table_hash) + ((n_buckets +
354 f = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id);
358 __func__, total_size);
363 __func__, total_size);
[all...]
H A Drte_table_hash_lru.c154 uint32_t total_size, table_meta_sz; local
173 total_size = table_meta_sz + bucket_sz + key_sz + key_stack_sz +
176 t = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id);
180 __func__, total_size);
184 "%u bytes\n", __func__, p->key_size, total_size);
H A Drte_table_hash_ext.c177 uint32_t total_size, table_meta_sz; local
201 total_size = table_meta_sz + bucket_sz + bucket_ext_sz + key_sz +
204 t = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id);
208 __func__, total_size);
212 "%u bytes\n", __func__, p->key_size, total_size);
/trex/src/dpdk/lib/librte_eal/common/
H A Dmalloc_heap.c113 heap->total_size += elem_size;
204 socket_stats->heap_totalsz_bytes = heap->total_size;
/trex/src/common/
H A Derf.cpp261 uint16_t total_size=(uint16_t)size+sizeof(erf_header_t)+2+4; local
262 uint16_t align = (total_size & 0x7);
270 header.rlen = g_ntohs(total_size+align);
277 if (n < (int)(total_size+align)) {
/trex/src/dpdk/lib/librte_acl/
H A Dacl_gen.c482 size_t total_size; local
496 total_size = RTE_ALIGN(data_index_sz, RTE_CACHE_LINE_SIZE) +
501 if (total_size > max_size) {
505 ctx->name, total_size, max_size);
509 mem = rte_zmalloc_socket(ctx->name, total_size, RTE_CACHE_LINE_SIZE,
514 total_size, ctx->socket_id, ctx->name);
549 ctx->mem_sz = total_size;
/trex/src/dpdk/drivers/net/xenvirt/
H A Drte_mempool_gntalloc.c117 sz = rte_mempool_xmem_size(elt_num, objsz.total_size, pg_shift);
165 usz = rte_mempool_xmem_usage(va, elt_num, objsz.total_size, pa_arr, pg_num, pg_shift);
/trex/src/dpdk/lib/librte_eal/linuxapp/eal/
H A Deal_memory.c772 size_t default_size, total_size; local
785 total_size = internal_config.memory;
786 for (socket = 0; socket < RTE_MAX_NUMA_NODES && total_size != 0; socket++) {
797 total_size -= default_size;
804 for (socket = 0; socket < RTE_MAX_NUMA_NODES && total_size != 0; socket++) {
807 total_size);
811 total_size -= default_size;
/trex/src/dpdk/lib/librte_mempool/
H A Drte_mempool.c212 sz->total_size = sz->header_size + sz->elt_size +
215 (sz->total_size & RTE_MEMPOOL_ALIGN_MASK)) &
231 sz->total_size = sz->header_size + sz->elt_size + sz->trailer_size;
233 return sz->total_size;
H A Drte_mempool.h123 uint32_t total_size; member in struct:rte_mempool_objsz
/trex/external_libs/ibverbs/include/infiniband/
H A Dmlx5_hw.h420 void *seg, int *total_size);

Completed in 24 milliseconds