[dpdk-dev] net/ark: Add missing call to probe_finish for first device
diff mbox

Message ID 1526930309-16434-1-git-send-email-ed.czeck@atomicrules.com
State Superseded, archived
Headers show

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/Intel-compilation success Compilation OK

Commit Message

Ed Czeck May 21, 2018, 7:18 p.m. UTC
Fix on: fbe90cdd776c3ac99c4c56d1b5318a90fcf01602
---
 drivers/net/ark/ark_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Monjalon May 21, 2018, 9:23 p.m. UTC | #1
21/05/2018 21:18, Ed Czeck:
> Fix on: fbe90cdd776c3ac99c4c56d1b5318a90fcf01602

Fixes: fbe90cdd776c ("ethdev: add probing finish function")

My bad, sorry for the miss.

> ---
>  drivers/net/ark/ark_ethdev.c | 1 +
>  1 file changed, 1 insertion(+)

Your Signed-off-by is missing.

Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
Reviewed-by: Thomas Monjalon <thomas@monjalon.net>

Patch
diff mbox

diff --git a/drivers/net/ark/ark_ethdev.c b/drivers/net/ark/ark_ethdev.c
index 62e4fd3..834d8a9 100644
--- a/drivers/net/ark/ark_ethdev.c
+++ b/drivers/net/ark/ark_ethdev.c
@@ -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;
 		}