drivers/crypto: invoke probing finish function
[dpdk.git] / drivers / crypto / caam_jr / caam_jr.c
index 3fb3fe0..8c56610 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <rte_byteorder.h>
 #include <rte_common.h>
-#include <rte_cryptodev_pmd.h>
+#include <cryptodev_pmd.h>
 #include <rte_crypto.h>
 #include <rte_cryptodev.h>
 #include <rte_bus_vdev.h>
@@ -2368,6 +2368,8 @@ caam_jr_dev_init(const char *name,
        security_instance->sess_cnt = 0;
        dev->security_ctx = security_instance;
 
+       rte_cryptodev_pmd_probing_finish(dev);
+
        RTE_LOG(INFO, PMD, "%s cryptodev init\n", dev->data->name);
 
        return 0;