Hi Anoob,

>  static __rte_always_inline int __hot
>  otx2_cpt_enqueue_sym(struct otx2_cpt_qp *qp, struct rte_crypto_op *op,
>                    struct pending_queue *pend_q)
> @@ -488,7 +560,9 @@ otx2_cpt_enqueue_burst(void *qptr, struct
> rte_crypto_op **ops, uint16_t nb_ops)
> 
>       for (count = 0; count < nb_ops; count++) {
>               op = ops[count];
> -             if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION)
> +             if (op->type == RTE_CRYPTO_OP_TYPE_ASYMMETRIC)
> +                     ret = otx2_cpt_enqueue_asym(qp, op, pend_q);
> +             else if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION)
>                       ret = otx2_cpt_enqueue_sym(qp, op, pend_q);
>               else if (op->sess_type == RTE_CRYPTO_OP_SESSIONLESS)
>                       ret = otx2_cpt_enqueue_sym_sessless(qp, op, pend_q);

Do you support session less in asym case? If not, can we add a check here.


Reply via email to