Lines Matching refs:burst_sz

132 	uint16_t burst_sz;  member
153 uint16_t burst_sz; member
2363 uint16_t burst_sz, uint16_t num_to_process, uint16_t num_lcores) in init_test_op_params() argument
2377 op_params->burst_sz = burst_sz; in init_test_op_params()
2397 unsigned int burst_sz = get_burst_sz(); in run_test_case_on_device() local
2424 burst_sz, in run_test_case_on_device()
2622 uint16_t deq, burst_sz, num_ops; in dequeue_event_callback() local
2646 burst_sz = __atomic_load_n(&tp->burst_sz, __ATOMIC_RELAXED); in dequeue_event_callback()
2653 burst_sz); in dequeue_event_callback()
2658 burst_sz); in dequeue_event_callback()
2663 burst_sz); in dequeue_event_callback()
2668 burst_sz); in dequeue_event_callback()
2670 if (deq < burst_sz) { in dequeue_event_callback()
2673 burst_sz, deq); in dequeue_event_callback()
2755 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_intr_lcore_ldpc_dec() local
2769 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_intr_lcore_ldpc_dec()
2814 num_to_enq = burst_sz; in throughput_intr_lcore_ldpc_dec()
2835 __atomic_store_n(&tp->burst_sz, num_to_enq, __ATOMIC_RELAXED); in throughput_intr_lcore_ldpc_dec()
2855 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_intr_lcore_dec() local
2863 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_intr_lcore_dec()
2902 num_to_enq = burst_sz; in throughput_intr_lcore_dec()
2922 __atomic_store_n(&tp->burst_sz, num_to_enq, __ATOMIC_RELAXED); in throughput_intr_lcore_dec()
2942 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_intr_lcore_enc() local
2950 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_intr_lcore_enc()
2988 num_to_enq = burst_sz; in throughput_intr_lcore_enc()
3008 __atomic_store_n(&tp->burst_sz, num_to_enq, __ATOMIC_RELAXED); in throughput_intr_lcore_enc()
3029 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_intr_lcore_ldpc_enc() local
3037 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_intr_lcore_ldpc_enc()
3076 num_to_enq = burst_sz; in throughput_intr_lcore_ldpc_enc()
3097 __atomic_store_n(&tp->burst_sz, num_to_enq, __ATOMIC_RELAXED); in throughput_intr_lcore_ldpc_enc()
3118 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_pmd_lcore_dec() local
3128 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_pmd_lcore_dec()
3160 num_to_enq = burst_sz; in throughput_pmd_lcore_dec()
3214 const uint16_t burst_sz = tp->op_params->burst_sz; in bler_pmd_lcore_ldpc_dec() local
3231 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in bler_pmd_lcore_ldpc_dec()
3280 num_to_enq = burst_sz; in bler_pmd_lcore_ldpc_dec()
3344 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_pmd_lcore_ldpc_dec() local
3360 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_pmd_lcore_ldpc_dec()
3408 num_to_enq = burst_sz; in throughput_pmd_lcore_ldpc_dec()
3466 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_pmd_lcore_enc() local
3476 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_pmd_lcore_enc()
3510 num_to_enq = burst_sz; in throughput_pmd_lcore_enc()
3556 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_pmd_lcore_ldpc_enc() local
3566 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_pmd_lcore_ldpc_enc()
3600 num_to_enq = burst_sz; in throughput_pmd_lcore_ldpc_enc()
3733 info.dev_name, ad->nb_queues, op_params->burst_sz, in bler_test()
3827 info.dev_name, ad->nb_queues, op_params->burst_sz, in throughput_test()
3974 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_dec() argument
3987 if (unlikely(num_to_process - dequeued < burst_sz)) in latency_test_dec()
3988 burst_sz = num_to_process - dequeued; in latency_test_dec()
3990 ret = rte_bbdev_dec_op_alloc_bulk(mempool, ops_enq, burst_sz); in latency_test_dec()
3994 copy_reference_dec_op(ops_enq, burst_sz, dequeued, in latency_test_dec()
4001 for (j = 0; j < burst_sz; ++j) in latency_test_dec()
4007 burst_sz); in latency_test_dec()
4008 TEST_ASSERT(enq == burst_sz, in latency_test_dec()
4010 burst_sz, enq); in latency_test_dec()
4015 &ops_deq[deq], burst_sz - deq); in latency_test_dec()
4020 } while (unlikely(burst_sz != deq)); in latency_test_dec()
4027 ret = validate_dec_op(ops_deq, burst_sz, ref_op, in latency_test_dec()
4044 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_ldpc_dec() argument
4060 if (unlikely(num_to_process - dequeued < burst_sz)) in latency_test_ldpc_dec()
4061 burst_sz = num_to_process - dequeued; in latency_test_ldpc_dec()
4063 ret = rte_bbdev_dec_op_alloc_bulk(mempool, ops_enq, burst_sz); in latency_test_ldpc_dec()
4076 copy_reference_ldpc_dec_op(ops_enq, burst_sz, dequeued, in latency_test_ldpc_dec()
4086 burst_sz, true); in latency_test_ldpc_dec()
4089 for (j = 0; j < burst_sz; ++j) in latency_test_ldpc_dec()
4095 &ops_enq[enq], burst_sz); in latency_test_ldpc_dec()
4096 TEST_ASSERT(enq == burst_sz, in latency_test_ldpc_dec()
4098 burst_sz, enq); in latency_test_ldpc_dec()
4103 &ops_deq[deq], burst_sz - deq); in latency_test_ldpc_dec()
4108 } while (unlikely(burst_sz != deq)); in latency_test_ldpc_dec()
4115 retrieve_harq_ddr(dev_id, queue_id, ops_enq, burst_sz); in latency_test_ldpc_dec()
4118 ret = validate_ldpc_dec_op(ops_deq, burst_sz, ref_op, in latency_test_ldpc_dec()
4133 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_enc() argument
4146 if (unlikely(num_to_process - dequeued < burst_sz)) in latency_test_enc()
4147 burst_sz = num_to_process - dequeued; in latency_test_enc()
4149 ret = rte_bbdev_enc_op_alloc_bulk(mempool, ops_enq, burst_sz); in latency_test_enc()
4153 copy_reference_enc_op(ops_enq, burst_sz, dequeued, in latency_test_enc()
4159 for (j = 0; j < burst_sz; ++j) in latency_test_enc()
4165 burst_sz); in latency_test_enc()
4166 TEST_ASSERT(enq == burst_sz, in latency_test_enc()
4168 burst_sz, enq); in latency_test_enc()
4173 &ops_deq[deq], burst_sz - deq); in latency_test_enc()
4178 } while (unlikely(burst_sz != deq)); in latency_test_enc()
4185 ret = validate_enc_op(ops_deq, burst_sz, ref_op); in latency_test_enc()
4200 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_ldpc_enc() argument
4213 if (unlikely(num_to_process - dequeued < burst_sz)) in latency_test_ldpc_enc()
4214 burst_sz = num_to_process - dequeued; in latency_test_ldpc_enc()
4216 ret = rte_bbdev_enc_op_alloc_bulk(mempool, ops_enq, burst_sz); in latency_test_ldpc_enc()
4220 copy_reference_ldpc_enc_op(ops_enq, burst_sz, dequeued, in latency_test_ldpc_enc()
4226 for (j = 0; j < burst_sz; ++j) in latency_test_ldpc_enc()
4232 &ops_enq[enq], burst_sz); in latency_test_ldpc_enc()
4233 TEST_ASSERT(enq == burst_sz, in latency_test_ldpc_enc()
4235 burst_sz, enq); in latency_test_ldpc_enc()
4240 &ops_deq[deq], burst_sz - deq); in latency_test_ldpc_enc()
4245 } while (unlikely(burst_sz != deq)); in latency_test_ldpc_enc()
4252 ret = validate_enc_op(ops_deq, burst_sz, ref_op); in latency_test_ldpc_enc()
4269 uint16_t burst_sz = op_params->burst_sz; in validation_latency_test() local
4281 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in validation_latency_test()
4296 info.dev_name, burst_sz, num_to_process, op_type_str); in validation_latency_test()
4302 burst_sz, &total_time, &min_time, &max_time); in validation_latency_test()
4306 num_to_process, burst_sz, &total_time, in validation_latency_test()
4312 burst_sz, &total_time, &min_time, &max_time, in validation_latency_test()
4318 num_to_process, burst_sz, &total_time, in validation_latency_test()
4376 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_dec() argument
4387 if (unlikely(num_to_process - dequeued < burst_sz)) in offload_latency_test_dec()
4388 burst_sz = num_to_process - dequeued; in offload_latency_test_dec()
4390 rte_bbdev_dec_op_alloc_bulk(mempool, ops_enq, burst_sz); in offload_latency_test_dec()
4392 copy_reference_dec_op(ops_enq, burst_sz, dequeued, in offload_latency_test_dec()
4402 &ops_enq[enq], burst_sz - enq); in offload_latency_test_dec()
4403 } while (unlikely(burst_sz != enq)); in offload_latency_test_dec()
4443 while (burst_sz != deq) in offload_latency_test_dec()
4445 &ops_deq[deq], burst_sz - deq); in offload_latency_test_dec()
4459 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_ldpc_dec() argument
4472 if (unlikely(num_to_process - dequeued < burst_sz)) in offload_latency_test_ldpc_dec()
4473 burst_sz = num_to_process - dequeued; in offload_latency_test_ldpc_dec()
4475 rte_bbdev_dec_op_alloc_bulk(mempool, ops_enq, burst_sz); in offload_latency_test_ldpc_dec()
4477 copy_reference_ldpc_dec_op(ops_enq, burst_sz, dequeued, in offload_latency_test_ldpc_dec()
4487 burst_sz, true); in offload_latency_test_ldpc_dec()
4493 &ops_enq[enq], burst_sz - enq); in offload_latency_test_ldpc_dec()
4494 } while (unlikely(burst_sz != enq)); in offload_latency_test_ldpc_dec()
4534 while (burst_sz != deq) in offload_latency_test_ldpc_dec()
4536 &ops_deq[deq], burst_sz - deq); in offload_latency_test_ldpc_dec()
4540 retrieve_harq_ddr(dev_id, queue_id, ops_enq, burst_sz); in offload_latency_test_ldpc_dec()
4554 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_enc() argument
4565 if (unlikely(num_to_process - dequeued < burst_sz)) in offload_latency_test_enc()
4566 burst_sz = num_to_process - dequeued; in offload_latency_test_enc()
4568 ret = rte_bbdev_enc_op_alloc_bulk(mempool, ops_enq, burst_sz); in offload_latency_test_enc()
4572 copy_reference_enc_op(ops_enq, burst_sz, dequeued, in offload_latency_test_enc()
4581 &ops_enq[enq], burst_sz - enq); in offload_latency_test_enc()
4582 } while (unlikely(burst_sz != enq)); in offload_latency_test_enc()
4621 while (burst_sz != deq) in offload_latency_test_enc()
4623 &ops_deq[deq], burst_sz - deq); in offload_latency_test_enc()
4637 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_ldpc_enc() argument
4648 if (unlikely(num_to_process - dequeued < burst_sz)) in offload_latency_test_ldpc_enc()
4649 burst_sz = num_to_process - dequeued; in offload_latency_test_ldpc_enc()
4651 ret = rte_bbdev_enc_op_alloc_bulk(mempool, ops_enq, burst_sz); in offload_latency_test_ldpc_enc()
4655 copy_reference_ldpc_enc_op(ops_enq, burst_sz, dequeued, in offload_latency_test_ldpc_enc()
4664 &ops_enq[enq], burst_sz - enq); in offload_latency_test_ldpc_enc()
4665 } while (unlikely(burst_sz != enq)); in offload_latency_test_ldpc_enc()
4704 while (burst_sz != deq) in offload_latency_test_ldpc_enc()
4706 &ops_deq[deq], burst_sz - deq); in offload_latency_test_ldpc_enc()
4728 uint16_t burst_sz = op_params->burst_sz; in offload_cost_test()
4742 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in offload_cost_test()
4753 info.dev_name, burst_sz, num_to_process, op_type_str); in offload_cost_test()
4758 num_to_process, burst_sz, &time_st); in offload_cost_test()
4762 num_to_process, burst_sz, &time_st); in offload_cost_test()
4766 num_to_process, burst_sz, &time_st); in offload_cost_test()
4770 num_to_process, burst_sz, &time_st); in offload_cost_test()
4774 num_to_process, burst_sz, &time_st); in offload_cost_test()
4841 const uint16_t num_to_process, uint16_t burst_sz, in offload_latency_empty_q_test_dec() argument
4852 ++i, deq_total += burst_sz) { in offload_latency_empty_q_test_dec()
4855 if (unlikely(num_to_process - deq_total < burst_sz)) in offload_latency_empty_q_test_dec()
4856 burst_sz = num_to_process - deq_total; in offload_latency_empty_q_test_dec()
4859 burst_sz); in offload_latency_empty_q_test_dec()
4862 burst_sz); in offload_latency_empty_q_test_dec()
4875 const uint16_t num_to_process, uint16_t burst_sz, in offload_latency_empty_q_test_enc() argument
4885 ++i, deq_total += burst_sz) { in offload_latency_empty_q_test_enc()
4888 if (unlikely(num_to_process - deq_total < burst_sz)) in offload_latency_empty_q_test_enc()
4889 burst_sz = num_to_process - deq_total; in offload_latency_empty_q_test_enc()
4892 burst_sz); in offload_latency_empty_q_test_enc()
4895 burst_sz); in offload_latency_empty_q_test_enc()
4921 uint16_t burst_sz = op_params->burst_sz; in offload_latency_empty_q_test()
4931 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in offload_latency_empty_q_test()
4941 info.dev_name, burst_sz, num_to_process, op_type_str); in offload_latency_empty_q_test()
4946 num_to_process, burst_sz, &deq_total_time, in offload_latency_empty_q_test()
4950 num_to_process, burst_sz, &deq_total_time, in offload_latency_empty_q_test()