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 5E66FA0555; Thu, 9 Jun 2022 16:06:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 470F440689; Thu, 9 Jun 2022 16:06:35 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2051.outbound.protection.outlook.com [40.107.244.51]) by mails.dpdk.org (Postfix) with ESMTP id 1F9AD40220; Thu, 9 Jun 2022 16:06:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F48cahB3MsLeCA3EtBfTxbIAzVmalPv97LP+OrF5njFaHEkt4DchR8ars6K1Y25QF1snob9JZRDV3jnZL8AcmVIbFywLtTH3aws4r/KLh+V/Dgr8f/am4vDz1Dr0SHag5Rj3vF3HTQXNvAJze56C37YPklnTPRHqtPURljH6b4kaS+IjNq3rH1Vpdq06yaHJYx4sjYJRo1Ta6HXuJ0HT2I8n3i4UaAQXbyUL3r9XFVijoqEr8CIWrO8S9SV59ib58y67JxMBVGhKPTR56tJNbLeqMo9f+jisxFlM7MuFOBTQ/w4TaUOa8fdeNg22NCLINoStGHciHvdoGkDuMVnteQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ll6pXf/ByYWdTjRhZm2roG8WBJJwW9K91G4qghwqzjU=; b=eJ2tDFAS2zqvL9xL0QXi+jYJ3RR1o4u4gnEk0TgZ+r4UikKjKCaNBIjttI9bsGxTMYgtM77Co/vHbi/n6PrsEP/tBit2sul3/V8LZU70tViukQL4HmuPhSKgaLQQ5h6Hwo3VyvKO+6STc1NT0ad7O4iPHqccsBvW+8oitfy/y0aGoCpJ3FXFnPhJnqYaeJI2QPqfJ5J2ydCarF4uQoIva2Pb/Eu1zadSh7Sj2x3ACs2u/YJuP7cut8VIdk2VOOMFuanb3lLLueTJufcNjEXDlrJolLWmOSZOl1dRNH832xUSOnXSw7LxHjsQb8jJrR+r7lCwPrblb26fOGVeA20ehA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.80.198) smtp.rcpttodomain=huawei.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ll6pXf/ByYWdTjRhZm2roG8WBJJwW9K91G4qghwqzjU=; b=Rug98kfgV4FbWSMHedIktQaoKfyDjZDVfmQ/w9UaJaOFNfcWfgwYGXUGQC9jMfKxcuvCe5nZ2F+45Qn9XecEEzz9AKLPAHrVC7ukdoK7NMDkhAX73PVARSRTBcs42/zqmQ2+tx1d538bWeRSSr7NCRJsuBWP+e+HOAmKPZ/hNi4= Received: from SA9P223CA0003.NAMP223.PROD.OUTLOOK.COM (2603:10b6:806:26::8) by PH0PR02MB7384.namprd02.prod.outlook.com (2603:10b6:510:12::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.13; Thu, 9 Jun 2022 14:06:32 +0000 Received: from SN1NAM02FT0046.eop-nam02.prod.protection.outlook.com (2603:10b6:806:26:cafe::c3) by SA9P223CA0003.outlook.office365.com (2603:10b6:806:26::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.13 via Frontend Transport; Thu, 9 Jun 2022 14:06:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.80.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.80.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.80.198; helo=xir-pvapexch01.xlnx.xilinx.com; pr=C Received: from xir-pvapexch01.xlnx.xilinx.com (149.199.80.198) by SN1NAM02FT0046.mail.protection.outlook.com (10.97.5.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5332.12 via Frontend Transport; Thu, 9 Jun 2022 14:06:30 +0000 Received: from xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 9 Jun 2022 15:06:29 +0100 Received: from smtp.xilinx.com (172.21.105.197) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 9 Jun 2022 15:06:29 +0100 Envelope-to: liudongdong3@huawei.com, dev@dpdk.org, thomas@monjalon.net, yuying.zhang@intel.com, stable@dpdk.org, lihuisong@huawei.com, humin29@huawei.com, xiaoyun.li@intel.com, aman.deep.singh@intel.com, ajit.khaparde@broadcom.com Received: from [10.71.117.247] (port=44045) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nzInt-0002cD-5V; Thu, 09 Jun 2022 15:06:29 +0100 Message-ID: <00be91fd-81c2-4d48-f912-9872f872b494@xilinx.com> Date: Thu, 9 Jun 2022 15:06:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v6] app/testpmd: add help messages for multi-process Content-Language: en-US To: Dongdong Liu , CC: , , , Huisong Li , Min Hu , Xiaoyun Li , Aman Singh , Ajit Khaparde References: <20220228032617.46618-1-humin29@huawei.com> <20220609085234.12801-1-liudongdong3@huawei.com> From: Ferruh Yigit In-Reply-To: <20220609085234.12801-1-liudongdong3@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6f82b45c-1eee-4f0d-6fb7-08da4a2140e1 X-MS-TrafficTypeDiagnostic: PH0PR02MB7384:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K3b8abIz9e/bkKTr+8J6eEiKVXYOnRAmPp+rlLTVZ93IwFpZplCOvZ3Y+ToEULr9q9QDTaxkMc8FNCFv78yGMQgajbwoOtrXK004xkhXEemLBcCdqJwOjTEJQIo33aFfiEHtlrQyf68f7hYJL76BBbJd7ARnwCW3dpZ5umoc3UsfJhCaEhZP2kF8WHSVnqkV99c+Z2w2a5XYo4na6BQMBsBVXulhls7CQTWJQkqzWUOHcfpvgNCd86CT5wdHVWMCeE4H4g74jaWUqlo0nt8FdIKDiu6aQoDOK//3jGB9II1yzeqgVTnMUK7ZTPWpcQwNko4io5zp3vgDCoMVDZFCGp0/PBBfAxDShxGMUYuUSLtwlNCzRk3FlCnIVmuxyyNqp0wQjQId2wfGmZZbFCxqqSFboMioz1gVEyJy6ozI+JWknOFMO/rhKGRmzNRnLO86o2cToj//tWKnhr90pEqdvpTpI0O4ueFoEFc5wHMNdOXIT/StuleKFrc2tztUb3+64z7Y2F5luLrnCENwpCi3qWoCJZvZYWvlE40LoPFfSjueTQ6qcW60drd68cUvtmaQDTV0WGsw3UCEM4Oe5lw1t+ZFqRHliBKhyFn3t6mu26DbyFvJLp5DFqDnJ7tENO1nUs7NJN+HIiejafhnUgkouEAdWNnintJ+CpwMaj4ghbQn7EnCjoZdJ9cdOLoDG38shictrX4gQ35aeKTH30pWNyIa0t8El9M2SOFqLX7MPl8= X-Forefront-Antispam-Report: CIP:149.199.80.198; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:xir-pvapexch01.xlnx.xilinx.com; PTR:unknown-80-198.xilinx.com; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(46966006)(40470700004)(31696002)(15650500001)(2906002)(508600001)(40460700003)(356005)(82310400005)(316002)(70206006)(70586007)(9786002)(8676002)(4326008)(7636003)(36860700001)(31686004)(83380400001)(8936002)(5660300002)(44832011)(7416002)(110136005)(54906003)(186003)(336012)(426003)(47076005)(36756003)(26005)(2616005)(53546011)(50156003)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2022 14:06:30.6113 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6f82b45c-1eee-4f0d-6fb7-08da4a2140e1 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.80.198]; Helo=[xir-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: SN1NAM02FT0046.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR02MB7384 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 On 6/9/2022 9:52 AM, Dongdong Liu wrote: > > From: Huisong Li > > This patch adds help messages for multi-process. > --num-procs=N: set the total number of multi-process instances. > --proc-id=id: set the id of the current process from multi-process > instances(0 <= id < num-procs). > > Fixes: a550baf24af9 ("app/testpmd: support multi-process") > Cc: stable@dpdk.org > > Signed-off-by: Huisong Li > Signed-off-by: Min Hu (Connor) > Signed-off-by: Dongdong Liu > --- > v5->v6: > - Adjust the print information for multi-process. > --- > app/test-pmd/parameters.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c > index 641c9c767e..0201382294 100644 > --- a/app/test-pmd/parameters.c > +++ b/app/test-pmd/parameters.c > @@ -61,6 +61,9 @@ usage(char* progname) > "extended statistics to show. Used with --stats-period " > "specified or interactive commands that show Rx/Tx statistics " > "(i.e. 'show port stats').\n"); > + printf(" --num-procs=N: set the total number of multi-process instances.\n"); > + printf(" --proc-id=id: set the id of the current process from " there are double space after '--proc-id=id:', but I can fix it while merging. > + "multi-process instances (0 <= id < num-procs).\n"); > printf(" --nb-cores=N: set the number of forwarding cores " > "(1 <= N <= %d).\n", nb_lcores); > printf(" --nb-ports=N: set the number of forwarding ports " > -- > 2.33.0 >