* setup crypto ops for LOOKASIDE_NONE (pure crypto) type of devices. */
| 303 | * setup crypto ops for LOOKASIDE_NONE (pure crypto) type of devices. |
| 304 | */ |
| 305 | static inline void |
| 306 | lksd_none_cop_prepare(struct rte_crypto_op *cop, |
| 307 | struct rte_cryptodev_sym_session *cs, struct rte_mbuf *mb) |
| 308 | { |
| 309 | struct rte_crypto_sym_op *sop; |
| 310 | |
| 311 | sop = cop->sym; |
| 312 | cop->type = RTE_CRYPTO_OP_TYPE_SYMMETRIC; |
| 313 | cop->status = RTE_CRYPTO_OP_STATUS_NOT_PROCESSED; |
| 314 | cop->sess_type = RTE_CRYPTO_OP_WITH_SESSION; |
| 315 | sop->m_src = mb; |
| 316 | __rte_crypto_sym_op_attach_sym_session(sop, cs); |
| 317 | } |
| 318 | |
| 319 | #endif /* _CRYPTO_H_ */ |
no test coverage detected