net/tap: call probe finish for tun secondary
authorVipin Varghese <vipin.varghese@intel.com>
Tue, 24 Jul 2018 05:05:47 +0000 (10:35 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 4 Aug 2018 23:44:24 +0000 (01:44 +0200)
Invoke rte_eth_dev_probing_finish for rte_pmd_tun_probe.

Fixes: fbe90cdd776c ("ethdev: add probing finish function")
Cc: stable@dpdk.org
Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
drivers/net/tap/rte_eth_tap.c

index 0331eb9..feb92b4 100644 (file)
@@ -1932,6 +1932,7 @@ rte_pmd_tun_probe(struct rte_vdev_device *dev)
                }
                eth_dev->dev_ops = &ops;
                eth_dev->device = &dev->device;
+               rte_eth_dev_probing_finish(eth_dev);
                return 0;
        }