[PATCH v6 2/2] examples/l3fwd-power: add PM QoS configuration
lihuisong (C)
lihuisong at huawei.com
Tue Jul 9 05:18:18 CEST 2024
在 2024/7/9 11:07, Stephen Hemminger 写道:
> On Tue, 9 Jul 2024 10:29:27 +0800
> Huisong Li <lihuisong at 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.
> .
More information about the dev
mailing list