]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/pcap/rte_eth_pcap.c
ethdev: add probing finish function
[dpdk.git] / drivers / net / pcap / rte_eth_pcap.c
index 44c4d8ee043c311c7fd0c9ec2cdda2b4bfdc3ef8..6bd4a7d79ae1c3e2556452752ec7b28158704afd 100644 (file)
@@ -893,6 +893,7 @@ eth_from_pcaps(struct rte_vdev_device *vdev,
        else
                eth_dev->tx_pkt_burst = eth_pcap_tx;
 
+       rte_eth_dev_probing_finish(eth_dev);
        return 0;
 }
 
@@ -924,6 +925,7 @@ pmd_pcap_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;
        }