[PATCH] app/procinfo: fix warning of deprecated coremask

Bruce Richardson bruce.richardson at intel.com
Tue Oct 28 11:11:31 CET 2025


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 <fengchengwen at huawei.com>
> ---
>  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 <bruce.richardson at intel.com>



More information about the dev mailing list