Lines Matching refs:BATCH_SIZE
44 #define BATCH_SIZE (1 << 12) macro
661 static uint32_t ip_batch[BATCH_SIZE]; in test_lpm_perf()
663 for (j = 0; j < BATCH_SIZE; j++) in test_lpm_perf()
669 for (j = 0; j < BATCH_SIZE; j++) { in test_lpm_perf()
678 (double)total_time / ((double)ITERATIONS * BATCH_SIZE), in test_lpm_perf()
679 (count * 100.0) / (double)(ITERATIONS * BATCH_SIZE)); in test_lpm_perf()
685 static uint32_t ip_batch[BATCH_SIZE]; in test_lpm_perf()
689 for (j = 0; j < BATCH_SIZE; j++) in test_lpm_perf()
694 for (j = 0; j < BATCH_SIZE; j += BULK_SIZE) { in test_lpm_perf()
705 (double)total_time / ((double)ITERATIONS * BATCH_SIZE), in test_lpm_perf()
706 (count * 100.0) / (double)(ITERATIONS * BATCH_SIZE)); in test_lpm_perf()
712 static uint32_t ip_batch[BATCH_SIZE]; in test_lpm_perf()
716 for (j = 0; j < BATCH_SIZE; j++) in test_lpm_perf()
721 for (j = 0; j < BATCH_SIZE; j += RTE_DIM(next_hops)) { in test_lpm_perf()
736 (double)total_time / ((double)ITERATIONS * BATCH_SIZE), in test_lpm_perf()
737 (count * 100.0) / (double)(ITERATIONS * BATCH_SIZE)); in test_lpm_perf()