mirror of https://github.com/F-Stack/f-stack.git
Fix multi ports bug: the secondary processes will not start port correctly.
This commit is contained in:
parent
61a488cc9b
commit
d5f5b02c2e
|
@ -727,7 +727,7 @@ init_port_start(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rte_eal_process_type() != RTE_PROC_PRIMARY) {
|
if (rte_eal_process_type() != RTE_PROC_PRIMARY) {
|
||||||
return 0;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Currently, proc id 1:1 map to queue id per port. */
|
/* Currently, proc id 1:1 map to queue id per port. */
|
||||||
|
|
Loading…
Reference in New Issue