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 48988A0351; Fri, 4 Mar 2022 15:46:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B0101427CD; Fri, 4 Mar 2022 15:46:29 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 43C1C4013F; Fri, 4 Mar 2022 15:46:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646405187; x=1677941187; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=DIfnZCBnzNDPV5xuKY1EYuS3/jYa6ALFl4e25ftiM30=; b=KrkAXSa/4TPExeFYJmsYATXnyaR7JckO53LvWCIjKNszo5jQ7HvDIy5c 4lU7fwfA1bYm5gHI0a36084mTers7HgP3eQl6M4ZP97exroxCkTav87Ew Ng3kcUaWNFk7j4aBVlU7IFvpY83Q5PUUzRaFV0ZFJ2JPjC+c3ZqC9rpRg YC4+R++pEh2rNbtmRShsSMpegWqpohWrGXjLuL0UmPc4L/xRJaIfbsBk7 6rsFZq5zu0NRHfEU5KDAOzgzy1Poy65Nvw0EsYdpmysYCGR6kjfhAI7u0 1DZdNmVTzls4L8/IfM4f1SVK+03a9cQpJ/+ZMLesCxe/1LVLJwZbBjcEU g==; X-IronPort-AV: E=McAfee;i="6200,9189,10276"; a="253919769" X-IronPort-AV: E=Sophos;i="5.90,155,1643702400"; d="scan'208";a="253919769" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2022 06:46:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,155,1643702400"; d="scan'208";a="779652075" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga006.fm.intel.com with ESMTP; 04 Mar 2022 06:46:25 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 4 Mar 2022 06:46:25 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 4 Mar 2022 06:46:25 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Fri, 4 Mar 2022 06:46:25 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.175) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Fri, 4 Mar 2022 06:46:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YHtwb+GJ6F9Ac6JTYZzQmxPPNhOVGmPsfnlJcgfiJ2hFZ6ysaIS3TIXgRhyTVkUKPjIOkHAWfPfKdpB++UfpRi911ocHl6C4Qz8vjGxO8+srYiPsIwrn+xMnOPwhVGEgLH0nCatJXRgYT8hZzsfT4AapQsRg/v689b28w/2tZH/LZOceAWWB6bArjhqFOmegjvAG0usExcj+EISMB23y2jYJSdRA3kkdC79IfmmdCVdDjD9UUtu4ZTCGKIgB+2ZriaMgxo0CTz8APHAnDDA6EP53+DGDhfiqWacsxSVdpr1yTYCmCwoiKtib+O+V2aC/scTYVgn2pbdAv56QD6mSFA== 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=6UxQKDhiz9nanFFbwloxgQnczob6wh+tU+7oWmtV+1g=; b=GedYciLLmza7mxkzJX8cN76p+ixDddB+5RrQpqWGj3blCMz1Nyyfm4XW6nhPKFtI2B2Ork6W6R157lMx46IwNHlZG5lSzTRF7/7s9dKxJX96TcUb30ZpslB0xDNr0wt1OzMvhwxmNqSfh1tobriCRdioHPDMsfOc6W26iIXIgrDS8O+mKhkqBPRZpzjxmorDR6jJhBewpyVc+KoPIOuAAjxTOsYWclcfKzz6Sy7XuO9ynuhYJMck5408G3OeGkAhoHTfSFdKXLZgFJK1NKE8DV2nZu1Cfi5UDCEh2uiSr1kzV3l1PApZh3AQegf8VYCmKMbkFatxE5DDvY/sfvfF0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by MWHPR1101MB2221.namprd11.prod.outlook.com (2603:10b6:301:53::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.16; Fri, 4 Mar 2022 14:46:17 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd21:6fbe:8308:2ecf]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd21:6fbe:8308:2ecf%7]) with mapi id 15.20.5038.017; Fri, 4 Mar 2022 14:46:17 +0000 Message-ID: <043c8433-e0ff-89b3-ccde-b5039364947c@intel.com> Date: Fri, 4 Mar 2022 14:46:10 +0000 Content-Language: en-US To: "Min Hu (Connor)" , CC: Huisong Li , , Xiaoyun Li , Aman Singh , Yuying Zhang , Ajit Khaparde , "Andrew Rybchenko" References: <20220228032617.46618-1-humin29@huawei.com> <20220304062642.54725-1-humin29@huawei.com> From: Ferruh Yigit Subject: Re: [PATCH v5] app/testpmd: add help messages for multi-process X-User: ferruhy In-Reply-To: <20220304062642.54725-1-humin29@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR07CA0056.eurprd07.prod.outlook.com (2603:10a6:6:2a::18) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 895f66b0-8c11-4596-6e3c-08d9fdedbd08 X-MS-TrafficTypeDiagnostic: MWHPR1101MB2221: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: /eg8Kc/3N5H5PKh6gUmlr+O/P8WOdpWkusbqs/PF0tXF7+b0d2UXf2kSQuIgKBtpEJCfODEPo96ENIyruCda/zx4EAOX94kGA+nEQeLNQ/yk9T2LK+63DXwT+zrpQlAb9+w9y0ItT/scSprh8cXCOYDMNaWb8ryB4Ku5KpAjxumJq9vo8ZT6vgrDYZNUMh8QQOhNQqIfyyM94LIyZMvywKf8/6ms6NDyHIc/R1yCJ4vBLVWR95pEpGvEMQzwbmN5uYOkHqxr4GyxC5CMpl6oaMfLlDxz8i2BXpvwZ0oro56fneEo3LM0Ds3m1K0epADcFFQjLE3tUBWPPbjICF/y3hzZMKaOrZ334Ac5qzRwf2cpy/VMIlABHYxEUNHQDJx9yH8VFjwkDcWGH7mi68lLe3JzF7hX2HRDD7OzMRFTcVfGo527niEqrSnyb3BT71WwRb7X/UwdWZ1v5LotX+bZw108wy7RZ+2T8r+bL2eueuKhcjhvHER+4NdbK8PI1BTlqTtd9oEg5lPQuCAQLY1z0yA3VXyIKW+Hpb/cKr46JkHamdLy9scXKanQwOIdHcYaoajz2feMezD1VAksFhipHX8k5JhCrLw207KegNFyEwEAwMZcHqENsBYVkSE2mJ53ZFKmyqcCosgAwdIicD3o1UOI0JazJe8JRLIwGa+issdEychKUsxsZ7qNjUDMmLIzRuF+w4mOcI13FNe+3anW13oNAxUCyuX6uuZuRn1pir1EhoujxHADFdQtrOEJvNXW X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(6666004)(6506007)(15650500001)(6512007)(31686004)(8676002)(66946007)(66476007)(316002)(66556008)(2616005)(53546011)(26005)(83380400001)(31696002)(4326008)(86362001)(186003)(5660300002)(2906002)(6486002)(44832011)(8936002)(82960400001)(36756003)(508600001)(54906003)(38100700002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?U2NpeXhzbWtmSTd0cDYwREpQZ2ZkdEVtUTJyN3AvOXpaTlVpR1FyYkVCRWlm?= =?utf-8?B?MGF0eUdnVDB5UEJwVEVSZU5GenlNTjFBbVpjMDg5S21LU0ZNaW1qaGp0RkRY?= =?utf-8?B?ZFM5SDllelBtb2gzOXVZZVd3a25jeUJzYXdmNnpkNVN2RkhNaEFLcWJoMnU5?= =?utf-8?B?MjlBeC9pZS9ZYTFPSSt0LzJKNmc0ejB6eHBZTUpycVBXazRxb1MvNy8zN0JK?= =?utf-8?B?UUc1OFRUSEFBalJxNytaK0ROM2wzMC9ERWVrNDZNOFlxQUNXS0ZPMGpOVkgr?= =?utf-8?B?ZT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Z4anFJWHhYZlNQS1E0?= =?utf-8?B?eXFpOG1YVHd3QWJ0b2hsbTVja2RtZzU2OFA2bGQwZGRocW04SHVocGZINGtM?= =?utf-8?Q?AIuj6nnkYZD28WBatVVE7Cs=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 895f66b0-8c11-4596-6e3c-08d9fdedbd08 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2022 14:46:17.2802 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: U8npx05c/6drqP07ZVKEUYsDWETwz9eo4a2eleSiwN8JJuTAkGa5ckGtKxY7Ogc5iM9xq6UpczcLAydfgIFJ1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2221 X-OriginatorOrg: intel.com 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 3/4/2022 6:26 AM, Min Hu (Connor) wrote: > From: Huisong Li > > This patch adds help messages for multi-process. > --num-procs , where N is the total number of symmetric_mp instances > that will be run side-by-side to perform packet processing. This parameter > is used to configure the appropriate number of receive queues on each > network port. > > --proc-id , where n is a numeric value in the range 0 <= n < N (number > of processes, specified above). This identifies which symmetric_mp instance > is being run, so that each process can read a unique receive queue on each > network port. > > Fixes: a550baf24af9 ("app/testpmd: support multi-process") > Cc: stable@dpdk.org > > Signed-off-by: Huisong Li > Signed-off-by: Min Hu (Connor) > --- > v5: > * delete space > v4: > * update description for parameters. > v3,v2: > * adjust the position of parameters. > --- > app/test-pmd/parameters.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c > index daf6a31b2b..6c4253ae61 100644 > --- a/app/test-pmd/parameters.c > +++ b/app/test-pmd/parameters.c > @@ -61,6 +61,8 @@ 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: the total number of symmetric_mp instances that will be run side-by-side\n"); I am not exactly sure what is 'symmetric' in 'symmetric_mp' here, there is a sample application with this name but I guess 'symmetric' is related to that sample functionality. Would you mind if I change 'symmetric_mp' with 'multi-process' while applying? > + printf(" --proc-id: the id of the current process (id < num-procs) to identify which symmetric_mp instance is being run\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 "