| 612 | {} |
| 613 | |
| 614 | static struct nitrox_crypto_ctx * |
| 615 | get_crypto_ctx(struct rte_crypto_op *op) |
| 616 | { |
| 617 | if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) { |
| 618 | if (likely(op->sym->session)) |
| 619 | return CRYPTODEV_GET_SYM_SESS_PRIV(op->sym->session); |
| 620 | } |
| 621 | |
| 622 | return NULL; |
| 623 | } |
| 624 | |
| 625 | static int |
| 626 | nitrox_enq_single_op(struct nitrox_qp *qp, struct rte_crypto_op *op) |
no outgoing calls
no test coverage detected