Home
last modified time | relevance | path

Searched refs:rte_crypto_op (Results 1 – 25 of 118) sorted by relevance

12345

/dpdk/lib/cryptodev/
H A Drte_crypto.h83 struct rte_crypto_op { struct
239 struct rte_crypto_op **ops, uint16_t nb_ops) in __rte_crypto_op_raw_bulk_alloc()
264 static inline struct rte_crypto_op *
267 struct rte_crypto_op *op = NULL; in rte_crypto_op_alloc()
297 struct rte_crypto_op **ops, uint16_t nb_ops) in rte_crypto_op_bulk_alloc()
353 rte_crypto_op_free(struct rte_crypto_op *op) in rte_crypto_op_free()
370 static inline struct rte_crypto_op *
380 if (unlikely(m->priv_size < (sizeof(struct rte_crypto_op) + in rte_crypto_sym_op_alloc_from_mbuf_priv_data()
385 struct rte_crypto_op *op = (struct rte_crypto_op *)(m + 1); in rte_crypto_sym_op_alloc_from_mbuf_priv_data()
431 rte_crypto_op_attach_sym_session(struct rte_crypto_op *op, in rte_crypto_op_attach_sym_session()
[all …]
H A Drte_cryptodev_core.h21 struct rte_crypto_op **ops, uint16_t nb_ops);
25 struct rte_crypto_op **ops, uint16_t nb_ops);
/dpdk/examples/ipsec-secgw/
H A Desp.h12 struct rte_crypto_op *cop);
16 struct rte_crypto_op *cop);
20 struct rte_crypto_op *cop);
24 struct rte_crypto_op *cop);
H A Dipsec_process.c24 free_cops(struct rte_crypto_op *cop[], uint32_t n) in free_cops()
34 enqueue_cop_bulk(struct cdev_qp *cqp, struct rte_crypto_op *cop[], uint32_t num) in enqueue_cop_bulk()
186 struct rte_crypto_op *cop[cnt]; in ipsec_prepare_crypto_group()
359 cqp_dequeue(struct cdev_qp *cqp, struct rte_crypto_op *cop[], uint32_t num) in cqp_dequeue()
374 ctx_dequeue(struct ipsec_ctx *ctx, struct rte_crypto_op *cop[], uint32_t num) in ctx_dequeue()
401 struct rte_crypto_op *cop[RTE_DIM(trf->ipsec.pkts)]; in ipsec_cqp_process()
415 ng = rte_ipsec_pkt_crypto_group((const struct rte_crypto_op **) in ipsec_cqp_process()
/dpdk/app/test/
H A Dtest_cryptodev_asym_util.h11 struct rte_crypto_op *result_op) in rsa_verify()
21 struct rte_crypto_op *result_op) in verify_modinv()
30 struct rte_crypto_op *result_op) in verify_modexp()
39 uint8_t *sign_s, struct rte_crypto_op *result_op) in verify_ecdsa_sign()
50 struct rte_crypto_op *result_op) in verify_ecpm()
/dpdk/drivers/crypto/qat/
H A Dqat_sym.h127 qat_sym_enqueue_burst(void *qp, struct rte_crypto_op **ops,
131 qat_sym_dequeue_burst(void *qp, struct rte_crypto_op **ops,
165 struct rte_crypto_op *op) in qat_bpicipher_postprocess()
223 qat_crc_verify(struct qat_sym_session *ctx, struct rte_crypto_op *op) in qat_crc_verify()
247 struct rte_crypto_op *op) in qat_crc_generate()
269 struct rte_crypto_op *op; in qat_sym_preprocess_requests()
274 op = (struct rte_crypto_op *)ops[i]; in qat_sym_preprocess_requests()
296 struct rte_crypto_op *rx_op = (struct rte_crypto_op *)(uintptr_t) in qat_sym_process_response()
/dpdk/lib/vhost/
H A Drte_vhost_crypto.h18 struct rte_crypto_op;
116 struct rte_crypto_op **ops, uint16_t nb_ops);
136 rte_vhost_crypto_finalize_requests(struct rte_crypto_op **ops,
/dpdk/app/test-crypto-perf/
H A Dcperf_test_pmd_cyclecount.c27 struct rte_crypto_op **ops;
28 struct rte_crypto_op **ops_processed;
57 sizeof(struct rte_crypto_op) + sizeof(struct rte_crypto_sym_op);
102 size_t alloc_sz = sizeof(struct rte_crypto_op *) * in cperf_pmd_cyclecount_test_constructor()
117 uint16_t iv_offset = sizeof(struct rte_crypto_op) + in cperf_pmd_cyclecount_test_constructor()
161 struct rte_crypto_op **ops = &state->ctx->ops[cur_iter_op]; in pmd_cyclecount_bench_ops()
212 struct rte_crypto_op **ops = &state->ctx->ops[cur_iter_op]; in pmd_cyclecount_build_ops()
247 struct rte_crypto_op **ops = &state->ctx->ops[cur_iter_op]; in pmd_cyclecount_bench_enq()
277 struct rte_crypto_op **ops_processed = in pmd_cyclecount_bench_deq()
H A Dcperf_test_throughput.c85 uint16_t iv_offset = sizeof(struct rte_crypto_op) + in cperf_throughput_test_constructor()
115 struct rte_crypto_op *ops[ctx->options->max_burst_size]; in cperf_throughput_test_runner()
116 struct rte_crypto_op *ops_processed[ctx->options->max_burst_size]; in cperf_throughput_test_runner()
147 uint16_t iv_offset = sizeof(struct rte_crypto_op) + in cperf_throughput_test_runner()
195 struct rte_crypto_op *); in cperf_throughput_test_runner()
/dpdk/drivers/crypto/cnxk/
H A Dcn10k_cryptodev_ops.c22 cn10k_cpt_sym_temp_sess_create(struct cnxk_cpt_qp *qp, struct rte_crypto_op *op) in cn10k_cpt_sym_temp_sess_create()
52 cpt_sec_inst_fill(struct cnxk_cpt_qp *qp, struct rte_crypto_op *op, in cpt_sec_inst_fill()
80 cpt_sym_inst_fill(struct cnxk_cpt_qp *qp, struct rte_crypto_op *op, in cpt_sym_inst_fill()
99 cn10k_cpt_fill_inst(struct cnxk_cpt_qp *qp, struct rte_crypto_op *ops[], in cn10k_cpt_fill_inst()
107 struct rte_crypto_op *op; in cn10k_cpt_fill_inst()
189 cn10k_cpt_enqueue_burst(void *qptr, struct rte_crypto_op **ops, uint16_t nb_ops) in cn10k_cpt_enqueue_burst()
268 cn10k_cpt_crypto_adapter_enqueue(uintptr_t base, struct rte_crypto_op *op) in cn10k_cpt_crypto_adapter_enqueue()
342 cn10k_cpt_sec_post_process(struct rte_crypto_op *cop, in cn10k_cpt_sec_post_process()
379 struct rte_crypto_op *cop, in cn10k_cpt_dequeue_post_process()
477 struct rte_crypto_op *cop; in cn10k_cpt_crypto_adapter_dequeue()
[all …]
H A Dcn9k_cryptodev_ops.c21 cn9k_cpt_sym_inst_fill(struct cnxk_cpt_qp *qp, struct rte_crypto_op *op, in cn9k_cpt_sym_inst_fill()
41 cn9k_cpt_sec_inst_fill(struct rte_crypto_op *op, in cn9k_cpt_sec_inst_fill()
71 cn9k_cpt_sym_temp_sess_create(struct cnxk_cpt_qp *qp, struct rte_crypto_op *op) in cn9k_cpt_sym_temp_sess_create()
101 cn9k_cpt_inst_prep(struct cnxk_cpt_qp *qp, struct rte_crypto_op *op, in cn9k_cpt_inst_prep()
213 cn9k_cpt_enqueue_burst(void *qptr, struct rte_crypto_op **ops, uint16_t nb_ops) in cn9k_cpt_enqueue_burst()
217 struct rte_crypto_op *op_1, *op_2; in cn9k_cpt_enqueue_burst()
320 cn9k_cpt_crypto_adapter_enqueue(uintptr_t base, struct rte_crypto_op *op) in cn9k_cpt_crypto_adapter_enqueue()
385 cn9k_cpt_sec_post_process(struct rte_crypto_op *cop, in cn9k_cpt_sec_post_process()
499 struct rte_crypto_op *cop; in cn9k_cpt_crypto_adapter_dequeue()
519 cn9k_cpt_dequeue_burst(void *qptr, struct rte_crypto_op **ops, uint16_t nb_ops) in cn9k_cpt_dequeue_burst()
[all …]
H A Dcn10k_ipsec_la_ops.h16 ipsec_po_sa_iv_set(struct cn10k_ipsec_sa *sess, struct rte_crypto_op *cop) in ipsec_po_sa_iv_set()
32 struct rte_crypto_op *cop) in ipsec_po_sa_aes_gcm_iv_set()
51 process_outb_sa(struct roc_cpt_lf *lf, struct rte_crypto_op *cop, in process_outb_sa()
96 process_inb_sa(struct rte_crypto_op *cop, struct cn10k_ipsec_sa *sa, in process_inb_sa()
/dpdk/lib/port/
H A Drte_port_sym_crypto.c33 struct rte_crypto_op *ops[RTE_PORT_IN_BURST_SIZE_MAX];
79 struct rte_crypto_op *op = p->ops[i]; in rte_port_sym_crypto_reader_rx()
147 struct rte_crypto_op *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX];
216 p->tx_buf[p->tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_tx()
244 p->tx_buf[p->tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_tx_bulk()
256 p->tx_buf[tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_tx_bulk()
333 struct rte_crypto_op *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX];
427 p->tx_buf[p->tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_nodrop_tx()
456 p->tx_buf[p->tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_nodrop_tx_bulk()
468 p->tx_buf[tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_nodrop_tx_bulk()
/dpdk/drivers/crypto/octeontx/
H A Dotx_cryptodev_ops.c441 struct rte_crypto_op *op) in otx_cpt_enq_single_asym()
521 struct rte_crypto_op *op) in otx_cpt_enq_single_sym()
561 struct rte_crypto_op *op) in otx_cpt_enq_single_sym_sessless()
602 struct rte_crypto_op *op, in otx_cpt_enq_single()
688 get_event_crypto_mdata(struct rte_crypto_op *op) in get_event_crypto_mdata()
706 otx_crypto_adapter_enqueue(void *port, struct rte_crypto_op *op) in otx_crypto_adapter_enqueue()
833 otx_cpt_asym_post_process(struct rte_crypto_op *cop, in otx_cpt_asym_post_process()
891 struct rte_crypto_op *cop) in free_sym_session_data()
904 static __rte_always_inline struct rte_crypto_op *
908 struct rte_crypto_op *cop; in otx_cpt_process_response()
[all …]
/dpdk/drivers/crypto/scheduler/
H A Dscheduler_failover.c25 struct rte_crypto_op **ops, uint16_t nb_ops) in failover_worker_enqueue()
40 schedule_enqueue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops) in schedule_enqueue()
63 schedule_enqueue_ordering(void *qp, struct rte_crypto_op **ops, in schedule_enqueue_ordering()
79 schedule_dequeue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops) in schedule_dequeue()
111 schedule_dequeue_ordering(void *qp, struct rte_crypto_op **ops, in schedule_dequeue_ordering()
H A Dscheduler_pmd_private.h77 struct rte_crypto_op **ops, uint16_t nb_ops) in scheduler_order_insert()
84 struct rte_crypto_op **ops, uint16_t nb_ops) in scheduler_order_drain()
86 struct rte_crypto_op *op; in scheduler_order_drain()
H A Dscheduler_multicore.c39 schedule_enqueue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops) in schedule_enqueue()
67 schedule_enqueue_ordering(void *qp, struct rte_crypto_op **ops, in schedule_enqueue_ordering()
84 schedule_dequeue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops) in schedule_dequeue()
110 schedule_dequeue_ordering(void *qp, struct rte_crypto_op **ops, in schedule_dequeue_ordering()
115 struct rte_crypto_op *op; in schedule_dequeue_ordering()
158 struct rte_crypto_op *enq_ops[MC_SCHED_BUFFER_SIZE]; in mc_scheduler_worker()
159 struct rte_crypto_op *deq_ops[MC_SCHED_BUFFER_SIZE]; in mc_scheduler_worker()
H A Dscheduler_roundrobin.c20 schedule_enqueue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops) in schedule_enqueue()
46 schedule_enqueue_ordering(void *qp, struct rte_crypto_op **ops, in schedule_enqueue_ordering()
63 schedule_dequeue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops) in schedule_dequeue()
101 schedule_dequeue_ordering(void *qp, struct rte_crypto_op **ops, in schedule_dequeue_ordering()
/dpdk/drivers/crypto/ccp/
H A Dccp_pmd_private.h50 struct rte_crypto_op *op[CCP_MAX_BURST];
104 struct rte_crypto_op **ops,
108 struct rte_crypto_op **ops,
/dpdk/drivers/crypto/ipsec_mb/
H A Dpmd_kasumi.c74 process_kasumi_cipher_op(struct ipsec_mb_qp *qp, struct rte_crypto_op **ops, in process_kasumi_cipher_op()
111 process_kasumi_cipher_op_bit(struct ipsec_mb_qp *qp, struct rte_crypto_op *op, in process_kasumi_cipher_op_bit()
138 process_kasumi_hash_op(struct ipsec_mb_qp *qp, struct rte_crypto_op **ops, in process_kasumi_hash_op()
190 process_ops(struct rte_crypto_op **ops, struct kasumi_session *session, in process_ops()
248 process_op_bit(struct rte_crypto_op *op, struct kasumi_session *session, in process_op_bit()
298 kasumi_pmd_dequeue_burst(void *queue_pair, struct rte_crypto_op **ops, in kasumi_pmd_dequeue_burst()
301 struct rte_crypto_op *c_ops[nb_ops]; in kasumi_pmd_dequeue_burst()
302 struct rte_crypto_op *curr_c_op = NULL; in kasumi_pmd_dequeue_burst()
H A Dpmd_snow3g.c78 snow3g_digest_appended_in_src(struct rte_crypto_op *op) in snow3g_digest_appended_in_src()
96 process_snow3g_cipher_op(struct ipsec_mb_qp *qp, struct rte_crypto_op **ops, in process_snow3g_cipher_op()
177 struct rte_crypto_op *op, in process_snow3g_cipher_op_bit()
227 process_snow3g_hash_op(struct ipsec_mb_qp *qp, struct rte_crypto_op **ops, in process_snow3g_hash_op()
305 process_ops(struct rte_crypto_op **ops, struct snow3g_session *session, in process_ops()
378 process_op_bit(struct rte_crypto_op *op, struct snow3g_session *session, in process_op_bit()
435 struct rte_crypto_op **ops, uint16_t nb_ops) in snow3g_pmd_dequeue_burst()
438 struct rte_crypto_op *c_ops[SNOW3G_MAX_BURST]; in snow3g_pmd_dequeue_burst()
439 struct rte_crypto_op *curr_c_op; in snow3g_pmd_dequeue_burst()
H A Dpmd_zuc.c68 process_zuc_cipher_op(struct ipsec_mb_qp *qp, struct rte_crypto_op **ops, in process_zuc_cipher_op()
135 process_zuc_hash_op(struct ipsec_mb_qp *qp, struct rte_crypto_op **ops, in process_zuc_hash_op()
196 process_ops(struct rte_crypto_op **ops, enum ipsec_mb_operation op_type, in process_ops()
255 struct rte_crypto_op **c_ops, uint16_t nb_ops) in zuc_pmd_dequeue_burst()
258 struct rte_crypto_op *curr_c_op; in zuc_pmd_dequeue_burst()
262 struct rte_crypto_op *int_c_ops[ZUC_MAX_BURST]; in zuc_pmd_dequeue_burst()
/dpdk/drivers/crypto/nitrox/
H A Dnitrox_sym_reqmgr.h13 int nitrox_process_se_req(uint16_t qno, struct rte_crypto_op *op,
16 int nitrox_check_se_req(struct nitrox_softreq *sr, struct rte_crypto_op **op);
/dpdk/drivers/crypto/null/
H A Dnull_crypto_pmd.c51 process_op(const struct null_crypto_qp *qp, struct rte_crypto_op *op, in process_op()
73 get_session(struct null_crypto_qp *qp, struct rte_crypto_op *op) in get_session()
112 null_crypto_pmd_enqueue_burst(void *queue_pair, struct rte_crypto_op **ops, in null_crypto_pmd_enqueue_burst()
143 null_crypto_pmd_dequeue_burst(void *queue_pair, struct rte_crypto_op **ops, in null_crypto_pmd_dequeue_burst()
/dpdk/drivers/crypto/virtio/
H A Dvirtio_cryptodev.h59 struct rte_crypto_op **tx_pkts,
63 struct rte_crypto_op **tx_pkts,

12345