Lines Matching refs:BATCH_SIZE
54 #define BATCH_SIZE (1 << 12) macro
671 static uint32_t ip_batch[BATCH_SIZE]; in test_lpm_perf()
673 for (j = 0; j < BATCH_SIZE; j++) in test_lpm_perf()
679 for (j = 0; j < BATCH_SIZE; j++) { in test_lpm_perf()
688 (double)total_time / ((double)ITERATIONS * BATCH_SIZE), in test_lpm_perf()
689 (count * 100.0) / (double)(ITERATIONS * BATCH_SIZE)); in test_lpm_perf()
695 static uint32_t ip_batch[BATCH_SIZE]; in test_lpm_perf()
699 for (j = 0; j < BATCH_SIZE; j++) in test_lpm_perf()
704 for (j = 0; j < BATCH_SIZE; j += BULK_SIZE) { in test_lpm_perf()
715 (double)total_time / ((double)ITERATIONS * BATCH_SIZE), in test_lpm_perf()
716 (count * 100.0) / (double)(ITERATIONS * BATCH_SIZE)); in test_lpm_perf()
722 static uint32_t ip_batch[BATCH_SIZE]; in test_lpm_perf()
726 for (j = 0; j < BATCH_SIZE; j++) in test_lpm_perf()
731 for (j = 0; j < BATCH_SIZE; j += RTE_DIM(next_hops)) { in test_lpm_perf()
746 (double)total_time / ((double)ITERATIONS * BATCH_SIZE), in test_lpm_perf()
747 (count * 100.0) / (double)(ITERATIONS * BATCH_SIZE)); in test_lpm_perf()