/dpdk/drivers/mempool/ring/ |
H A D | rte_mempool_ring.c | 13 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() 52 common_ring_sc_dequeue(struct rte_mempool *mp, void **obj_table, unsigned n) in common_ring_sc_dequeue() 59 rts_ring_mc_dequeue(struct rte_mempool *mp, void **obj_table, unsigned int n) in rts_ring_mc_dequeue() 66 hts_ring_mc_dequeue(struct rte_mempool *mp, void **obj_table, unsigned int n) in hts_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() [all …]
|
/dpdk/drivers/mempool/stack/ |
H A D | rte_mempool_stack.c | 10 __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/mempool/ |
H A D | rte_mempool.c | 163 mempool_add_elem(struct rte_mempool *mp, __rte_unused void *opaque, in mempool_add_elem() 183 rte_mempool_obj_iter(struct rte_mempool *mp, in rte_mempool_obj_iter() 201 rte_mempool_mem_iter(struct rte_mempool *mp, in rte_mempool_mem_iter() 275 rte_mempool_free_memchunks(struct rte_mempool *mp) in rte_mempool_free_memchunks() 298 mempool_ops_alloc_once(struct rte_mempool *mp) in mempool_ops_alloc_once() 317 rte_mempool_populate_iova(struct rte_mempool *mp, char *vaddr, in rte_mempool_populate_iova() 402 rte_mempool_populate_virt(struct rte_mempool *mp, char *addr, in rte_mempool_populate_virt() 456 rte_mempool_get_page_size(struct rte_mempool *mp, size_t *pg_sz) in rte_mempool_get_page_size() 485 rte_mempool_populate_default(struct rte_mempool *mp) in rte_mempool_populate_default() 627 get_anon_size(const struct rte_mempool *mp) in get_anon_size() [all …]
|
H A D | rte_mempool_ops.c | 75 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() 165 rte_mempool_set_ops_byname(struct rte_mempool *mp, const char *name, in rte_mempool_set_ops_byname()
|
H A D | rte_mempool.h | 155 struct rte_mempool *mp; /**< The mempool owning the object. */ member 208 struct rte_mempool *mp; /**< The mempool owning the chunk */ member 335 #define RTE_MEMPOOL_STAT_ADD(mp, name, n) do { \ argument 344 #define RTE_MEMPOOL_STAT_ADD(mp, name, n) do {} while (0) argument 371 #define RTE_MEMPOOL_HEADER_SIZE(mp, cs) \ argument 401 struct rte_mempool *mp = rte_mempool_from_obj(obj); in rte_mempool_get_trailer() local 423 #define RTE_MEMPOOL_CHECK_COOKIES(mp, obj_table_const, n, free) \ argument 426 #define RTE_MEMPOOL_CHECK_COOKIES(mp, obj_table_const, n, free) do {} while (0) argument 448 #define RTE_MEMPOOL_CONTIG_BLOCKS_CHECK_COOKIES(mp, first_obj_table_const, n, \ argument 453 #define RTE_MEMPOOL_CONTIG_BLOCKS_CHECK_COOKIES(mp, first_obj_table_const, n, \ argument [all …]
|
H A D | rte_mempool_ops_default.c | 10 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()
|
/dpdk/app/test/ |
H A D | sample_packet_forward.c | 22 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 D | test_mempool.c | 66 my_obj_init(struct rte_mempool *mp, __rte_unused void *arg, in my_obj_init() 77 test_mempool_basic(struct rte_mempool *mp, int use_external_cache) in test_mempool_basic() 317 my_mp_init(struct rte_mempool *mp, __rte_unused void *arg) in my_mp_init() 381 test_mempool_basic_ex(struct rte_mempool *mp) in test_mempool_basic_ex() 469 walk_cb(struct rte_mempool *mp, void *userdata __rte_unused) in walk_cb() 479 test_mp_mem_init(struct rte_mempool *mp, in test_mp_mem_init() 495 struct rte_mempool *mp; member 502 struct rte_mempool *mp, void *user_data) in test_mempool_events_cb() 512 test_mempool_events(int (*populate)(struct rte_mempool *mp)) in test_mempool_events() 524 struct rte_mempool *mp[mempool_num], *freed; in test_mempool_events() local [all …]
|
H A D | test_pdump.c | 52 struct rte_mempool *mp = NULL; in run_pdump_client_tests() local 144 struct rte_mempool *mp; in send_pkts() local
|
H A D | test_sched.c | 92 struct rte_mempool * mp; in create_mempool() local 141 struct rte_mempool *mp = NULL; in test_sched() local
|
H A D | test_func_reentrancy.c | 139 my_obj_init(struct rte_mempool *mp, __rte_unused void *arg, in my_obj_init() 150 struct rte_mempool *mp; in mempool_clean() local 169 struct rte_mempool * mp; in mempool_create_lookup() local
|
/dpdk/drivers/mempool/cnxk/ |
H A D | cn10k_mempool_ops.c | 83 batch_op_init(struct rte_mempool *mp) in batch_op_init() 113 batch_op_fini(struct rte_mempool *mp) in batch_op_fini() 153 cn10k_mempool_enq(struct rte_mempool *mp, void *const *obj_table, in cn10k_mempool_enq() 185 cn10k_mempool_get_count(const struct rte_mempool *mp) in cn10k_mempool_get_count() 216 mempool_deq(struct rte_mempool *mp, void **obj_table, unsigned int n) in mempool_deq() 222 mempool_deq_batch_async(struct rte_mempool *mp, void **obj_table, unsigned int n) in mempool_deq_batch_async() 287 mempool_deq_batch_sync(struct rte_mempool *mp, void **obj_table, unsigned int n) in mempool_deq_batch_sync() 330 cn10k_mempool_deq(struct rte_mempool *mp, void **obj_table, unsigned int n) in cn10k_mempool_deq() 357 cn10k_mempool_alloc(struct rte_mempool *mp) in cn10k_mempool_alloc() 396 cn10k_mempool_free(struct rte_mempool *mp) in cn10k_mempool_free()
|
H A D | cn10k_hwpool_ops.c | 18 struct rte_mempool *mp; in cn10k_hwpool_enq() local 52 struct rte_mempool *mp; in cn10k_hwpool_deq() local 96 struct rte_mempool *mp; in cn10k_hwpool_alloc() local 183 struct rte_mempool *mp; in cn10k_hwpool_populate() local 231 rte_pmd_cnxk_mempool_is_hwpool(struct rte_mempool *mp) in rte_pmd_cnxk_mempool_is_hwpool() 237 rte_pmd_cnxk_mempool_range_check_disable(struct rte_mempool *mp) in rte_pmd_cnxk_mempool_range_check_disable()
|
H A D | cn9k_mempool_ops.c | 11 cn9k_mempool_enq(struct rte_mempool *mp, void *const *obj_table, unsigned int n) in cn9k_mempool_enq() 24 cn9k_mempool_deq(struct rte_mempool *mp, void **obj_table, unsigned int n) in cn9k_mempool_deq() 46 cn9k_mempool_alloc(struct rte_mempool *mp) in cn9k_mempool_alloc()
|
/dpdk/drivers/mempool/bucket/ |
H A D | rte_mempool_bucket.c | 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() 279 bucket_dequeue(struct rte_mempool *mp, void **obj_table, unsigned int n) in bucket_dequeue() 310 bucket_dequeue_contig_blocks(struct rte_mempool *mp, void **first_obj_table, in bucket_dequeue_contig_blocks() 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() 413 struct rte_mempool *mp; in bucket_init_per_lcore() local 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/pdump/ |
H A D | rte_pdump.c | 45 struct rte_mempool *mp; member 59 struct rte_mempool *mp; member 93 struct rte_mempool *mp; in pdump_copy() local 171 struct rte_ring *ring, struct rte_mempool *mp, in pdump_register_rx_callbacks() 228 struct rte_ring *ring, struct rte_mempool *mp, in pdump_register_tx_callbacks() 293 struct rte_mempool *mp; in set_pdump_rxtx_cbs() local 453 pdump_validate_ring_mp(struct rte_ring *ring, struct rte_mempool *mp) in pdump_validate_ring_mp() 527 struct rte_mempool *mp, in pdump_prepare_client_request() 586 struct rte_ring *ring, struct rte_mempool *mp, in pdump_enable() 612 struct rte_mempool *mp, in rte_pdump_enable() [all …]
|
/dpdk/drivers/mempool/dpaa/ |
H A D | dpaa_mempool.c | 44 dpaa_mbuf_create_pool(struct rte_mempool *mp) in dpaa_mbuf_create_pool() 141 dpaa_mbuf_free_pool(struct rte_mempool *mp) in dpaa_mbuf_free_pool() 295 dpaa_mbuf_get_count(const struct rte_mempool *mp) in dpaa_mbuf_get_count() 312 dpaa_populate(struct rte_mempool *mp, unsigned int max_objs, in dpaa_populate()
|
/dpdk/drivers/common/mlx5/ |
H A D | mlx5_common_mr.c | 45 struct rte_mempool *mp; member 1360 mlx5_range_from_mempool_chunk(struct rte_mempool *mp, void *opaque, in mlx5_range_from_mempool_chunk() 1377 mlx5_mempool_get_chunks(struct rte_mempool *mp, struct mlx5_range **out, in mlx5_mempool_get_chunks() 1399 mlx5_mempool_get_extmem_cb(struct rte_mempool *mp, void *opaque, in mlx5_mempool_get_extmem_cb() 1457 mlx5_mempool_get_extmem(struct rte_mempool *mp, struct mlx5_range **out, in mlx5_mempool_get_extmem() 1488 mlx5_get_mempool_ranges(struct rte_mempool *mp, bool is_extmem, in mlx5_get_mempool_ranges() 1535 mlx5_mempool_reg_analyze(struct rte_mempool *mp, bool is_extmem, in mlx5_mempool_reg_analyze() 1585 mlx5_mempool_reg_create(struct rte_mempool *mp, unsigned int mrs_n, in mlx5_mempool_reg_create() 1636 struct rte_mempool *mp) in mlx5_mempool_reg_lookup() 1675 void *pd, struct rte_mempool *mp, in mlx5_mr_mempool_register_primary() [all …]
|
/dpdk/drivers/mempool/dpaa2/ |
H A D | dpaa2_hw_mempool.h | 48 struct rte_mempool *mp; /**< DPDK RTE EAL pool reference */ member 59 #define mempool_to_bpinfo(mp) ((struct dpaa2_bp_info *)(mp)->pool_data) argument 60 #define mempool_to_bpid(mp) ((mempool_to_bpinfo(mp))->bpid) argument
|
/dpdk/lib/mbuf/ |
H A D | rte_mbuf.c | 33 rte_pktmbuf_pool_init(struct rte_mempool *mp, void *opaque_arg) in rte_pktmbuf_pool_init() 73 rte_pktmbuf_init(struct rte_mempool *mp, in rte_pktmbuf_init() 164 __rte_pktmbuf_init_extmem(struct rte_mempool *mp, in __rte_pktmbuf_init_extmem() 227 struct rte_mempool *mp; in rte_pktmbuf_pool_create_by_ops() local 291 struct rte_mempool *mp; in rte_pktmbuf_pool_create_extbuf() local 516 rte_pktmbuf_clone(struct rte_mbuf *md, struct rte_mempool *mp) in rte_pktmbuf_clone() 592 rte_pktmbuf_copy(const struct rte_mbuf *m, struct rte_mempool *mp, in rte_pktmbuf_copy()
|
H A D | rte_mbuf.h | 237 rte_mbuf_buf_addr(struct rte_mbuf *mb, struct rte_mempool *mp) in rte_mbuf_buf_addr() argument 314 rte_pktmbuf_priv_flags(struct rte_mempool *mp) in rte_pktmbuf_priv_flags() argument 596 static inline struct rte_mbuf *rte_mbuf_raw_alloc(struct rte_mempool *mp) in rte_mbuf_raw_alloc() argument 822 rte_pktmbuf_data_room_size(struct rte_mempool * mp) rte_pktmbuf_data_room_size() argument 843 rte_pktmbuf_priv_size(struct rte_mempool * mp) rte_pktmbuf_priv_size() argument 904 rte_pktmbuf_alloc(struct rte_mempool * mp) rte_pktmbuf_alloc() argument 1254 struct rte_mempool *mp = m->pool; rte_pktmbuf_detach() local [all...] |
/dpdk/drivers/net/sfc/ |
H A D | sfc_nic_dma.c | 95 sfc_nic_dma_register_mempool(struct sfc_adapter *sa, struct rte_mempool *mp) in sfc_nic_dma_register_mempool() 152 sfc_mempool_event_cb(enum rte_mempool_event event, struct rte_mempool *mp, in sfc_mempool_event_cb() 173 sfc_mempool_walk_cb(struct rte_mempool *mp, void *arg) in sfc_mempool_walk_cb()
|
/dpdk/app/graph/ |
H A D | mempool_priv.h | 12 struct rte_mempool *mp[RTE_MAX_ETHPORTS]; member
|
H A D | mempool.c | 28 struct rte_mempool *mp; in mempool_process() local
|
/dpdk/lib/node/ |
H A D | rte_node_eth_api.h | 38 struct rte_mempool **mp; member
|