Home
last modified time | relevance | path

Searched refs:num_ops (Results 1 – 21 of 21) sorted by relevance

/f-stack/dpdk/lib/librte_bbdev/
H A Drte_bbdev.h496 struct rte_bbdev_enc_op **ops, uint16_t num_ops) in rte_bbdev_enqueue_enc_ops() argument
500 return dev->enqueue_enc_ops(q_data, ops, num_ops); in rte_bbdev_enqueue_enc_ops()
527 struct rte_bbdev_dec_op **ops, uint16_t num_ops) in rte_bbdev_enqueue_dec_ops() argument
531 return dev->enqueue_dec_ops(q_data, ops, num_ops); in rte_bbdev_enqueue_dec_ops()
558 struct rte_bbdev_enc_op **ops, uint16_t num_ops) in rte_bbdev_enqueue_ldpc_enc_ops() argument
589 struct rte_bbdev_dec_op **ops, uint16_t num_ops) in rte_bbdev_enqueue_ldpc_dec_ops() argument
622 struct rte_bbdev_enc_op **ops, uint16_t num_ops) in rte_bbdev_dequeue_enc_ops() argument
626 return dev->dequeue_enc_ops(q_data, ops, num_ops); in rte_bbdev_dequeue_enc_ops()
655 struct rte_bbdev_dec_op **ops, uint16_t num_ops) in rte_bbdev_dequeue_dec_ops() argument
687 struct rte_bbdev_enc_op **ops, uint16_t num_ops) in rte_bbdev_dequeue_ldpc_enc_ops() argument
[all …]
H A Drte_bbdev_op.h857 struct rte_bbdev_enc_op **ops, uint16_t num_ops) in rte_bbdev_enc_op_alloc_bulk() argument
870 ret = rte_mempool_get_bulk(mempool, (void **)ops, num_ops); in rte_bbdev_enc_op_alloc_bulk()
894 struct rte_bbdev_dec_op **ops, uint16_t num_ops) in rte_bbdev_dec_op_alloc_bulk() argument
907 ret = rte_mempool_get_bulk(mempool, (void **)ops, num_ops); in rte_bbdev_dec_op_alloc_bulk()
926 rte_bbdev_dec_op_free_bulk(struct rte_bbdev_dec_op **ops, unsigned int num_ops) in rte_bbdev_dec_op_free_bulk() argument
928 if (num_ops > 0) in rte_bbdev_dec_op_free_bulk()
929 rte_mempool_put_bulk(ops[0]->mempool, (void **)ops, num_ops); in rte_bbdev_dec_op_free_bulk()
944 rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op **ops, unsigned int num_ops) in rte_bbdev_enc_op_free_bulk() argument
946 if (num_ops > 0) in rte_bbdev_enc_op_free_bulk()
947 rte_mempool_put_bulk(ops[0]->mempool, (void **)ops, num_ops); in rte_bbdev_enc_op_free_bulk()
/f-stack/dpdk/app/test-bbdev/
H A Dmain.c29 unsigned int num_ops; member
130 return test_params.num_ops; in get_num_ops()
211 tp->num_ops = strtol(optarg, NULL, 10); in parse_args()
287 if (tp->num_ops == 0) { in parse_args()
291 tp->num_ops = DEFAULT_OPS; in parse_args()
306 TEST_ASSERT(tp->burst_sz <= tp->num_ops, in parse_args()
308 tp->burst_sz, tp->num_ops); in parse_args()
H A Dtest_bbdev_perf.c3116 for (j = 0; j < num_ops; ++j) in throughput_pmd_lcore_dec()
3230 for (j = 0; j < num_ops; ++j) in bler_pmd_lcore_ldpc_dec()
3244 num_ops, true); in bler_pmd_lcore_ldpc_dec()
3281 tp->iter_average /= num_ops; in bler_pmd_lcore_ldpc_dec()
3282 tp->bler = (double) validate_ldpc_bler(ops_deq, num_ops) / num_ops; in bler_pmd_lcore_ldpc_dec()
3359 for (j = 0; j < num_ops; ++j) in throughput_pmd_lcore_ldpc_dec()
3373 num_ops, true); in throughput_pmd_lcore_ldpc_dec()
3460 num_ops); in throughput_pmd_lcore_enc()
3462 num_ops); in throughput_pmd_lcore_enc()
3551 num_ops); in throughput_pmd_lcore_ldpc_enc()
[all …]
H A Dtest-bbdev.py71 if args.num_ops:
72 params.extend(["-n", str(args.num_ops)])
H A Dtest_bbdev.c658 uint16_t num_ops = 236; in test_bbdev_stats() local
685 rte_bbdev_enqueue_enc_ops(dev_id, queue_id, enc_ops, num_ops); in test_bbdev_stats()
686 rte_bbdev_enqueue_dec_ops(dev_id, queue_id, dec_ops, num_ops); in test_bbdev_stats()
700 TEST_ASSERT(stats.enqueued_count == 2 * num_ops, in test_bbdev_stats()
711 rte_bbdev_dequeue_enc_ops(dev_id, queue_id, enc_proc_ops, num_ops); in test_bbdev_stats()
712 rte_bbdev_dequeue_dec_ops(dev_id, queue_id, dec_proc_ops, num_ops); in test_bbdev_stats()
718 TEST_ASSERT(stats.dequeued_count == 2 * num_ops, in test_bbdev_stats()
/f-stack/dpdk/drivers/crypto/kasumi/
H A Drte_kasumi_pmd.c178 const void *src[num_ops]; in process_kasumi_cipher_op()
179 void *dst[num_ops]; in process_kasumi_cipher_op()
181 uint64_t iv[num_ops]; in process_kasumi_cipher_op()
182 uint32_t num_bytes[num_ops]; in process_kasumi_cipher_op()
184 for (i = 0; i < num_ops; i++) { in process_kasumi_cipher_op()
238 uint8_t num_ops) in process_kasumi_hash_op() argument
246 for (i = 0; i < num_ops; i++) { in process_kasumi_hash_op()
296 session, num_ops); in process_ops()
300 num_ops); in process_ops()
304 num_ops); in process_ops()
[all …]
/f-stack/dpdk/drivers/crypto/zuc/
H A Drte_zuc_pmd.c175 uint8_t num_ops) in process_zuc_cipher_op() argument
186 for (i = 0; i < num_ops; i++) { in process_zuc_cipher_op()
237 uint8_t num_ops) in process_zuc_hash_op() argument
248 for (i = 0; i < num_ops; i++) { in process_zuc_hash_op()
301 struct zuc_qp *qp, uint8_t num_ops, in process_ops() argument
310 sessions, num_ops); in process_ops()
314 num_ops); in process_ops()
318 num_ops); in process_ops()
323 num_ops); in process_ops()
331 for (i = 0; i < num_ops; i++) { in process_ops()
/f-stack/dpdk/drivers/crypto/snow3g/
H A Drte_snow3g_pmd.c186 uint8_t num_ops) in process_snow3g_cipher_op() argument
195 for (i = 0; i < num_ops; i++) { in process_snow3g_cipher_op()
248 uint8_t num_ops) in process_snow3g_hash_op() argument
256 for (i = 0; i < num_ops; i++) { in process_snow3g_hash_op()
297 struct snow3g_qp *qp, uint8_t num_ops, in process_ops() argument
304 for (i = 0; i < num_ops; i++) { in process_ops()
321 session, num_ops); in process_ops()
325 num_ops); in process_ops()
329 num_ops); in process_ops()
334 num_ops); in process_ops()
[all …]
/f-stack/dpdk/lib/librte_mempool/
H A Drte_mempool_ops.c19 .num_ops = 0
31 if (rte_mempool_ops_table.num_ops >= in rte_mempool_register_ops()
55 ops_index = rte_mempool_ops_table.num_ops++; in rte_mempool_register_ops()
174 for (i = 0; i < rte_mempool_ops_table.num_ops; i++) { in rte_mempool_set_ops_byname()
H A Drte_mempool.h654 uint32_t num_ops; /**< Number of used ops structs in the table. */ member
/f-stack/dpdk/app/test-compress-perf/
H A Dcomp_perf_test_cyclecount.c85 uint16_t num_ops = RTE_MIN(remaining_ops, in cperf_cyclecount_op_setup() local
87 ops_needed = num_ops; in cperf_cyclecount_op_setup()
129 num_enq = num_ops; in cperf_cyclecount_op_setup()
137 num_deq = num_ops; in cperf_cyclecount_op_setup()
260 uint16_t num_ops = RTE_MIN(remaining_ops, in main_loop() local
262 uint16_t ops_needed = num_ops - ops_unused; in main_loop()
319 num_ops); in main_loop()
324 if (num_enq < num_ops) in main_loop()
340 ops_unused = num_ops - num_enq; in main_loop()
H A Dcomp_perf_test_throughput.c135 uint16_t num_ops = RTE_MIN(remaining_ops, in main_loop() local
137 uint16_t ops_needed = num_ops - ops_unused; in main_loop()
193 num_ops); in main_loop()
204 ops_unused = num_ops - num_enq; in main_loop()
H A Dcomp_perf_test_verify.c140 uint16_t num_ops = RTE_MIN(remaining_ops, in main_loop() local
142 uint16_t ops_needed = num_ops - ops_unused; in main_loop()
198 num_ops); in main_loop()
209 ops_unused = num_ops - num_enq; in main_loop()
/f-stack/dpdk/app/test/
H A Dtest_red.c375 .num_ops = 10000,
482 tcfg->tvar->num_ops, in func_test1()
595 tcfg->tvar->num_ops, in func_test2()
914 .num_ops = 10000,
993 tcfg->tvar->num_ops, in func_test5()
1188 uint32_t num_ops, in enqueue_dequeue_perf() argument
1195 for (i = 0; i < num_ops; i++) { in enqueue_dequeue_perf()
1223 .num_ops = 50000000,
1305 tcfg->tvar->num_ops, in perf1_test()
1332 .num_ops = 10000,
[all …]
/f-stack/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_device.c50 .num_ops = 0
75 ops_index = bcmfs_hw_queue_pair_ops_table.num_ops++; in bcmfs_hw_queue_pair_register_ops()
116 for (i = 0; i < bcmfs_hw_queue_pair_ops_table.num_ops; i++) in fsdev_allocate_one_dev()
H A Dbcmfs_device.h39 uint32_t num_ops; member
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Dmutex_prof.h39 OP(num_ops, uint64_t, "n_lock_ops") \
/f-stack/dpdk/doc/guides/prog_guide/
H A Dbbdev.rst297 The ``num_ops`` parameter is the number of operations to process which are
300 processing, a return value equal to ``num_ops`` means that all packets have been
306 struct rte_bbdev_enc_op **ops, uint16_t num_ops)
309 struct rte_bbdev_dec_op **ops, uint16_t num_ops)
315 can never be larger than ``num_ops``.
320 struct rte_bbdev_enc_op **ops, uint16_t num_ops)
323 struct rte_bbdev_dec_op **ops, uint16_t num_ops)
390 struct rte_bbdev_enc_op **ops, uint16_t num_ops)
393 struct rte_bbdev_dec_op **ops, uint16_t num_ops)
401 unsigned int num_ops)
[all …]
/f-stack/dpdk/doc/guides/tools/
H A Dtestbbdev.rst73 ``-n NUM_OPS, --num_ops NUM_OPS``
74 Specifies number of operations to process on device. If not specified num_ops
/f-stack/app/redis-5.0.5/deps/jemalloc/
H A DChangeLog220 {num_ops,num_spin_acq,num_wait,max_wait_time,total_wait_time,max_num_thds,
228 {num_ops,num_spin_acq,num_wait,max_wait_time,total_wait_time,max_num_thds,
233 {num_ops,num_spin_acq,num_wait,max_wait_time,total_wait_time,max_num_thds,