net/txgbe: fix queue statistics mapping
[dpdk.git] / drivers / crypto / octeontx / otx_cryptodev.c
index 3822c0d..337d06a 100644 (file)
@@ -4,8 +4,7 @@
 
 #include <rte_bus_pci.h>
 #include <rte_common.h>
-#include <rte_cryptodev.h>
-#include <rte_cryptodev_pmd.h>
+#include <cryptodev_pmd.h>
 #include <rte_log.h>
 #include <rte_pci.h>
 
@@ -56,8 +55,10 @@ otx_cpt_pci_probe(struct rte_pci_driver *pci_drv,
 
        /* Invoke PMD device initialization function */
        retval = otx_cpt_dev_create(cryptodev);
-       if (retval == 0)
+       if (retval == 0) {
+               rte_cryptodev_pmd_probing_finish(cryptodev);
                return 0;
+       }
 
        CPT_LOG_ERR("[DRV %s]: Failed to create device "
                        "(vendor_id: 0x%x device_id: 0x%x",