DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] app/procinfo: fix warning of deprecated coremask
@ 2025-10-28  8:17 Chengwen Feng
  2025-10-28 10:11 ` Bruce Richardson
  0 siblings, 1 reply; 2+ messages in thread
From: Chengwen Feng @ 2025-10-28  8:17 UTC (permalink / raw)
  To: thomas, stephen; +Cc: dev, reshma.pattan

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";
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-28 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-28  8:17 [PATCH] app/procinfo: fix warning of deprecated coremask Chengwen Feng
2025-10-28 10:11 ` Bruce Richardson

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).