From d5f5b02c2e1f3401e785e3ef75fac4363e9dcc91 Mon Sep 17 00:00:00 2001 From: logwang Date: Tue, 13 Jun 2017 17:14:49 +0800 Subject: [PATCH] Fix multi ports bug: the secondary processes will not start port correctly. --- lib/ff_dpdk_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ff_dpdk_if.c b/lib/ff_dpdk_if.c index d2a827924..63b829015 100644 --- a/lib/ff_dpdk_if.c +++ b/lib/ff_dpdk_if.c @@ -727,7 +727,7 @@ init_port_start(void) } if (rte_eal_process_type() != RTE_PROC_PRIMARY) { - return 0; + continue; } /* Currently, proc id 1:1 map to queue id per port. */