Lines Matching refs:num_to_process
133 uint16_t num_to_process; member
1162 const uint16_t n = op_params->num_to_process; in fill_queue_buffers()
2317 uint16_t burst_sz, uint16_t num_to_process, uint16_t num_lcores) in init_test_op_params() argument
2332 op_params->num_to_process = num_to_process; in init_test_op_params()
2601 num_ops = tp->op_params->num_to_process; in dequeue_event_callback()
2710 const uint16_t num_to_process = tp->op_params->num_to_process; in throughput_intr_lcore_ldpc_dec() local
2711 struct rte_bbdev_dec_op *ops[num_to_process]; in throughput_intr_lcore_ldpc_dec()
2732 TEST_ASSERT_SUCCESS((num_to_process > info.drv.queue_size_lim), in throughput_intr_lcore_ldpc_dec()
2745 num_to_process); in throughput_intr_lcore_ldpc_dec()
2747 num_to_process); in throughput_intr_lcore_ldpc_dec()
2749 copy_reference_ldpc_dec_op(ops, num_to_process, 0, bufs->inputs, in throughput_intr_lcore_ldpc_dec()
2754 for (j = 0; j < num_to_process; ++j) in throughput_intr_lcore_ldpc_dec()
2758 for (i = 0; i < num_to_process; ++i) { in throughput_intr_lcore_ldpc_dec()
2768 for (enqueued = 0; enqueued < num_to_process;) { in throughput_intr_lcore_ldpc_dec()
2771 if (unlikely(num_to_process - enqueued < num_to_enq)) in throughput_intr_lcore_ldpc_dec()
2772 num_to_enq = num_to_process - enqueued; in throughput_intr_lcore_ldpc_dec()
2813 const uint16_t num_to_process = tp->op_params->num_to_process; in throughput_intr_lcore_dec() local
2814 struct rte_bbdev_dec_op *ops[num_to_process]; in throughput_intr_lcore_dec()
2829 TEST_ASSERT_SUCCESS((num_to_process > info.drv.queue_size_lim), in throughput_intr_lcore_dec()
2842 num_to_process); in throughput_intr_lcore_dec()
2844 num_to_process); in throughput_intr_lcore_dec()
2846 copy_reference_dec_op(ops, num_to_process, 0, bufs->inputs, in throughput_intr_lcore_dec()
2851 for (j = 0; j < num_to_process; ++j) in throughput_intr_lcore_dec()
2855 for (i = 0; i < num_to_process; ++i) in throughput_intr_lcore_dec()
2859 for (enqueued = 0; enqueued < num_to_process;) { in throughput_intr_lcore_dec()
2862 if (unlikely(num_to_process - enqueued < num_to_enq)) in throughput_intr_lcore_dec()
2863 num_to_enq = num_to_process - enqueued; in throughput_intr_lcore_dec()
2903 const uint16_t num_to_process = tp->op_params->num_to_process; in throughput_intr_lcore_enc() local
2904 struct rte_bbdev_enc_op *ops[num_to_process]; in throughput_intr_lcore_enc()
2919 TEST_ASSERT_SUCCESS((num_to_process > info.drv.queue_size_lim), in throughput_intr_lcore_enc()
2932 num_to_process); in throughput_intr_lcore_enc()
2934 num_to_process); in throughput_intr_lcore_enc()
2936 copy_reference_enc_op(ops, num_to_process, 0, bufs->inputs, in throughput_intr_lcore_enc()
2940 for (j = 0; j < num_to_process; ++j) in throughput_intr_lcore_enc()
2944 for (i = 0; i < num_to_process; ++i) in throughput_intr_lcore_enc()
2948 for (enqueued = 0; enqueued < num_to_process;) { in throughput_intr_lcore_enc()
2951 if (unlikely(num_to_process - enqueued < num_to_enq)) in throughput_intr_lcore_enc()
2952 num_to_enq = num_to_process - enqueued; in throughput_intr_lcore_enc()
2993 const uint16_t num_to_process = tp->op_params->num_to_process; in throughput_intr_lcore_ldpc_enc() local
2994 struct rte_bbdev_enc_op *ops[num_to_process]; in throughput_intr_lcore_ldpc_enc()
3009 TEST_ASSERT_SUCCESS((num_to_process > info.drv.queue_size_lim), in throughput_intr_lcore_ldpc_enc()
3022 num_to_process); in throughput_intr_lcore_ldpc_enc()
3024 num_to_process); in throughput_intr_lcore_ldpc_enc()
3026 copy_reference_ldpc_enc_op(ops, num_to_process, 0, in throughput_intr_lcore_ldpc_enc()
3031 for (j = 0; j < num_to_process; ++j) in throughput_intr_lcore_ldpc_enc()
3035 for (i = 0; i < num_to_process; ++i) in throughput_intr_lcore_ldpc_enc()
3039 for (enqueued = 0; enqueued < num_to_process;) { in throughput_intr_lcore_ldpc_enc()
3042 if (unlikely(num_to_process - enqueued < num_to_enq)) in throughput_intr_lcore_ldpc_enc()
3043 num_to_enq = num_to_process - enqueued; in throughput_intr_lcore_ldpc_enc()
3085 const uint16_t num_ops = tp->op_params->num_to_process; in throughput_pmd_lcore_dec()
3182 const uint16_t num_ops = tp->op_params->num_to_process; in bler_pmd_lcore_ldpc_dec()
3313 const uint16_t num_ops = tp->op_params->num_to_process; in throughput_pmd_lcore_ldpc_dec()
3436 const uint16_t num_ops = tp->op_params->num_to_process; in throughput_pmd_lcore_enc()
3527 const uint16_t num_ops = tp->op_params->num_to_process; in throughput_pmd_lcore_ldpc_enc()
3705 op_params->num_to_process, op_params->num_lcores, in bler_test()
3799 op_params->num_to_process, op_params->num_lcores, in throughput_test()
3903 op_params->num_to_process) && in throughput_test()
3917 op_params->num_to_process) && in throughput_test()
3945 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_dec() argument
3953 for (i = 0, dequeued = 0; dequeued < num_to_process; ++i) { in latency_test_dec()
3958 if (unlikely(num_to_process - dequeued < burst_sz)) in latency_test_dec()
3959 burst_sz = num_to_process - dequeued; in latency_test_dec()
4015 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_ldpc_dec() argument
4026 for (i = 0, dequeued = 0; dequeued < num_to_process; ++i) { in latency_test_ldpc_dec()
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()
4104 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_enc() argument
4112 for (i = 0, dequeued = 0; dequeued < num_to_process; ++i) { in latency_test_enc()
4117 if (unlikely(num_to_process - dequeued < burst_sz)) in latency_test_enc()
4118 burst_sz = num_to_process - dequeued; in latency_test_enc()
4171 const uint16_t num_to_process, uint16_t burst_sz, in latency_test_ldpc_enc() argument
4179 for (i = 0, dequeued = 0; dequeued < num_to_process; ++i) { in latency_test_ldpc_enc()
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()
4241 const uint16_t num_to_process = op_params->num_to_process; in validation_latency_test() local
4267 info.dev_name, burst_sz, num_to_process, op_type_str); in validation_latency_test()
4272 ad->dev_id, queue_id, num_to_process, in validation_latency_test()
4277 num_to_process, burst_sz, &total_time, in validation_latency_test()
4282 ad->dev_id, queue_id, num_to_process, in validation_latency_test()
4289 num_to_process, burst_sz, &total_time, in validation_latency_test()
4346 uint16_t queue_id, const uint16_t num_to_process, in offload_latency_test_dec() argument
4355 for (i = 0, dequeued = 0; dequeued < num_to_process; ++i) { in offload_latency_test_dec()
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()
4429 uint16_t queue_id, const uint16_t num_to_process, in offload_latency_test_ldpc_dec() argument
4440 for (i = 0, dequeued = 0; dequeued < num_to_process; ++i) { in offload_latency_test_ldpc_dec()
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()
4524 uint16_t queue_id, const uint16_t num_to_process, in offload_latency_test_enc() argument
4533 for (i = 0, dequeued = 0; dequeued < num_to_process; ++i) { in offload_latency_test_enc()
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()
4607 uint16_t queue_id, const uint16_t num_to_process, in offload_latency_test_ldpc_enc() argument
4616 for (i = 0, dequeued = 0; dequeued < num_to_process; ++i) { in offload_latency_test_ldpc_enc()
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()
4700 const uint16_t num_to_process = op_params->num_to_process; 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()
4791 TEST_ASSERT_SUCCESS(stats.enqueued_count != num_to_process, in offload_cost_test()
4793 stats.enqueued_count, num_to_process); in offload_cost_test()
4794 TEST_ASSERT_SUCCESS(stats.dequeued_count != num_to_process, in offload_cost_test()
4796 stats.dequeued_count, num_to_process); in offload_cost_test()
4812 const uint16_t num_to_process, uint16_t burst_sz, in offload_latency_empty_q_test_dec() argument
4822 for (i = 0, deq_total = 0; deq_total < num_to_process; 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()
4846 const uint16_t num_to_process, uint16_t burst_sz, in offload_latency_empty_q_test_enc() argument
4855 for (i = 0, deq_total = 0; deq_total < num_to_process; 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()
4893 const uint16_t num_to_process = op_params->num_to_process; 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()