[dpdk-dev] [PATCH 14/15] examples/ipsec-secgw: replace master lcore with main lcore

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


On 11-Sep-20 8:07 PM, Stephen Hemminger wrote:
> Simple replacement.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---

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

With below fix

> diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c
> index 8ba15d23c7e8..49d8a93a12cc 100644
> --- a/examples/ipsec-secgw/ipsec-secgw.c
> +++ b/examples/ipsec-secgw/ipsec-secgw.c
> @@ -2992,7 +2992,7 @@ main(int32_t argc, char **argv)
>   #endif /* STATS_INTERVAL */
>   
>   	/* launch per-lcore init on every lcore */
> -	rte_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MASTER);
> +	rte_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MAIN);
>   	RTE_LCORE_FOREACH_SLAVE(lcore_id) {

Missed updating the macro.

>   		if (rte_eal_wait_lcore(lcore_id) < 0)
>   			return -1;
> 


-- 
Thanks,
Anatoly


More information about the dev mailing list