Home
last modified time | relevance | path

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

12345678910>>...20

/dpdk/lib/mempool/
H A Drte_mempool.h208 struct rte_mempool { struct
724 rte_mempool_ops_alloc(struct rte_mempool *mp);
891 rte_mempool_ops_free(struct rte_mempool *mp);
1046 struct rte_mempool *
1087 struct rte_mempool *
1103 rte_mempool_free(struct rte_mempool *mp);
1307 struct rte_mempool *mp) in rte_mempool_cache_flush()
1691 rte_mempool_full(const struct rte_mempool *mp) in rte_mempool_full()
1710 rte_mempool_empty(const struct rte_mempool *mp) in rte_mempool_empty()
1744 void rte_mempool_audit(struct rte_mempool *mp);
[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.c49 struct rte_mempool *mp);
796 struct rte_mempool *
803 struct rte_mempool *mp = NULL; in rte_mempool_create_empty()
946 struct rte_mempool *
954 struct rte_mempool *mp; in rte_mempool_create()
1312 struct rte_mempool *mp = NULL; in rte_mempool_list_dump()
1321 mp = (struct rte_mempool *) te->data; in rte_mempool_list_dump()
1329 struct rte_mempool *
1332 struct rte_mempool *mp = NULL; in rte_mempool_lookup()
1341 mp = (struct rte_mempool *) te->data; 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()
/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 …]
/dpdk/drivers/mempool/cnxk/
H A Dcnxk_mempool.h10 unsigned int cnxk_mempool_get_count(const struct rte_mempool *mp);
11 ssize_t cnxk_mempool_calc_mem_size(const struct rte_mempool *mp,
14 int cnxk_mempool_populate(struct rte_mempool *mp, unsigned int max_objs,
18 int cnxk_mempool_alloc(struct rte_mempool *mp);
19 void cnxk_mempool_free(struct rte_mempool *mp);
21 int __rte_hot cnxk_mempool_enq(struct rte_mempool *mp, void *const *obj_table,
23 int __rte_hot cnxk_mempool_deq(struct rte_mempool *mp, void **obj_table,
H A Dcnxk_mempool_ops.c12 cnxk_mempool_enq(struct rte_mempool *mp, void *const *obj_table, unsigned int n) in cnxk_mempool_enq()
28 cnxk_mempool_deq(struct rte_mempool *mp, void **obj_table, unsigned int n) in cnxk_mempool_deq()
52 cnxk_mempool_get_count(const struct rte_mempool *mp) in cnxk_mempool_get_count()
58 cnxk_mempool_calc_mem_size(const struct rte_mempool *mp, uint32_t obj_num, in cnxk_mempool_calc_mem_size()
73 cnxk_mempool_alloc(struct rte_mempool *mp) in cnxk_mempool_alloc()
121 cnxk_mempool_free(struct rte_mempool *mp) in cnxk_mempool_free()
132 cnxk_mempool_populate(struct rte_mempool *mp, unsigned int max_objs, in cnxk_mempool_populate()
/dpdk/app/test/
H A Dsample_packet_forward.h18 struct rte_mempool;
25 int test_dev_start(uint16_t port, struct rte_mempool *mp);
35 int test_get_mbuf_from_pool(struct rte_mempool **mp, struct rte_mbuf **pbuf,
39 int test_get_mempool(struct rte_mempool **mp, char *poolname);
42 void test_put_mbuf_to_pool(struct rte_mempool *mp, struct rte_mbuf **pbuf);
45 void test_mp_free(struct rte_mempool *mp);
H A Dtest_mempool.c192 struct rte_mempool *mp_cov; in test_mempool_creation_with_exceeded_cache_size()
212 struct rte_mempool *mp_cov; in test_mempool_creation_with_invalid_flags()
228 static struct rte_mempool *mp_spsc;
441 struct rte_mempool *mp_tc, *mp_tc2; in test_mempool_same_name_twice_creation()
479 test_mp_mem_init(struct rte_mempool *mp, in test_mp_mem_init()
495 struct rte_mempool *mp;
669 struct rte_mempool *mp; in test_mempool_events_safety()
749 struct rte_mempool *mp = NULL; in test_mempool_flag_non_io_set_when_no_iova_contig_set()
790 struct rte_mempool *mp = NULL; in test_mempool_flag_non_io_unset_when_populated_with_valid_iova()
846 struct rte_mempool *mp_cache = NULL; in test_mempool()
[all …]
H A Dsample_packet_forward.c22 test_dev_start(uint16_t port, struct rte_mempool *mp) in test_dev_start()
66 test_mp_free(struct rte_mempool *mp) in test_mp_free()
87 test_get_mempool(struct rte_mempool **mp, char *poolname) in test_get_mempool()
98 test_get_mbuf_from_pool(struct rte_mempool **mp, struct rte_mbuf **pbuf, in test_get_mbuf_from_pool()
116 test_put_mbuf_to_pool(struct rte_mempool *mp, struct rte_mbuf **pbuf) in test_put_mbuf_to_pool()
H A Dtest_mempool_perf.c115 my_obj_init(struct rte_mempool *mp, __rte_unused void *arg, in my_obj_init()
124 test_loop(struct rte_mempool *mp, struct rte_mempool_cache *cache, in test_loop()
160 struct rte_mempool *mp = arg; in per_lcore_mempool_test()
229 launch_cores(struct rte_mempool *mp, unsigned int cores) in launch_cores()
290 do_one_mempool_test(struct rte_mempool *mp, unsigned int cores) in do_one_mempool_test()
328 struct rte_mempool *mp_cache = NULL; in test_mempool_perf()
329 struct rte_mempool *mp_nocache = NULL; in test_mempool_perf()
330 struct rte_mempool *default_pool = NULL; in test_mempool_perf()
/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()
/dpdk/lib/compressdev/
H A Drte_comp.c58 struct rte_mempool *tmp_mp = op->mempool; in rte_comp_op_reset()
89 rte_comp_op_raw_bulk_alloc(struct rte_mempool *mempool, in rte_comp_op_raw_bulk_alloc()
100 rte_comp_op_init(struct rte_mempool *mempool, in rte_comp_op_init()
114 struct rte_mempool *
124 struct rte_mempool *mp = rte_mempool_lookup(name); in rte_comp_op_pool_create()
170 rte_comp_op_alloc(struct rte_mempool *mempool) in rte_comp_op_alloc()
185 rte_comp_op_bulk_alloc(struct rte_mempool *mempool, in rte_comp_op_bulk_alloc()
/dpdk/app/test-eventdev/
H A Dtest_perf_common.h64 struct rte_mempool *pool;
71 struct rte_mempool *ca_op_pool;
72 struct rte_mempool *ca_sess_pool;
73 struct rte_mempool *ca_sess_priv_pool;
100 struct rte_mempool *const pool = t->pool;\
111 perf_process_last_stage(struct rte_mempool *const pool, in perf_process_last_stage()
132 perf_process_last_stage_latency(struct rte_mempool *const pool, in perf_process_last_stage_latency()
187 void perf_worker_cleanup(struct rte_mempool *const pool, uint8_t dev_id,
/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()
/dpdk/drivers/crypto/cnxk/
H A Dcnxk_cryptodev_ops.h29 struct rte_mempool *pool;
63 struct rte_mempool *req_mp;
72 struct rte_mempool *sess_mp;
74 struct rte_mempool *sess_mp_priv;
107 struct rte_mempool *pool);
112 struct rte_mempool *pool);
/dpdk/lib/pdump/
H A Drte_pdump.h81 struct rte_mempool *mp,
116 struct rte_mempool *mp,
167 struct rte_mempool *mp,
203 struct rte_mempool *mp,
/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()
266 int rte_dpaa2_bpid_info_init(struct rte_mempool *mp) in rte_dpaa2_bpid_info_init()
290 rte_dpaa2_mbuf_pool_bpid(struct rte_mempool *mp) in rte_dpaa2_mbuf_pool_bpid()
304 rte_dpaa2_mbuf_from_buf_addr(struct rte_mempool *mp, void *buf_addr) in rte_dpaa2_mbuf_from_buf_addr()
319 rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool, in rte_dpaa2_mbuf_alloc_bulk()
396 rte_hw_mbuf_free_bulk(struct rte_mempool *pool, in rte_hw_mbuf_free_bulk()
413 rte_hw_mbuf_get_count(const struct rte_mempool *mp) in rte_hw_mbuf_get_count()
448 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);
62 int rte_dpaa2_bpid_info_init(struct rte_mempool *mp);
/dpdk/lib/cryptodev/
H A Drte_crypto.h120 struct rte_mempool *mempool;
192 __rte_crypto_op_get_priv_data_size(struct rte_mempool *mempool) in __rte_crypto_op_get_priv_data_size()
220 extern struct rte_mempool *
237 __rte_crypto_op_raw_bulk_alloc(struct rte_mempool *mempool, in __rte_crypto_op_raw_bulk_alloc()
265 rte_crypto_op_alloc(struct rte_mempool *mempool, enum rte_crypto_op_type type) in rte_crypto_op_alloc()
295 rte_crypto_op_bulk_alloc(struct rte_mempool *mempool, in rte_crypto_op_bulk_alloc()
/dpdk/drivers/common/mlx5/
H A Dmlx5_common_mr.h96 struct rte_mempool *mp;
119 static inline struct rte_mempool *
220 struct rte_mempool *mp, uintptr_t addr);
258 struct rte_mempool *mp, bool is_extmem);
262 struct rte_mempool *mp);
267 struct rte_mempool *mp);
/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 …]
/dpdk/lib/ip_frag/
H A Drte_ip_frag.h102 struct rte_mempool *pool_direct,
103 struct rte_mempool *pool_indirect);
178 struct rte_mempool *pool_direct,
179 struct rte_mempool *pool_indirect);
/dpdk/lib/vhost/
H A Drte_vhost_crypto.h17 struct rte_mempool;
67 struct rte_mempool *sess_pool,
68 struct rte_mempool *sess_priv_pool,
/dpdk/lib/mbuf/
H A Drte_mbuf.h136 static inline uint16_t rte_pktmbuf_priv_size(struct rte_mempool *mp);
200 rte_mbuf_buf_addr(struct rte_mbuf *mb, struct rte_mempool *mp) in rte_mbuf_buf_addr()
277 rte_pktmbuf_priv_flags(struct rte_mempool *mp) in rte_pktmbuf_priv_flags()
614 void rte_pktmbuf_init(struct rte_mempool *mp, void *opaque_arg,
673 struct rte_mempool *
715 struct rte_mempool *
770 struct rte_mempool *
789 rte_pktmbuf_data_room_size(struct rte_mempool *mp) in rte_pktmbuf_data_room_size()
810 rte_pktmbuf_priv_size(struct rte_mempool *mp) in rte_pktmbuf_priv_size()
1218 struct rte_mempool *mp = m->pool; in rte_pktmbuf_detach()
[all …]

12345678910>>...20