]> git.droids-corp.org - dpdk.git/blobdiff - drivers/bus/vmbus/vmbus_common.c
mempool: remove optimistic IOVA-contiguous allocation
[dpdk.git] / drivers / bus / vmbus / vmbus_common.c
index de5548aa402a1e97cd129e0972573027b90361c6..48a219f73529f6a303aaf1c23c20c7d3325349db 100644 (file)
@@ -143,7 +143,7 @@ vmbus_probe_all_drivers(struct rte_vmbus_device *dev)
        int rc;
 
        /* Check if a driver is already loaded */
-       if (dev->device.driver != NULL) {
+       if (rte_dev_is_probed(&dev->device)) {
                VMBUS_LOG(DEBUG, "VMBUS driver already loaded");
                return 0;
        }