net/ark: fix call to probing finish function for first port
authorEd Czeck <ed.czeck@atomicrules.com>
Mon, 21 May 2018 19:29:07 +0000 (15:29 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 22 May 2018 22:35:01 +0000 (00:35 +0200)
Fixes: fbe90cdd776c ("ethdev: add probing finish function")

Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
Acked-by: John Miller <john.miller@atomicrules.com>
Reviewed-by: Thomas Monjalon <thomas@monjalon.net>
drivers/net/ark/ark_ethdev.c

index 62e4fd3..834d8a9 100644 (file)
@@ -390,6 +390,7 @@ eth_ark_dev_init(struct rte_eth_dev *dev)
                if (p == 0) {
                        /* First port is already allocated by DPDK */
                        eth_dev = ark->eth_dev;
+                       rte_eth_dev_probing_finish(eth_dev);
                        continue;
                }