net/txgbe: fix queue statistics mapping
[dpdk.git] / drivers / crypto / virtio / virtio_cryptodev.c
index 4bae74a..ed64866 100644 (file)
@@ -9,7 +9,7 @@
 #include <rte_pci.h>
 #include <rte_bus_pci.h>
 #include <rte_cryptodev.h>
-#include <rte_cryptodev_pmd.h>
+#include <cryptodev_pmd.h>
 #include <rte_eal.h>
 
 #include "virtio_cryptodev.h"
@@ -754,6 +754,8 @@ crypto_virtio_create(const char *name, struct rte_pci_device *pci_dev,
                        VIRTIO_CRYPTO_PMD_GUEST_FEATURES) < 0)
                return -1;
 
+       rte_cryptodev_pmd_probing_finish(cryptodev);
+
        return 0;
 }