[dpdk-dev] [PATCH 07/15] app/test-pmd: replace master lcore with main lcore

Burakov, Anatoly anatoly.burakov at intel.com
Mon Sep 14 17:04:39 CEST 2020


On 11-Sep-20 8:06 PM, Stephen Hemminger wrote:
> Replace wording around main lcore.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

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


More information about the dev mailing list