On 11-Sep-20 8:06 PM, Stephen Hemminger wrote:
Replace wording around main lcore.

Signed-off-by: Stephen Hemminger <[email protected]>
---

Acked-by: Anatoly Burakov <[email protected]>

With below fix


diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 7842c3b78120..65c99b6900ae 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -556,7 +556,7 @@ set_default_fwd_lcores_config(void)
                        }
                        socket_ids[num_sockets++] = sock_num;
                }
-               if (i == rte_get_master_lcore())
+               if (i == rte_get_main_lcore())
                        continue;

Missed comment in this file @ line 86.

                fwd_lcores_cpuids[nb_lc++] = i;
        }



--
Thanks,
Anatoly

Reply via email to