| /dpdk/lib/bbdev/ |
| H A D | rte_bbdev.h | 476 struct rte_bbdev_enc_op **ops, uint16_t num_ops) in rte_bbdev_enqueue_enc_ops() argument 480 return dev->enqueue_enc_ops(q_data, ops, num_ops); in rte_bbdev_enqueue_enc_ops() 506 struct rte_bbdev_dec_op **ops, uint16_t num_ops) in rte_bbdev_enqueue_dec_ops() argument 510 return dev->enqueue_dec_ops(q_data, ops, num_ops); in rte_bbdev_enqueue_dec_ops() 536 struct rte_bbdev_enc_op **ops, uint16_t num_ops) in rte_bbdev_enqueue_ldpc_enc_ops() argument 566 struct rte_bbdev_dec_op **ops, uint16_t num_ops) in rte_bbdev_enqueue_ldpc_dec_ops() argument 598 struct rte_bbdev_enc_op **ops, uint16_t num_ops) in rte_bbdev_dequeue_enc_ops() argument 602 return dev->dequeue_enc_ops(q_data, ops, num_ops); in rte_bbdev_dequeue_enc_ops() 630 struct rte_bbdev_dec_op **ops, uint16_t num_ops) in rte_bbdev_dequeue_dec_ops() argument 661 struct rte_bbdev_enc_op **ops, uint16_t num_ops) in rte_bbdev_dequeue_ldpc_enc_ops() argument [all …]
|
| H A D | rte_bbdev_op.h | 864 struct rte_bbdev_enc_op **ops, uint16_t num_ops) in rte_bbdev_enc_op_alloc_bulk() argument 877 ret = rte_mempool_get_bulk(mempool, (void **)ops, num_ops); in rte_bbdev_enc_op_alloc_bulk() 900 struct rte_bbdev_dec_op **ops, uint16_t num_ops) in rte_bbdev_dec_op_alloc_bulk() argument 913 ret = rte_mempool_get_bulk(mempool, (void **)ops, num_ops); in rte_bbdev_dec_op_alloc_bulk() 931 rte_bbdev_dec_op_free_bulk(struct rte_bbdev_dec_op **ops, unsigned int num_ops) in rte_bbdev_dec_op_free_bulk() argument 933 if (num_ops > 0) in rte_bbdev_dec_op_free_bulk() 934 rte_mempool_put_bulk(ops[0]->mempool, (void **)ops, num_ops); in rte_bbdev_dec_op_free_bulk() 948 rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op **ops, unsigned int num_ops) in rte_bbdev_enc_op_free_bulk() argument 950 if (num_ops > 0) in rte_bbdev_enc_op_free_bulk() 951 rte_mempool_put_bulk(ops[0]->mempool, (void **)ops, num_ops); in rte_bbdev_enc_op_free_bulk()
|
| /dpdk/drivers/crypto/ipsec_mb/ |
| H A D | pmd_kasumi.c | 75 struct kasumi_session *session, uint8_t num_ops) in process_kasumi_cipher_op() argument 79 const void *src[num_ops]; in process_kasumi_cipher_op() 80 void *dst[num_ops]; in process_kasumi_cipher_op() 82 uint64_t iv[num_ops]; in process_kasumi_cipher_op() 83 uint32_t num_bytes[num_ops]; in process_kasumi_cipher_op() 85 for (i = 0; i < num_ops; i++) { in process_kasumi_cipher_op() 139 struct kasumi_session *session, uint8_t num_ops) in process_kasumi_hash_op() argument 148 for (i = 0; i < num_ops; i++) { in process_kasumi_hash_op() 191 struct ipsec_mb_qp *qp, uint8_t num_ops) in process_ops() argument 205 = process_kasumi_hash_op(qp, ops, session, num_ops); in process_ops() [all …]
|
| H A D | pmd_zuc.c | 70 uint8_t num_ops) in process_zuc_cipher_op() argument 81 for (i = 0; i < num_ops; i++) { in process_zuc_cipher_op() 137 uint8_t num_ops) in process_zuc_hash_op() argument 150 for (i = 0; i < num_ops; i++) { in process_zuc_hash_op() 198 struct ipsec_mb_qp *qp, uint8_t num_ops) in process_ops() argument 207 sessions, num_ops); in process_ops() 212 num_ops); in process_ops() 217 num_ops); in process_ops() 223 num_ops); in process_ops() 228 for (i = 0; i < num_ops; i++) in process_ops() [all …]
|
| H A D | pmd_snow3g.c | 98 uint8_t num_ops) in process_snow3g_cipher_op() argument 110 for (i = 0; i < num_ops; i++) { in process_snow3g_cipher_op() 157 for (i = 0; i < num_ops; i++) { in process_snow3g_cipher_op() 229 uint8_t num_ops) in process_snow3g_hash_op() argument 239 for (i = 0; i < num_ops; i++) { in process_snow3g_hash_op() 312 for (i = 0; i < num_ops; i++) { in process_ops() 331 session, num_ops); in process_ops() 336 num_ops); in process_ops() 341 num_ops); in process_ops() 347 num_ops); in process_ops() [all …]
|
| /dpdk/app/test-bbdev/ |
| H A D | main.c | 29 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 D | test_bbdev_perf.c | 3149 for (j = 0; j < num_ops; ++j) in throughput_pmd_lcore_dec() 3262 for (j = 0; j < num_ops; ++j) in bler_pmd_lcore_ldpc_dec() 3276 num_ops, true); in bler_pmd_lcore_ldpc_dec() 3313 tp->iter_average /= num_ops; in bler_pmd_lcore_ldpc_dec() 3314 tp->bler = (double) validate_ldpc_bler(ops_deq, num_ops) / num_ops; in bler_pmd_lcore_ldpc_dec() 3390 for (j = 0; j < num_ops; ++j) in throughput_pmd_lcore_ldpc_dec() 3404 num_ops, true); in throughput_pmd_lcore_ldpc_dec() 3490 num_ops); in throughput_pmd_lcore_enc() 3492 num_ops); in throughput_pmd_lcore_enc() 3580 num_ops); in throughput_pmd_lcore_ldpc_enc() [all …]
|
| H A D | test-bbdev.py | 71 if args.num_ops: 72 params.extend(["-n", str(args.num_ops)])
|
| H A D | test_bbdev.c | 658 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()
|
| /dpdk/app/test/ |
| H A D | test_pie.c | 290 uint32_t num_ops, in enqueue_dequeue_func() argument 341 .num_ops = 10000, 415 tcfg->tvar->num_ops, in func_test1() 518 tcfg->tvar->num_ops, in func_test2() 564 .num_ops = 10000, 638 tcfg->tvar->num_ops, in func_test3() 725 uint32_t num_ops, in enqueue_dequeue_perf() argument 780 .num_ops = 30000, 827 tcfg->tvar->num_ops, in perf_test() 856 .num_ops = 30000, [all …]
|
| H A D | test_red.c | 399 .num_ops = 10000, 506 tcfg->tvar->num_ops, in func_test1() 619 tcfg->tvar->num_ops, in func_test2() 938 .num_ops = 10000, 1017 tcfg->tvar->num_ops, in func_test5() 1212 uint32_t num_ops, in enqueue_dequeue_perf() argument 1219 for (i = 0; i < num_ops; i++) { in enqueue_dequeue_perf() 1247 .num_ops = 50000000, 1329 tcfg->tvar->num_ops, in perf1_test() 1356 .num_ops = 10000, [all …]
|
| /dpdk/app/test-compress-perf/ |
| H A D | comp_perf_test_cyclecount.c | 84 uint16_t num_ops = RTE_MIN(remaining_ops, in cperf_cyclecount_op_setup() local 86 ops_needed = num_ops; in cperf_cyclecount_op_setup() 128 num_enq = num_ops; in cperf_cyclecount_op_setup() 136 num_deq = num_ops; in cperf_cyclecount_op_setup() 259 uint16_t num_ops = RTE_MIN(remaining_ops, in main_loop() local 261 uint16_t ops_needed = num_ops - ops_unused; in main_loop() 318 num_ops); in main_loop() 323 if (num_enq < num_ops) in main_loop() 339 ops_unused = num_ops - num_enq; in main_loop()
|
| H A D | comp_perf_test_throughput.c | 135 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 D | comp_perf_test_verify.c | 140 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()
|
| /dpdk/lib/mempool/ |
| H A D | rte_mempool_ops.c | 19 .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 D | rte_mempool.h | 687 uint32_t num_ops; /**< Number of used ops structs in the table. */ member
|
| /dpdk/drivers/crypto/bcmfs/ |
| H A D | bcmfs_device.c | 50 .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 D | bcmfs_device.h | 39 uint32_t num_ops; member
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | bbdev.rst | 297 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 …]
|
| /dpdk/doc/guides/tools/ |
| H A D | testbbdev.rst | 73 ``-n NUM_OPS, --num_ops NUM_OPS`` 74 Specifies number of operations to process on device. If not specified num_ops
|