]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/vhost/rte_eth_vhost.c
ethdev: add probing finish function
[dpdk.git] / drivers / net / vhost / rte_eth_vhost.c
index bd42eee6b1c48c350de45370590bc6369ddaf14e..0d000c71c078b52e22703cb373eb68ceac669704 100644 (file)
@@ -1284,6 +1284,7 @@ eth_dev_vhost_create(struct rte_vdev_device *dev, char *iface_name,
                goto error;
        }
 
+       rte_eth_dev_probing_finish(eth_dev);
        return data->port_id;
 
 error:
@@ -1354,6 +1355,7 @@ rte_pmd_vhost_probe(struct rte_vdev_device *dev)
                }
                /* TODO: request info from primary to set up Rx and Tx */
                eth_dev->dev_ops = &ops;
+               rte_eth_dev_probing_finish(eth_dev);
                return 0;
        }