ethdev: add probing finish function
[dpdk.git] / lib / librte_ethdev / rte_ethdev.c
index 87fea92..e79de30 100644 (file)
@@ -3448,6 +3448,13 @@ _rte_eth_dev_callback_process(struct rte_eth_dev *dev,
        return rc;
 }
 
+void
+rte_eth_dev_probing_finish(struct rte_eth_dev *dev)
+{
+       if (dev == NULL)
+               return;
+}
+
 int
 rte_eth_dev_rx_intr_ctl(uint16_t port_id, int epfd, int op, void *data)
 {
@@ -3562,6 +3569,8 @@ rte_eth_dev_create(struct rte_device *device, const char *name,
                goto probe_failed;
        }
 
+       rte_eth_dev_probing_finish(ethdev);
+
        return retval;
 probe_failed:
        /* free ports private data if primary process */