From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8E3A4489E8; Tue, 28 Oct 2025 09:17:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A7D640262; Tue, 28 Oct 2025 09:17:43 +0100 (CET) Received: from canpmsgout01.his.huawei.com (canpmsgout01.his.huawei.com [113.46.200.216]) by mails.dpdk.org (Postfix) with ESMTP id EFE1F4021E for ; Tue, 28 Oct 2025 09:17:40 +0100 (CET) dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=n+T00/zKXlcGJNLUnAkcDlHMuxlaQ55ZoA/EwhtKdRs=; b=MCK/cp2l/ettIkUj75VCHrGCHYVNuwq7cy4aaNd6L2eXQPyu6YdBNC6O9jE3l0LJpJSA5Gjpc TH4oiQAX6NlHUgrjo/iZIdF9DmPBsTVd/EnEB8r7RRsXTv9fa99cHARtuAob6h4bxxtQ05FdOno 0mMR04EHiDfgSAFpnEIhx8E= Received: from mail.maildlp.com (unknown [172.19.163.174]) by canpmsgout01.his.huawei.com (SkyGuard) with ESMTPS id 4cwjrh2F1Qz1T4Fg; Tue, 28 Oct 2025 16:16:36 +0800 (CST) Received: from kwepemk500009.china.huawei.com (unknown [7.202.194.94]) by mail.maildlp.com (Postfix) with ESMTPS id B395B140277; Tue, 28 Oct 2025 16:17:38 +0800 (CST) Received: from localhost.localdomain (10.50.163.32) by kwepemk500009.china.huawei.com (7.202.194.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 28 Oct 2025 16:17:38 +0800 From: Chengwen Feng To: , CC: , Subject: [PATCH] app/procinfo: fix warning of deprecated coremask Date: Tue, 28 Oct 2025 16:17:33 +0800 Message-ID: <20251028081733.38583-1-fengchengwen@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.50.163.32] X-ClientProxiedBy: kwepems500001.china.huawei.com (7.221.188.70) To kwepemk500009.china.huawei.com (7.202.194.94) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org When launch proc-info: EAL: '-c ' option is deprecated, and will be removed in a future release EAL: Use '-l ' or '--lcores=' option instead This commit fix it by use -l0 other than -c1. Signed-off-by: Chengwen Feng --- 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