Home
last modified time | relevance | path

Searched refs:NUM_PACKETS (Results 1 – 9 of 9) sorted by relevance

/dpdk/app/test/
H A Dsample_packet_forward.c106 if (rte_pktmbuf_alloc_bulk(*mp, pbuf, NUM_PACKETS) != 0) { in test_get_mbuf_from_pool()
120 for (itr = 0; itr < NUM_PACKETS; itr++) in test_put_mbuf_to_pool()
130 if (rte_eth_tx_burst(portid, queue_id, pbuf, NUM_PACKETS) in test_packet_forward()
131 < NUM_PACKETS) { in test_packet_forward()
136 if (rte_eth_rx_burst(portid, queue_id, pbuf, NUM_PACKETS) in test_packet_forward()
137 < NUM_PACKETS) { in test_packet_forward()
H A Dtest_pcapng.c20 #define NUM_PACKETS 10 macro
113 mp = rte_pktmbuf_pool_create_by_ops("pcapng_test_pool", NUM_PACKETS, in test_setup()
128 struct rte_mbuf *clones[NUM_PACKETS] = { }; in test_write_packets()
138 for (i = 0; i < NUM_PACKETS; i++) { in test_write_packets()
151 len = rte_pcapng_write_packets(pcapng, clones, NUM_PACKETS); in test_write_packets()
153 rte_pktmbuf_free_bulk(clones, NUM_PACKETS); in test_write_packets()
171 NUM_PACKETS, 0); in test_write_stats()
H A Dsample_packet_forward.h15 #define NUM_PACKETS 10 macro
H A Dtest_pdump.c143 struct rte_mbuf *pbuf[NUM_PACKETS] = { }; in send_pkts()
/dpdk/drivers/event/octeontx/
H A Dssovf_evdev_selftest.c25 #define NUM_PACKETS (1 << 18) macro
49 static int seqn_list[NUM_PACKETS];
54 RTE_BUILD_BUG_ON(NUM_PACKETS < MAX_EVENTS); in seqn_list_init()
62 if (seqn_list_index >= NUM_PACKETS) in seqn_list_update()
1360 while (counter < NUM_PACKETS) { in worker_ordered_flow_producer()
1399 NUM_PACKETS, nr_ports, RTE_SCHED_TYPE_ATOMIC); in test_producer_consumer_ingress_order_test()
1401 return seqn_list_check(NUM_PACKETS); in test_producer_consumer_ingress_order_test()
/dpdk/drivers/event/cnxk/
H A Dcnxk_eventdev_selftest.c23 #define NUM_PACKETS (1024) macro
48 static int seqn_list[NUM_PACKETS];
53 RTE_BUILD_BUG_ON(NUM_PACKETS < MAX_EVENTS); in seqn_list_init()
61 if (seqn_list_index >= NUM_PACKETS) in seqn_list_update()
1371 while (counter < NUM_PACKETS) { in worker_ordered_flow_producer()
1410 launch_workers_and_wait(worker_ordered_flow_producer, fn, NUM_PACKETS, in test_producer_consumer_ingress_order_test()
1413 return seqn_list_check(NUM_PACKETS); in test_producer_consumer_ingress_order_test()
/dpdk/drivers/event/dpaa2/
H A Ddpaa2_eventdev_selftest.c28 #define NUM_PACKETS (1 << 18) macro
510 RTE_BUILD_BUG_ON(NUM_PACKETS < MAX_EVENTS); in launch_workers_and_wait()
/dpdk/drivers/event/opdl/
H A Dopdl_test.c31 #define NUM_PACKETS (1<<18) macro
/dpdk/drivers/event/sw/
H A Dsw_evdev_selftest.c30 #define NUM_PACKETS (1<<18) macro
2979 while (count < NUM_PACKETS) { in worker_loopback_worker_fn()
3039 while (count < NUM_PACKETS) { in worker_loopback_producer_fn()