[PATCH v6 2/2] examples/l3fwd-power: add PM QoS configuration

Stephen Hemminger stephen at networkplumber.org
Tue Jul 9 05:07:18 CEST 2024


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.


More information about the dev mailing list