Searched refs:NUM_PACKETS (Results 1 – 9 of 9) sorted by relevance
| /dpdk/app/test/ |
| H A D | sample_packet_forward.c | 106 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 D | test_pcapng.c | 20 #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 D | sample_packet_forward.h | 15 #define NUM_PACKETS 10 macro
|
| H A D | test_pdump.c | 143 struct rte_mbuf *pbuf[NUM_PACKETS] = { }; in send_pkts()
|
| /dpdk/drivers/event/octeontx/ |
| H A D | ssovf_evdev_selftest.c | 25 #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 D | cnxk_eventdev_selftest.c | 23 #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 D | dpaa2_eventdev_selftest.c | 28 #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 D | opdl_test.c | 31 #define NUM_PACKETS (1<<18) macro
|
| /dpdk/drivers/event/sw/ |
| H A D | sw_evdev_selftest.c | 30 #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()
|