On Tue, Oct 28, 2025 at 04:17:33PM +0800, Chengwen Feng wrote:
> When launch proc-info:
>   EAL: '-c <coremask>' option is deprecated, and will be removed in a future 
> release
>   EAL:        Use '-l <corelist>' or '--lcores=<corelist>' option instead
> 
> This commit fix it by use -l0 other than -c1.
> 
> Signed-off-by: Chengwen Feng <[email protected]>
> ---
>  app/proc-info/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/app/proc-info/main.c b/app/proc-info/main.c
> index 1b9979b7c8..b09c03ab35 100644
> --- a/app/proc-info/main.c
> +++ b/app/proc-info/main.c
> @@ -2121,7 +2121,7 @@ main(int argc, char **argv)
>  {
>       int ret;
>       int i;
> -     char c_flag[] = "-c1";
> +     char c_flag[] = "-l0";
>       char n_flag[] = "-n4";
>       char mp_flag[] = "--proc-type=secondary";
>       char log_flag[] = "--log-level=6";

Acked-by: Bruce Richardson <[email protected]>

Reply via email to