net/ark: fix call to probing finish function for first port

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>
This commit is contained in:
Ed Czeck 2018-05-21 15:29:07 -04:00 committed by Ferruh Yigit
parent 1962193cc8
commit 5bfe551d0a

View 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;
}