Home
last modified time | relevance | path

Searched refs:objs (Results 1 – 25 of 62) sorted by relevance

123

/dpdk/lib/graph/
H A Drte_graph_worker.h140 void **objs; in rte_graph_walk() local
160 objs = node->objs; in rte_graph_walk()
161 rte_prefetch0(objs); in rte_graph_walk()
279 rte_memcpy(&node->objs[idx], objs, nb_objs * sizeof(void *)); in rte_node_enqueue()
306 node->objs[idx++] = obj; in rte_node_enqueue_x1()
336 node->objs[idx++] = obj0; in rte_node_enqueue_x2()
337 node->objs[idx++] = obj1; in rte_node_enqueue_x2()
372 node->objs[idx++] = obj0; in rte_node_enqueue_x4()
437 return &node->objs[idx]; in rte_node_next_stream_get()
496 dst->objs = src->objs; in rte_node_next_stream_move()
[all …]
H A Dgraph_stats.c65 const uint64_t objs = stat->objs; in print_node() local
70 call_delta ? (double)((objs - prev_objs) / call_delta) : 0; in print_node()
75 objs_per_sec = ts_per_hz ? (objs - prev_objs) / ts_per_hz : 0; in print_node()
81 stat->name, calls, objs, stat->realloc_count, objs_per_call, in print_node()
93 if (stat->objs) in graph_cluster_stats_cb()
333 uint64_t calls = 0, cycles = 0, objs = 0, realloc_count = 0; in cluster_node_arregate_stats() local
342 objs += node->total_objs; in cluster_node_arregate_stats()
348 stat->objs = objs; in cluster_node_arregate_stats()
361 stat->prev_objs = stat->objs; in cluster_node_store_prev_stats()
399 node->objs = 0; in rte_graph_cluster_stats_reset()
H A Dgraph.c468 node->objs = rte_realloc_socket(node->objs, size * sizeof(void *), in __rte_node_stream_alloc()
470 RTE_VERIFY(node->objs); in __rte_node_stream_alloc()
484 node->objs = rte_realloc_socket(node->objs, size * sizeof(void *), in __rte_node_stream_alloc_size()
486 RTE_VERIFY(node->objs); in __rte_node_stream_alloc_size()
/dpdk/drivers/mempool/cnxk/
H A Dcn10k_mempool_ops.c22 uint64_t objs[BATCH_ALLOC_SZ] __rte_aligned(ROC_ALIGN);
119 mem->objs, mem->objs, BATCH_ALLOC_SZ); in batch_op_fini()
123 roc_npa_aura_op_bulk_free(mp->pool_id, mem->objs, in batch_op_fini()
174 count += roc_npa_aura_batch_alloc_count(mem->objs, in cn10k_mempool_get_count()
201 rc = roc_npa_aura_batch_alloc_issue(mp->pool_id, mem->objs, in cn10k_mempool_deq()
215 mem->objs, mem->objs, BATCH_ALLOC_SZ); in cn10k_mempool_deq()
229 memcpy(&obj_table[count], &mem->objs[mem->sz - cur_sz], in cn10k_mempool_deq()
240 mp->pool_id, mem->objs, BATCH_ALLOC_SZ, 0, 1); in cn10k_mempool_deq()
/dpdk/app/test/
H A Dtest_graph_perf.c106 void **objs, uint16_t nb_objs) in test_perf_node_worker_source() argument
111 RTE_SET_USED(objs); in test_perf_node_worker_source()
141 RTE_SET_USED(objs); in test_perf_node_worker_source_burst_one()
188 objs[1], objs[2], objs[3]); in test_perf_node_worker()
189 objs += 4; in test_perf_node_worker()
194 objs += 1; in test_perf_node_worker()
199 objs[1]); in test_perf_node_worker()
200 objs += 2; in test_perf_node_worker()
205 objs[1]); in test_perf_node_worker()
207 objs += 3; in test_perf_node_worker()
[all …]
H A Dtest_graph.c33 struct rte_node *node, void **objs,
37 struct rte_node *node, void **objs,
41 struct rte_node *node, void **objs,
45 struct rte_node *node, void **objs,
170 void **objs, uint16_t nb_objs) in test_node_worker_source() argument
179 RTE_SET_USED(objs); in test_node_worker_source()
230 data = (struct rte_mbuf *)objs[i]; in test_node0_worker()
310 data = (struct rte_mbuf *)objs[i]; in test_node1_worker()
364 data = (struct rte_mbuf *)objs[i]; in test_node2_worker()
744 if (obj_stats[i] != st->objs) { in graph_cluster_stats_cb_t()
[all …]
H A Dtest_stack_perf.c113 void *objs[MAX_BURST]; in test_empty_pop() local
119 rte_stack_pop(s, objs, bulk_sizes[0]); in test_empty_pop()
139 void *objs[MAX_BURST] = {0}; in bulk_push_pop() local
152 rte_stack_push(s, objs, size); in bulk_push_pop()
153 rte_stack_pop(s, objs, size); in bulk_push_pop()
276 void *objs[MAX_BURST]; in test_bulk_push_pop() local
283 rte_stack_push(s, objs, bulk_sizes[sz]); in test_bulk_push_pop()
284 rte_stack_pop(s, objs, bulk_sizes[sz]); in test_bulk_push_pop()
/dpdk/lib/node/
H A Dethdev_tx.c16 void **objs, uint16_t nb_objs) in ethdev_tx_node_process() argument
26 count = rte_eth_tx_burst(port, queue, (struct rte_mbuf **)objs, in ethdev_tx_node_process()
32 &objs[count], nb_objs - count); in ethdev_tx_node_process()
H A Dnull.c8 null(struct rte_graph *graph, struct rte_node *node, void **objs, in null() argument
12 RTE_SET_USED(objs); in null()
H A Dpkt_drop.c9 pkt_drop_process(struct rte_graph *graph, struct rte_node *node, void **objs, in pkt_drop_process() argument
15 rte_pktmbuf_free_bulk((struct rte_mbuf **)objs, nb_objs); in pkt_drop_process()
H A Dpkt_cls.c31 void **objs, uint16_t nb_objs) in pkt_cls_node_process() argument
41 pkts = (struct rte_mbuf **)objs; in pkt_cls_node_process()
42 from = objs; in pkt_cls_node_process()
46 rte_prefetch0(&objs[i]); in pkt_cls_node_process()
H A Dip4_lookup_neon.h11 void **objs, uint16_t nb_objs) in ip4_lookup_node_process_vec() argument
34 pkts = (struct rte_mbuf **)objs; in ip4_lookup_node_process_vec()
35 from = objs; in ip4_lookup_node_process_vec()
39 rte_prefetch0(&objs[i]); in ip4_lookup_node_process_vec()
H A Dip4_lookup.c52 void **objs, uint16_t nb_objs) in ip4_lookup_node_process_scalar() argument
69 from = objs; in ip4_lookup_node_process_scalar()
77 mbuf = (struct rte_mbuf *)objs[i]; in ip4_lookup_node_process_scalar()
H A Dethdev_rx.c28 count = rte_eth_rx_burst(port, queue, (struct rte_mbuf **)node->objs, in ethdev_rx_node_process_inline()
42 void **objs, uint16_t cnt) in ethdev_rx_node_process() argument
47 RTE_SET_USED(objs); in ethdev_rx_node_process()
H A Dip4_lookup_sse.h11 void **objs, uint16_t nb_objs) in ip4_lookup_node_process_vec() argument
33 pkts = (struct rte_mbuf **)objs; in ip4_lookup_node_process_vec()
34 from = objs; in ip4_lookup_node_process_vec()
/dpdk/drivers/net/ice/
H A Dmeson.build5 objs = [base_objs] variable
40 objs += ice_avx2_lib.extract_objects('ice_rxtx_vec_avx2.c')
66 objs += ice_avx512_lib.extract_objects('ice_rxtx_vec_avx512.c')
/dpdk/drivers/net/i40e/
H A Dmeson.build10 objs = [base_objs] variable
48 objs += i40e_avx2_lib.extract_objects('i40e_rxtx_vec_avx2.c')
72 objs += i40e_avx512_lib.extract_objects('i40e_rxtx_vec_avx512.c')
/dpdk/drivers/event/cnxk/
H A Dcnxk_tim_worker.h157 uint8_t objs = 0; in cnxk_tim_clr_bkt() local
166 if (objs == TIM_MAX_OUTSTANDING_OBJ) { in cnxk_tim_clr_bkt()
168 objs); in cnxk_tim_clr_bkt()
169 objs = 0; in cnxk_tim_clr_bkt()
171 pend_chunks[objs++] = chunk; in cnxk_tim_clr_bkt()
175 if (objs) in cnxk_tim_clr_bkt()
176 rte_mempool_put_bulk(tim_ring->chunk_pool, pend_chunks, objs); in cnxk_tim_clr_bkt()
/dpdk/lib/stack/
H A Drte_stack_std.h31 cache_objs = &stack->objs[stack->len]; in __rte_stack_std_push()
75 cache_objs = stack->objs; in __rte_stack_std_pop()
/dpdk/drivers/net/sfc/
H A Dsfc_ef10_rx.c109 void *objs[SFC_RX_REFILL_BULK]; in sfc_ef10_rx_qrefill() local
119 bulks = free_space / RTE_DIM(objs); in sfc_ef10_rx_qrefill()
127 if (unlikely(rte_mempool_get_bulk(rxq->refill_mb_pool, objs, in sfc_ef10_rx_qrefill()
128 RTE_DIM(objs)) < 0)) { in sfc_ef10_rx_qrefill()
136 dev_data->rx_mbuf_alloc_failed += RTE_DIM(objs); in sfc_ef10_rx_qrefill()
145 i < RTE_DIM(objs); in sfc_ef10_rx_qrefill()
147 struct rte_mbuf *m = objs[i]; in sfc_ef10_rx_qrefill()
169 added += RTE_DIM(objs); in sfc_ef10_rx_qrefill()
H A Dsfc_ef100_rx.c144 void *objs[SFC_RX_REFILL_BULK]; in sfc_ef100_rx_qrefill() local
152 bulks = free_space / RTE_DIM(objs); in sfc_ef100_rx_qrefill()
159 if (unlikely(rte_mempool_get_bulk(rxq->refill_mb_pool, objs, in sfc_ef100_rx_qrefill()
160 RTE_DIM(objs)) < 0)) { in sfc_ef100_rx_qrefill()
168 dev_data->rx_mbuf_alloc_failed += RTE_DIM(objs); in sfc_ef100_rx_qrefill()
176 for (i = 0; i < RTE_DIM(objs); ++i) { in sfc_ef100_rx_qrefill()
177 struct rte_mbuf *m = objs[i]; in sfc_ef100_rx_qrefill()
/dpdk/drivers/net/iavf/
H A Dmeson.build42 objs += iavf_avx2_lib.extract_objects('iavf_rxtx_vec_avx2.c')
66 objs += iavf_avx512_lib.extract_objects('iavf_rxtx_vec_avx512.c')
/dpdk/lib/mempool/
H A Drte_mempool.h93 void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 3]; /**< Cache objects */ member
1314 rte_mempool_ops_enqueue_bulk(mp, cache->objs, cache->len); in rte_mempool_cache_flush()
1344 cache_objs = &cache->objs[cache->len]; in rte_mempool_do_generic_put()
1359 rte_mempool_ops_enqueue_bulk(mp, &cache->objs[cache->size], in rte_mempool_do_generic_put()
1467 cache_objs = cache->objs; in rte_mempool_do_generic_get()
1476 &cache->objs[cache->len], req); in rte_mempool_do_generic_get()
/dpdk/drivers/
H A Dmeson.build92 objs = [] variable
122 # get dependency objs from strings
170 objs += tmp_lib.extract_all_objects(recursive: true)
179 objects: objs,
224 objects: objs,
/dpdk/lib/
H A Dmeson.build121 objs = [] # other object files to link against, used e.g. for variable
191 objects: objs,
203 objs += static_lib.extract_all_objects(recursive: false)
251 objects: objs,

123