Lines Matching refs:burst_sz
132 uint16_t burst_sz; member
153 rte_atomic16_t burst_sz; member
2317 uint16_t burst_sz, uint16_t num_to_process, uint16_t num_lcores) in init_test_op_params() argument
2331 op_params->burst_sz = burst_sz; in init_test_op_params()
2351 unsigned int burst_sz = get_burst_sz(); in run_test_case_on_device() local
2378 burst_sz, in run_test_case_on_device()
2576 uint16_t deq, burst_sz, num_ops; in dequeue_event_callback() local
2600 burst_sz = rte_atomic16_read(&tp->burst_sz); in dequeue_event_callback()
2607 burst_sz); in dequeue_event_callback()
2612 burst_sz); in dequeue_event_callback()
2617 burst_sz); in dequeue_event_callback()
2622 burst_sz); in dequeue_event_callback()
2624 if (deq < burst_sz) { in dequeue_event_callback()
2627 burst_sz, deq); in dequeue_event_callback()
2709 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_intr_lcore_ldpc_dec() local
2723 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_intr_lcore_ldpc_dec()
2769 num_to_enq = burst_sz; in throughput_intr_lcore_ldpc_dec()
2790 rte_atomic16_set(&tp->burst_sz, num_to_enq); in throughput_intr_lcore_ldpc_dec()
2812 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_intr_lcore_dec() local
2820 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_intr_lcore_dec()
2860 num_to_enq = burst_sz; in throughput_intr_lcore_dec()
2880 rte_atomic16_set(&tp->burst_sz, num_to_enq); in throughput_intr_lcore_dec()
2902 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_intr_lcore_enc() local
2910 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_intr_lcore_enc()
2949 num_to_enq = burst_sz; in throughput_intr_lcore_enc()
2969 rte_atomic16_set(&tp->burst_sz, num_to_enq); in throughput_intr_lcore_enc()
2992 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_intr_lcore_ldpc_enc() local
3000 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_intr_lcore_ldpc_enc()
3040 num_to_enq = burst_sz; in throughput_intr_lcore_ldpc_enc()
3061 rte_atomic16_set(&tp->burst_sz, num_to_enq); in throughput_intr_lcore_ldpc_enc()
3084 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_pmd_lcore_dec() local
3094 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_pmd_lcore_dec()
3127 num_to_enq = burst_sz; in throughput_pmd_lcore_dec()
3181 const uint16_t burst_sz = tp->op_params->burst_sz; in bler_pmd_lcore_ldpc_dec() local
3198 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in bler_pmd_lcore_ldpc_dec()
3248 num_to_enq = burst_sz; in bler_pmd_lcore_ldpc_dec()
3312 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_pmd_lcore_ldpc_dec() local
3328 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_pmd_lcore_ldpc_dec()
3377 num_to_enq = burst_sz; in throughput_pmd_lcore_ldpc_dec()
3435 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_pmd_lcore_enc() local
3445 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_pmd_lcore_enc()
3480 num_to_enq = burst_sz; in throughput_pmd_lcore_enc()
3526 const uint16_t burst_sz = tp->op_params->burst_sz; in throughput_pmd_lcore_ldpc_enc() local
3536 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in throughput_pmd_lcore_ldpc_enc()
3571 num_to_enq = burst_sz; in throughput_pmd_lcore_ldpc_enc()
3704 info.dev_name, ad->nb_queues, op_params->burst_sz, in bler_test()
3798 info.dev_name, ad->nb_queues, op_params->burst_sz, in throughput_test()
3945 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_dec() argument
3958 if (unlikely(num_to_process - dequeued < burst_sz)) in latency_test_dec()
3959 burst_sz = num_to_process - dequeued; in latency_test_dec()
3961 ret = rte_bbdev_dec_op_alloc_bulk(mempool, ops_enq, burst_sz); in latency_test_dec()
3965 copy_reference_dec_op(ops_enq, burst_sz, dequeued, in latency_test_dec()
3972 for (j = 0; j < burst_sz; ++j) in latency_test_dec()
3978 burst_sz); in latency_test_dec()
3979 TEST_ASSERT(enq == burst_sz, in latency_test_dec()
3981 burst_sz, enq); in latency_test_dec()
3986 &ops_deq[deq], burst_sz - deq); in latency_test_dec()
3991 } while (unlikely(burst_sz != deq)); in latency_test_dec()
3998 ret = validate_dec_op(ops_deq, burst_sz, ref_op, in latency_test_dec()
4015 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_ldpc_dec() argument
4031 if (unlikely(num_to_process - dequeued < burst_sz)) in latency_test_ldpc_dec()
4032 burst_sz = num_to_process - dequeued; in latency_test_ldpc_dec()
4034 ret = rte_bbdev_dec_op_alloc_bulk(mempool, ops_enq, burst_sz); in latency_test_ldpc_dec()
4047 copy_reference_ldpc_dec_op(ops_enq, burst_sz, dequeued, in latency_test_ldpc_dec()
4057 burst_sz, true); in latency_test_ldpc_dec()
4060 for (j = 0; j < burst_sz; ++j) in latency_test_ldpc_dec()
4066 &ops_enq[enq], burst_sz); in latency_test_ldpc_dec()
4067 TEST_ASSERT(enq == burst_sz, in latency_test_ldpc_dec()
4069 burst_sz, enq); in latency_test_ldpc_dec()
4074 &ops_deq[deq], burst_sz - deq); in latency_test_ldpc_dec()
4079 } while (unlikely(burst_sz != deq)); in latency_test_ldpc_dec()
4086 retrieve_harq_ddr(dev_id, queue_id, ops_enq, burst_sz); in latency_test_ldpc_dec()
4089 ret = validate_ldpc_dec_op(ops_deq, burst_sz, ref_op, in latency_test_ldpc_dec()
4104 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_enc() argument
4117 if (unlikely(num_to_process - dequeued < burst_sz)) in latency_test_enc()
4118 burst_sz = num_to_process - dequeued; in latency_test_enc()
4120 ret = rte_bbdev_enc_op_alloc_bulk(mempool, ops_enq, burst_sz); in latency_test_enc()
4124 copy_reference_enc_op(ops_enq, burst_sz, dequeued, in latency_test_enc()
4130 for (j = 0; j < burst_sz; ++j) in latency_test_enc()
4136 burst_sz); in latency_test_enc()
4137 TEST_ASSERT(enq == burst_sz, in latency_test_enc()
4139 burst_sz, enq); in latency_test_enc()
4144 &ops_deq[deq], burst_sz - deq); in latency_test_enc()
4149 } while (unlikely(burst_sz != deq)); in latency_test_enc()
4156 ret = validate_enc_op(ops_deq, burst_sz, ref_op); in latency_test_enc()
4171 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_ldpc_enc() argument
4184 if (unlikely(num_to_process - dequeued < burst_sz)) in latency_test_ldpc_enc()
4185 burst_sz = num_to_process - dequeued; in latency_test_ldpc_enc()
4187 ret = rte_bbdev_enc_op_alloc_bulk(mempool, ops_enq, burst_sz); in latency_test_ldpc_enc()
4191 copy_reference_ldpc_enc_op(ops_enq, burst_sz, dequeued, in latency_test_ldpc_enc()
4197 for (j = 0; j < burst_sz; ++j) in latency_test_ldpc_enc()
4203 &ops_enq[enq], burst_sz); in latency_test_ldpc_enc()
4204 TEST_ASSERT(enq == burst_sz, in latency_test_ldpc_enc()
4206 burst_sz, enq); in latency_test_ldpc_enc()
4211 &ops_deq[deq], burst_sz - deq); in latency_test_ldpc_enc()
4216 } while (unlikely(burst_sz != deq)); in latency_test_ldpc_enc()
4223 ret = validate_enc_op(ops_deq, burst_sz, ref_op); in latency_test_ldpc_enc()
4240 uint16_t burst_sz = op_params->burst_sz; in validation_latency_test() local
4252 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in validation_latency_test()
4267 info.dev_name, burst_sz, num_to_process, op_type_str); in validation_latency_test()
4273 burst_sz, &total_time, &min_time, &max_time); in validation_latency_test()
4277 num_to_process, burst_sz, &total_time, in validation_latency_test()
4283 burst_sz, &total_time, &min_time, &max_time, in validation_latency_test()
4289 num_to_process, burst_sz, &total_time, in validation_latency_test()
4347 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_dec() argument
4358 if (unlikely(num_to_process - dequeued < burst_sz)) in offload_latency_test_dec()
4359 burst_sz = num_to_process - dequeued; in offload_latency_test_dec()
4361 rte_bbdev_dec_op_alloc_bulk(mempool, ops_enq, burst_sz); in offload_latency_test_dec()
4363 copy_reference_dec_op(ops_enq, burst_sz, dequeued, in offload_latency_test_dec()
4373 &ops_enq[enq], burst_sz - enq); in offload_latency_test_dec()
4374 } while (unlikely(burst_sz != enq)); in offload_latency_test_dec()
4414 while (burst_sz != deq) in offload_latency_test_dec()
4416 &ops_deq[deq], burst_sz - deq); in offload_latency_test_dec()
4430 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_ldpc_dec() argument
4443 if (unlikely(num_to_process - dequeued < burst_sz)) in offload_latency_test_ldpc_dec()
4444 burst_sz = num_to_process - dequeued; in offload_latency_test_ldpc_dec()
4446 rte_bbdev_dec_op_alloc_bulk(mempool, ops_enq, burst_sz); in offload_latency_test_ldpc_dec()
4448 copy_reference_ldpc_dec_op(ops_enq, burst_sz, dequeued, in offload_latency_test_ldpc_dec()
4458 burst_sz, true); in offload_latency_test_ldpc_dec()
4464 &ops_enq[enq], burst_sz - enq); in offload_latency_test_ldpc_dec()
4465 } while (unlikely(burst_sz != enq)); in offload_latency_test_ldpc_dec()
4505 while (burst_sz != deq) in offload_latency_test_ldpc_dec()
4507 &ops_deq[deq], burst_sz - deq); in offload_latency_test_ldpc_dec()
4511 retrieve_harq_ddr(dev_id, queue_id, ops_enq, burst_sz); in offload_latency_test_ldpc_dec()
4525 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_enc() argument
4536 if (unlikely(num_to_process - dequeued < burst_sz)) in offload_latency_test_enc()
4537 burst_sz = num_to_process - dequeued; in offload_latency_test_enc()
4539 ret = rte_bbdev_enc_op_alloc_bulk(mempool, ops_enq, burst_sz); in offload_latency_test_enc()
4543 copy_reference_enc_op(ops_enq, burst_sz, dequeued, in offload_latency_test_enc()
4552 &ops_enq[enq], burst_sz - enq); in offload_latency_test_enc()
4553 } while (unlikely(burst_sz != enq)); in offload_latency_test_enc()
4592 while (burst_sz != deq) in offload_latency_test_enc()
4594 &ops_deq[deq], burst_sz - deq); in offload_latency_test_enc()
4608 uint16_t burst_sz, struct test_time_stats *time_st) in offload_latency_test_ldpc_enc() argument
4619 if (unlikely(num_to_process - dequeued < burst_sz)) in offload_latency_test_ldpc_enc()
4620 burst_sz = num_to_process - dequeued; in offload_latency_test_ldpc_enc()
4622 ret = rte_bbdev_enc_op_alloc_bulk(mempool, ops_enq, burst_sz); in offload_latency_test_ldpc_enc()
4626 copy_reference_ldpc_enc_op(ops_enq, burst_sz, dequeued, in offload_latency_test_ldpc_enc()
4635 &ops_enq[enq], burst_sz - enq); in offload_latency_test_ldpc_enc()
4636 } while (unlikely(burst_sz != enq)); in offload_latency_test_ldpc_enc()
4675 while (burst_sz != deq) in offload_latency_test_ldpc_enc()
4677 &ops_deq[deq], burst_sz - deq); in offload_latency_test_ldpc_enc()
4699 uint16_t burst_sz = op_params->burst_sz; in offload_cost_test()
4713 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in offload_cost_test()
4724 info.dev_name, burst_sz, num_to_process, op_type_str); in offload_cost_test()
4729 num_to_process, burst_sz, &time_st); in offload_cost_test()
4733 num_to_process, burst_sz, &time_st); in offload_cost_test()
4737 num_to_process, burst_sz, &time_st); in offload_cost_test()
4741 num_to_process, burst_sz, &time_st); in offload_cost_test()
4745 num_to_process, burst_sz, &time_st); in offload_cost_test()
4812 const uint16_t num_to_process, uint16_t burst_sz, in offload_latency_empty_q_test_dec() argument
4823 ++i, deq_total += burst_sz) { in offload_latency_empty_q_test_dec()
4826 if (unlikely(num_to_process - deq_total < burst_sz)) in offload_latency_empty_q_test_dec()
4827 burst_sz = num_to_process - deq_total; in offload_latency_empty_q_test_dec()
4830 burst_sz); in offload_latency_empty_q_test_dec()
4833 burst_sz); in offload_latency_empty_q_test_dec()
4846 const uint16_t num_to_process, uint16_t burst_sz, in offload_latency_empty_q_test_enc() argument
4856 ++i, deq_total += burst_sz) { in offload_latency_empty_q_test_enc()
4859 if (unlikely(num_to_process - deq_total < burst_sz)) in offload_latency_empty_q_test_enc()
4860 burst_sz = num_to_process - deq_total; in offload_latency_empty_q_test_enc()
4863 burst_sz); in offload_latency_empty_q_test_enc()
4866 burst_sz); in offload_latency_empty_q_test_enc()
4892 uint16_t burst_sz = op_params->burst_sz; in offload_latency_empty_q_test()
4902 TEST_ASSERT_SUCCESS((burst_sz > MAX_BURST), in offload_latency_empty_q_test()
4912 info.dev_name, burst_sz, num_to_process, op_type_str); in offload_latency_empty_q_test()
4917 num_to_process, burst_sz, &deq_total_time, in offload_latency_empty_q_test()
4921 num_to_process, burst_sz, &deq_total_time, in offload_latency_empty_q_test()