在 2024/7/9 11:07, Stephen Hemminger 写道:
On Tue, 9 Jul 2024 10:29:27 +0800
Huisong Li <lihuis...@huawei.com> wrote:

+       RTE_LCORE_FOREACH(lcore_id) {
+               if (rte_lcore_is_enabled(lcore_id) == 0)
+                       continue;

Why do you need this check? RTE_LCORE_FOREACH calls rte_next_lcore which
already skips lcores that are not enabled.
Yes, it is dead code. will delete it in next version. Thanks.
.

Reply via email to