DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Chengwen Feng <fengchengwen@huawei.com>
Cc: <thomas@monjalon.net>, <stephen@networkplumber.org>,
	<dev@dpdk.org>, <reshma.pattan@intel.com>
Subject: Re: [PATCH] app/procinfo: fix warning of deprecated coremask
Date: Tue, 28 Oct 2025 10:11:31 +0000	[thread overview]
Message-ID: <aQCW06IyKKZRKeR2@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20251028081733.38583-1-fengchengwen@huawei.com>

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@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@intel.com>


      reply	other threads:[~2025-10-28 10:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-28  8:17 Chengwen Feng
2025-10-28 10:11 ` Bruce Richardson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aQCW06IyKKZRKeR2@bricha3-mobl1.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=fengchengwen@huawei.com \
    --cc=reshma.pattan@intel.com \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).