Home
last modified time | relevance | path

Searched refs:rte_mempool (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/f-stack/dpdk/lib/librte_mempool/
H A Drte_mempool.h207 struct rte_mempool { struct
329 struct rte_mempool *mp = rte_mempool_from_obj(obj); in __mempool_get_trailer()
691 rte_mempool_ops_alloc(struct rte_mempool *mp);
850 rte_mempool_ops_free(struct rte_mempool *mp);
1001 struct rte_mempool *
1042 struct rte_mempool *
1057 rte_mempool_free(struct rte_mempool *mp);
1261 struct rte_mempool *mp) in rte_mempool_cache_flush()
1638 rte_mempool_full(const struct rte_mempool *mp) in rte_mempool_full()
1657 rte_mempool_empty(const struct rte_mempool *mp) in rte_mempool_empty()
[all …]
H A Drte_mempool_trace.h29 struct rte_mempool *mempool),
49 struct rte_mempool *mempool),
62 RTE_TRACE_POINT_ARGS(struct rte_mempool *mempool),
69 RTE_TRACE_POINT_ARGS(struct rte_mempool *mempool, void *vaddr,
82 RTE_TRACE_POINT_ARGS(struct rte_mempool *mempool, void *addr,
95 RTE_TRACE_POINT_ARGS(struct rte_mempool *mempool),
102 RTE_TRACE_POINT_ARGS(struct rte_mempool *mempool),
126 RTE_TRACE_POINT_ARGS(struct rte_mempool *mempool, size_t pg_sz),
149 RTE_TRACE_POINT_ARGS(struct rte_mempool *mempool),
156 RTE_TRACE_POINT_ARGS(struct rte_mempool *mempool),
[all …]
H A Drte_mempool.c177 rte_mempool_obj_iter(struct rte_mempool *mp, in rte_mempool_obj_iter()
703 rte_mempool_free(struct rte_mempool *mp) in rte_mempool_free()
781 struct rte_mempool *
788 struct rte_mempool *mp = NULL; in rte_mempool_create_empty()
919 struct rte_mempool *
927 struct rte_mempool *mp; in rte_mempool_create()
1277 struct rte_mempool *mp = NULL; in rte_mempool_list_dump()
1286 mp = (struct rte_mempool *) te->data; in rte_mempool_list_dump()
1294 struct rte_mempool *
1297 struct rte_mempool *mp = NULL; in rte_mempool_lookup()
[all …]
H A Drte_mempool_ops.c75 rte_mempool_ops_alloc(struct rte_mempool *mp) in rte_mempool_ops_alloc()
86 rte_mempool_ops_free(struct rte_mempool *mp) in rte_mempool_ops_free()
99 rte_mempool_ops_get_count(const struct rte_mempool *mp) in rte_mempool_ops_get_count()
111 rte_mempool_ops_calc_mem_size(const struct rte_mempool *mp, in rte_mempool_ops_calc_mem_size()
128 rte_mempool_ops_populate(struct rte_mempool *mp, unsigned int max_objs, in rte_mempool_ops_populate()
150 rte_mempool_ops_get_info(const struct rte_mempool *mp, in rte_mempool_ops_get_info()
164 rte_mempool_set_ops_byname(struct rte_mempool *mp, const char *name, in rte_mempool_set_ops_byname()
H A Drte_mempool_ops_default.c10 rte_mempool_op_calc_mem_size_helper(const struct rte_mempool *mp, in rte_mempool_op_calc_mem_size_helper()
69 rte_mempool_op_calc_mem_size_default(const struct rte_mempool *mp, in rte_mempool_op_calc_mem_size_default()
91 rte_mempool_op_populate_helper(struct rte_mempool *mp, unsigned int flags, in rte_mempool_op_populate_helper()
138 rte_mempool_op_populate_default(struct rte_mempool *mp, unsigned int max_objs, in rte_mempool_op_populate_default()
/f-stack/dpdk/drivers/mempool/ring/
H A Drte_mempool_ring.c13 common_ring_mp_enqueue(struct rte_mempool *mp, void * const *obj_table, in common_ring_mp_enqueue()
21 common_ring_sp_enqueue(struct rte_mempool *mp, void * const *obj_table, in common_ring_sp_enqueue()
29 rts_ring_mp_enqueue(struct rte_mempool *mp, void * const *obj_table, in rts_ring_mp_enqueue()
37 hts_ring_mp_enqueue(struct rte_mempool *mp, void * const *obj_table, in hts_ring_mp_enqueue()
45 common_ring_mc_dequeue(struct rte_mempool *mp, void **obj_table, unsigned n) in common_ring_mc_dequeue()
73 common_ring_get_count(const struct rte_mempool *mp) in common_ring_get_count()
79 ring_alloc(struct rte_mempool *mp, uint32_t rg_flags) in ring_alloc()
109 common_ring_alloc(struct rte_mempool *mp) in common_ring_alloc()
122 rts_ring_alloc(struct rte_mempool *mp) in rts_ring_alloc()
128 hts_ring_alloc(struct rte_mempool *mp) in hts_ring_alloc()
[all …]
/f-stack/dpdk/drivers/mempool/stack/
H A Drte_mempool_stack.c10 __stack_alloc(struct rte_mempool *mp, uint32_t flags) in __stack_alloc()
33 stack_alloc(struct rte_mempool *mp) in stack_alloc()
39 lf_stack_alloc(struct rte_mempool *mp) in lf_stack_alloc()
45 stack_enqueue(struct rte_mempool *mp, void * const *obj_table, in stack_enqueue()
54 stack_dequeue(struct rte_mempool *mp, void **obj_table, in stack_dequeue()
63 stack_get_count(const struct rte_mempool *mp) in stack_get_count()
71 stack_free(struct rte_mempool *mp) in stack_free()
/f-stack/dpdk/app/test/
H A Dsample_packet_forward.h18 struct rte_mempool;
32 int test_get_mbuf_from_pool(struct rte_mempool **mp, struct rte_mbuf **pbuf,
36 int test_get_mempool(struct rte_mempool **mp, char *poolname);
39 void test_put_mbuf_to_pool(struct rte_mempool *mp, struct rte_mbuf **pbuf);
42 void test_mp_free(struct rte_mempool *mp);
H A Dtest_mempool.c193 struct rte_mempool *mp_cov; in test_mempool_creation_with_exceeded_cache_size()
211 static struct rte_mempool *mp_spsc;
364 test_mempool_basic_ex(struct rte_mempool *mp) in test_mempool_basic_ex()
424 struct rte_mempool *mp_tc, *mp_tc2; in test_mempool_same_name_twice_creation()
462 test_mp_mem_init(struct rte_mempool *mp, in test_mp_mem_init()
483 struct rte_mempool *mp_cache = NULL; in test_mempool()
484 struct rte_mempool *mp_nocache = NULL; in test_mempool()
485 struct rte_mempool *mp_stack_anon = NULL; in test_mempool()
486 struct rte_mempool *mp_stack_mempool_iter = NULL; in test_mempool()
487 struct rte_mempool *mp_stack = NULL; in test_mempool()
[all …]
H A Dtest_cryptodev_blockcipher.h93 test_blockcipher_all_tests(struct rte_mempool *mbuf_pool,
94 struct rte_mempool *op_mpool,
95 struct rte_mempool *sess_mpool,
96 struct rte_mempool *sess_priv_mpool,
H A Dsample_packet_forward.c37 test_mp_free(struct rte_mempool *mp) in test_mp_free()
58 test_get_mempool(struct rte_mempool **mp, char *poolname) in test_get_mempool()
69 test_get_mbuf_from_pool(struct rte_mempool **mp, struct rte_mbuf **pbuf, in test_get_mbuf_from_pool()
87 test_put_mbuf_to_pool(struct rte_mempool *mp, struct rte_mbuf **pbuf) in test_put_mbuf_to_pool()
H A Dtest_mempool_perf.c107 my_obj_init(struct rte_mempool *mp, __rte_unused void *arg, in my_obj_init()
120 struct rte_mempool *mp = arg; in per_lcore_mempool_test()
194 launch_cores(struct rte_mempool *mp, unsigned int cores) in launch_cores()
255 do_one_mempool_test(struct rte_mempool *mp, unsigned int cores) in do_one_mempool_test()
285 struct rte_mempool *mp_cache = NULL; in test_mempool_perf()
286 struct rte_mempool *mp_nocache = NULL; in test_mempool_perf()
287 struct rte_mempool *default_pool = NULL; in test_mempool_perf()
/f-stack/dpdk/lib/librte_compressdev/
H A Drte_comp.c59 struct rte_mempool *tmp_mp = op->mempool; in rte_comp_op_reset()
90 rte_comp_op_raw_bulk_alloc(struct rte_mempool *mempool, in rte_comp_op_raw_bulk_alloc()
101 rte_comp_op_init(struct rte_mempool *mempool, in rte_comp_op_init()
115 struct rte_mempool *
125 struct rte_mempool *mp = rte_mempool_lookup(name); in rte_comp_op_pool_create()
171 rte_comp_op_alloc(struct rte_mempool *mempool) in rte_comp_op_alloc()
186 rte_comp_op_bulk_alloc(struct rte_mempool *mempool, in rte_comp_op_bulk_alloc()
H A Drte_comp.h306 struct rte_mempool *mempool;
430 struct rte_mempool *
447 rte_comp_op_alloc(struct rte_mempool *mempool);
464 rte_comp_op_bulk_alloc(struct rte_mempool *mempool,
/f-stack/dpdk/drivers/mempool/octeontx/
H A Drte_mempool_octeontx.c13 octeontx_fpavf_alloc(struct rte_mempool *mp) in octeontx_fpavf_alloc()
46 octeontx_fpavf_free(struct rte_mempool *mp) in octeontx_fpavf_free()
71 octeontx_fpavf_enqueue(struct rte_mempool *mp, void * const *obj_table, in octeontx_fpavf_enqueue()
87 octeontx_fpavf_dequeue(struct rte_mempool *mp, void **obj_table, in octeontx_fpavf_dequeue()
120 octeontx_fpavf_get_count(const struct rte_mempool *mp) in octeontx_fpavf_get_count()
130 octeontx_fpavf_calc_mem_size(const struct rte_mempool *mp, in octeontx_fpavf_calc_mem_size()
156 octeontx_fpavf_populate(struct rte_mempool *mp, unsigned int max_objs, in octeontx_fpavf_populate()
/f-stack/dpdk/lib/librte_cryptodev/
H A Drte_crypto.h110 struct rte_mempool *mempool;
173 __rte_crypto_op_get_priv_data_size(struct rte_mempool *mempool) in __rte_crypto_op_get_priv_data_size()
201 extern struct rte_mempool *
218 __rte_crypto_op_raw_bulk_alloc(struct rte_mempool *mempool, in __rte_crypto_op_raw_bulk_alloc()
246 rte_crypto_op_alloc(struct rte_mempool *mempool, enum rte_crypto_op_type type) in rte_crypto_op_alloc()
276 rte_crypto_op_bulk_alloc(struct rte_mempool *mempool, in rte_crypto_op_bulk_alloc()
/f-stack/dpdk/drivers/mempool/dpaa2/
H A Ddpaa2_hw_mempool.c40 rte_hw_mbuf_create_pool(struct rte_mempool *mp) in rte_hw_mbuf_create_pool()
147 rte_hw_mbuf_free_pool(struct rte_mempool *mp) in rte_hw_mbuf_free_pool()
185 rte_dpaa2_mbuf_release(struct rte_mempool *pool __rte_unused, in rte_dpaa2_mbuf_release()
267 rte_dpaa2_mbuf_pool_bpid(struct rte_mempool *mp) in rte_dpaa2_mbuf_pool_bpid()
281 rte_dpaa2_mbuf_from_buf_addr(struct rte_mempool *mp, void *buf_addr) in rte_dpaa2_mbuf_from_buf_addr()
296 rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool, in rte_dpaa2_mbuf_alloc_bulk()
373 rte_hw_mbuf_free_bulk(struct rte_mempool *pool, in rte_hw_mbuf_free_bulk()
390 rte_hw_mbuf_get_count(const struct rte_mempool *mp) in rte_hw_mbuf_get_count()
419 dpaa2_populate(struct rte_mempool *mp, unsigned int max_objs, in dpaa2_populate()
H A Drte_dpaa2_mempool.h31 rte_dpaa2_mbuf_pool_bpid(struct rte_mempool *mp);
47 rte_dpaa2_mbuf_from_buf_addr(struct rte_mempool *mp, void *buf_addr);
/f-stack/dpdk/app/test-compress-perf/
H A Dcomp_perf_test_common.h26 struct rte_mempool *comp_buf_pool;
27 struct rte_mempool *decomp_buf_pool;
28 struct rte_mempool *op_pool;
/f-stack/dpdk/drivers/mempool/bucket/
H A Drte_mempool_bucket.c56 struct rte_mempool *pool;
62 bucket_stack_create(const struct rte_mempool *mp, unsigned int n_elts) in bucket_stack_create()
140 bucket_enqueue(struct rte_mempool *mp, void * const *obj_table, in bucket_enqueue()
367 count_underfilled_buckets(struct rte_mempool *mp, in count_underfilled_buckets()
392 bucket_get_count(const struct rte_mempool *mp) in bucket_get_count()
402 rte_mempool_mem_iter((struct rte_mempool *)(uintptr_t)mp, in bucket_get_count()
413 struct rte_mempool *mp; in bucket_init_per_lcore()
455 bucket_alloc(struct rte_mempool *mp) in bucket_alloc()
549 bucket_free(struct rte_mempool *mp) in bucket_free()
565 bucket_calc_mem_size(const struct rte_mempool *mp, uint32_t obj_num, in bucket_calc_mem_size()
[all …]
/f-stack/dpdk/lib/librte_mbuf/
H A Drte_mbuf.h138 static inline uint16_t rte_pktmbuf_priv_size(struct rte_mempool *mp);
208 rte_mbuf_buf_addr(struct rte_mbuf *mb, struct rte_mempool *mp) in rte_mbuf_buf_addr()
303 rte_pktmbuf_priv_flags(struct rte_mempool *mp) in rte_pktmbuf_priv_flags()
638 void rte_pktmbuf_init(struct rte_mempool *mp, void *opaque_arg,
694 struct rte_mempool *
736 struct rte_mempool *
791 struct rte_mempool *
810 rte_pktmbuf_data_room_size(struct rte_mempool *mp) in rte_pktmbuf_data_room_size()
831 rte_pktmbuf_priv_size(struct rte_mempool *mp) in rte_pktmbuf_priv_size()
1239 struct rte_mempool *mp = m->pool; in rte_pktmbuf_detach()
[all …]
/f-stack/dpdk/lib/librte_pdump/
H A Drte_pdump.c45 struct rte_mempool *mp;
52 struct rte_mempool *mp;
66 struct rte_mempool *mp;
82 struct rte_mempool *mp; in pdump_copy()
124 struct rte_ring *ring, struct rte_mempool *mp, in pdump_register_rx_callbacks()
178 struct rte_ring *ring, struct rte_mempool *mp, in pdump_register_tx_callbacks()
240 struct rte_mempool *mp; in set_pdump_rxtx_cbs()
371 pdump_validate_ring_mp(struct rte_ring *ring, struct rte_mempool *mp) in pdump_validate_ring_mp()
435 struct rte_mempool *mp, in pdump_prepare_client_request()
485 struct rte_mempool *mp, in rte_pdump_enable()
[all …]
/f-stack/dpdk/lib/librte_ip_frag/
H A Drte_ip_frag.h174 struct rte_mempool *pool_direct,
175 struct rte_mempool *pool_indirect);
250 struct rte_mempool *pool_direct,
251 struct rte_mempool *pool_indirect);
/f-stack/dpdk/lib/librte_gso/
H A Dgso_udp4.h38 struct rte_mempool *direct_pool,
39 struct rte_mempool *indirect_pool,
H A Dgso_tunnel_tcp4.h42 struct rte_mempool *direct_pool,
43 struct rte_mempool *indirect_pool,

12345678910>>...18