net/txgbe: fix queue statistics mapping
[dpdk.git] / drivers / crypto / openssl / rte_openssl_pmd.c
index 13c6ea8..d80e105 100644 (file)
@@ -748,9 +748,7 @@ get_session(struct openssl_qp *qp, struct rte_crypto_op *op)
                } else {
                        if (likely(op->asym->session != NULL))
                                asym_sess = (struct openssl_asym_session *)
-                                               get_asym_session_private_data(
-                                               op->asym->session,
-                                               cryptodev_driver_id);
+                                               op->asym->session->sess_private_data;
                        if (asym_sess == NULL)
                                op->status =
                                        RTE_CRYPTO_OP_STATUS_INVALID_SESSION;
@@ -2213,6 +2211,8 @@ cryptodev_openssl_create(const char *name,
 
        internals->max_nb_qpairs = init_params->max_nb_queue_pairs;
 
+       rte_cryptodev_pmd_probing_finish(dev);
+
        return 0;
 
 init_error: