Searched refs:BATCH_SIZE (Results 1 – 8 of 8) sorted by relevance
| /dpdk/app/test/ |
| H A D | test_lpm_perf.c | 46 #define BATCH_SIZE (1 << 12) macro 656 static uint32_t ip_batch[BATCH_SIZE]; in test_lpm_perf() 658 for (j = 0; j < BATCH_SIZE; j++) in test_lpm_perf() 664 for (j = 0; j < BATCH_SIZE; j++) { in test_lpm_perf() 673 (double)total_time / ((double)ITERATIONS * BATCH_SIZE), in test_lpm_perf() 674 (count * 100.0) / (double)(ITERATIONS * BATCH_SIZE)); in test_lpm_perf() 680 static uint32_t ip_batch[BATCH_SIZE]; in test_lpm_perf() 684 for (j = 0; j < BATCH_SIZE; j++) in test_lpm_perf() 689 for (j = 0; j < BATCH_SIZE; j += BULK_SIZE) { in test_lpm_perf() 700 (double)total_time / ((double)ITERATIONS * BATCH_SIZE), in test_lpm_perf() [all …]
|
| H A D | test_event_timer_adapter.c | 42 #define BATCH_SIZE 16 macro 1310 struct rte_event evs[BATCH_SIZE]; in event_timer_arm() 1365 struct rte_event evs[BATCH_SIZE]; in event_timer_arm_double() 1412 struct rte_event evs[BATCH_SIZE]; in event_timer_arm_expiry() 1466 struct rte_event evs[BATCH_SIZE]; in event_timer_arm_rearm() 1677 struct rte_event evs[BATCH_SIZE]; in event_timer_cancel() 1744 struct rte_event evs[BATCH_SIZE]; in event_timer_cancel_double()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | ptr_compress_lib.rst | 62 #define BATCH_SIZE (128) 78 struct item *ptrs_send[BATCH_SIZE] = {0}; 83 for (;n_send < BATCH_SIZE; n_send++) 88 ring, sizeof(uint32_t), BATCH_SIZE, &zcd, NULL); 109 struct item *ptrs_recv[BATCH_SIZE] = {0}; 116 ring, sizeof(uint32_t), BATCH_SIZE, &zcd, NULL);
|
| /dpdk/examples/eventdev_pipeline/ |
| H A D | pipeline_worker_tx.c | 137 struct rte_event ev[BATCH_SIZE + 1]; in worker_do_tx_single_burst() 146 nb_rx = rte_event_dequeue_burst(dev, port, ev, BATCH_SIZE, 0); in worker_do_tx_single_burst() 184 struct rte_event ev[BATCH_SIZE + 1]; in worker_do_tx_single_burst_atq() 193 nb_rx = rte_event_dequeue_burst(dev, port, ev, BATCH_SIZE, 0); in worker_do_tx_single_burst_atq() 336 struct rte_event ev[BATCH_SIZE]; in worker_do_tx_burst() 346 nb_rx = rte_event_dequeue_burst(dev, port, ev, BATCH_SIZE, 0); in worker_do_tx_burst() 392 struct rte_event ev[BATCH_SIZE]; in worker_do_tx_burst_atq() 402 nb_rx = rte_event_dequeue_burst(dev, port, ev, BATCH_SIZE, 0); in worker_do_tx_burst_atq()
|
| H A D | pipeline_common.h | 24 #define BATCH_SIZE 16 macro
|
| H A D | pipeline_worker_generic.c | 72 struct rte_event events[BATCH_SIZE]; in worker_generic_burst()
|
| /dpdk/lib/eventdev/ |
| H A D | rte_event_crypto_adapter.c | 22 #define BATCH_SIZE 32 macro 29 #define MAX_OPS_IN_BUFFER BATCH_SIZE 34 #define CRYPTO_ADAPTER_OPS_BUFFER_SZ (MAX_OPS_IN_BUFFER + BATCH_SIZE) 214 return bufp->count >= BATCH_SIZE; in eca_circular_buffer_batch_ready() 635 struct rte_event ev[BATCH_SIZE]; in eca_crypto_adapter_enq_run() 656 event_port_id, ev, BATCH_SIZE, 0); in eca_crypto_adapter_enq_run() 680 struct rte_event events[BATCH_SIZE]; in eca_ops_enqueue_burst() 688 num = RTE_MIN(num, BATCH_SIZE); in eca_ops_enqueue_burst() 785 struct rte_crypto_op *ops[BATCH_SIZE]; in eca_crypto_adapter_deq_run() 820 ops, BATCH_SIZE); in eca_crypto_adapter_deq_run()
|
| H A D | rte_event_eth_rx_adapter.c | 32 #define BATCH_SIZE 32 macro 34 #define ETH_EVENT_BUFFER_SIZE (6*BATCH_SIZE) 990 buf->count >= BATCH_SIZE ? in rxa_buffer_mbufs() 991 buf->count - BATCH_SIZE : 0, in rxa_buffer_mbufs() 1012 uint32_t nb_req = buf->tail + BATCH_SIZE; in rxa_pkt_buf_available() 1018 if (buf->head >= BATCH_SIZE) { in rxa_pkt_buf_available() 1036 struct rte_mbuf *mbufs[BATCH_SIZE]; in rxa_eth_rx() 1047 if (buf->count >= BATCH_SIZE) in rxa_eth_rx() 1052 n = rte_eth_rx_burst(port_id, queue_id, mbufs, BATCH_SIZE); in rxa_eth_rx() 1213 if (buf->count >= BATCH_SIZE) { in rxa_intr_ring_dequeue() [all...] |