Home
last modified time | relevance | path

Searched refs:sess_type (Results 1 – 25 of 46) sorted by relevance

12

/dpdk/lib/cryptodev/
H A Drte_crypto.h99 uint8_t sess_type; member
157 op->sess_type = RTE_CRYPTO_OP_SESSIONLESS; in __rte_crypto_op_reset()
437 op->sess_type = RTE_CRYPTO_OP_WITH_SESSION; in rte_crypto_op_attach_sym_session()
455 op->sess_type = RTE_CRYPTO_OP_WITH_SESSION; in rte_crypto_op_attach_asym_session()
H A Dcryptodev_pmd.h398 enum rte_crypto_op_sess_type sess_type,
/dpdk/drivers/crypto/ipsec_mb/
H A Dipsec_mb_private.h412 uint8_t sess_type = op->sess_type; in ipsec_mb_get_session_private() local
417 switch (sess_type) { in ipsec_mb_get_session_private()
446 IPSEC_MB_LOG(ERR, "Unrecognized session type %u", sess_type); in ipsec_mb_get_session_private()
H A Dpmd_kasumi.c232 if (ops[i]->sess_type == RTE_CRYPTO_OP_SESSIONLESS) { in process_ops()
289 if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS) { in process_op_bit()
H A Dpmd_snow3g.c363 if (ops[i]->sess_type == RTE_CRYPTO_OP_SESSIONLESS) { in process_ops()
419 if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS) { in process_op_bit()
/dpdk/lib/ipsec/
H A Drte_ipsec_group.h50 if (cop->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) { in rte_ipsec_ses_from_crypto()
53 } else if (cop->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in rte_ipsec_ses_from_crypto()
H A Dcrypto.h314 cop->sess_type = RTE_CRYPTO_OP_WITH_SESSION; in lksd_none_cop_prepare()
/dpdk/drivers/crypto/qat/
H A Dqat_sym.c68 if (likely(op->sess_type == RTE_CRYPTO_OP_WITH_SESSION)) { in qat_sym_build_request()
106 else if (op->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) { in qat_sym_build_request()
360 enum rte_crypto_op_sess_type sess_type, in qat_sym_configure_dp_ctx() argument
389 if (sess_type != RTE_CRYPTO_OP_WITH_SESSION) in qat_sym_configure_dp_ctx()
H A Dqat_sym.h276 if (op->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) { in qat_sym_preprocess_requests()
307 if (rx_op->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) { in qat_sym_process_response()
362 enum rte_crypto_op_sess_type sess_type,
/dpdk/drivers/crypto/cnxk/
H A Dcnxk_cryptodev_ops.h133 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) in cnxk_event_crypto_mdata_get()
136 else if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS && in cnxk_event_crypto_mdata_get()
H A Dcn10k_cryptodev_ops.c124 if (op->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) { in cn10k_cpt_fill_inst()
131 } else if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in cn10k_cpt_fill_inst()
158 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in cn10k_cpt_fill_inst()
390 cop->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) { in cn10k_cpt_dequeue_post_process()
460 if (unlikely(cop->sess_type == RTE_CRYPTO_OP_SESSIONLESS)) { in cn10k_cpt_dequeue_post_process()
H A Dcn9k_cryptodev_ops.c110 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in cn9k_cpt_inst_prep()
117 } else if (op->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) in cn9k_cpt_inst_prep()
139 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in cn9k_cpt_inst_prep()
439 if (cop->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) { in cn9k_cpt_dequeue_post_process()
482 if (unlikely(cop->sess_type == RTE_CRYPTO_OP_SESSIONLESS)) { in cn9k_cpt_dequeue_post_process()
/dpdk/drivers/crypto/ccp/
H A Drte_ccp_pmd.c55 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in get_ccp_session()
63 } else if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS) { in get_ccp_session()
162 if (unlikely(ops[i]->sess_type == in ccp_pmd_dequeue_burst()
/dpdk/drivers/crypto/null/
H A Dnull_crypto_pmd.c58 if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS) { in process_op()
78 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in get_session()
/dpdk/app/test-crypto-perf/
H A Dcperf_test_common.c94 op->sess_type = RTE_CRYPTO_OP_WITH_SESSION; in mempool_asym_obj_init()
112 op->sess_type = RTE_CRYPTO_OP_WITH_SESSION; in mempool_obj_init()
/dpdk/drivers/crypto/octeontx/
H A Dotx_cryptodev_ops.c608 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) in otx_cpt_enq_single()
615 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) in otx_cpt_enq_single()
692 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) in get_event_crypto_mdata()
695 else if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS && in get_event_crypto_mdata()
926 if (unlikely(cop->sess_type == RTE_CRYPTO_OP_SESSIONLESS)) in otx_cpt_process_response()
/dpdk/drivers/crypto/mvsam/
H A Drte_mrvl_pmd.c593 if (unlikely(op->sess_type == RTE_CRYPTO_OP_SESSIONLESS)) { in mrvl_request_prepare_crp()
771 if (unlikely(op->sess_type != RTE_CRYPTO_OP_SECURITY_SESSION)) { in mrvl_request_prepare_sec()
897 if (ops[iter_ops]->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in mrvl_crypto_pmd_enqueue_burst()
1023 if (ops[i]->sess_type == in mrvl_crypto_pmd_dequeue_burst()
/dpdk/lib/eventdev/
H A Drte_event_crypto_adapter.c460 if (crypto_op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in eca_enq_to_cryptodev()
478 } else if (crypto_op->sess_type == RTE_CRYPTO_OP_SESSIONLESS && in eca_enq_to_cryptodev()
640 if (ops[i]->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in eca_ops_enqueue_burst()
643 } else if (ops[i]->sess_type == RTE_CRYPTO_OP_SESSIONLESS && in eca_ops_enqueue_burst()
/dpdk/doc/guides/prog_guide/
H A Devent_crypto_adapter.rst237 The SW adapter or HW PMD uses ``rte_crypto_op::sess_type`` to
270 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) {
281 } if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS) {
/dpdk/drivers/crypto/armv8/
H A Drte_armv8_pmd.c521 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { in get_session()
675 if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS) { in process_op()
/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_sym_session.c209 if (unlikely(op->sess_type == RTE_CRYPTO_OP_SESSIONLESS)) { in bcmfs_sym_get_session()
/dpdk/lib/security/
H A Drte_security.h745 op->sess_type = RTE_CRYPTO_OP_SECURITY_SESSION; in rte_security_attach_session()
/dpdk/drivers/crypto/dpaa_sec/
H A Ddpaa_sec_raw_dp.c1004 enum rte_crypto_op_sess_type sess_type, in dpaa_sec_configure_raw_dp_ctx() argument
1016 if (sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) in dpaa_sec_configure_raw_dp_ctx()
1019 else if (sess_type == RTE_CRYPTO_OP_WITH_SESSION) in dpaa_sec_configure_raw_dp_ctx()
/dpdk/drivers/crypto/dpaa2_sec/
H A Ddpaa2_sec_raw_dp.c999 enum rte_crypto_op_sess_type sess_type, in dpaa2_sec_configure_raw_dp_ctx() argument
1011 if (sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) in dpaa2_sec_configure_raw_dp_ctx()
1014 else if (sess_type == RTE_CRYPTO_OP_WITH_SESSION) in dpaa2_sec_configure_raw_dp_ctx()
/dpdk/app/test/
H A Dtest_event_crypto_adapter.c239 op->sess_type = RTE_CRYPTO_OP_SESSIONLESS; in test_op_forward_mode()
431 op->sess_type = RTE_CRYPTO_OP_SESSIONLESS; in test_op_new_mode()

12