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 0FF50A034E; Thu, 3 Mar 2022 13:09:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A816A40687; Thu, 3 Mar 2022 13:09:42 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 5018740141; Thu, 3 Mar 2022 13:09:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646309380; x=1677845380; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=NVKFupogwaKj5CwaqQJZL1wO2pTKfJIl7GDyOeHzmuQ=; b=M5EYbOLghjUJGxIZMmMCZXnuPQN9Tcj3G31AGoprhkwdhZ5hSjIJLPzI dNzkA7aklfEPcC+RIQBaodewpkqsqhiNFgWKjlHDsfLknK6PTWauHZLN6 PijzBT+6xaCmfR74uZ9n2WGaUl0iepSsZOrBsKM0sVTMq1dlEfsjEGM3T swbBe1sDjsoWFgYj1kBlTmbLn3HwymANl6OzmQA83GKPA5cwuztumZVga sz5ozmXp7neZeIdbYVu841kMYBZg6yiiultvf1XtQDqrk7D5aRLujy+OB 1hw/dhWTGZRNN49rjJpYGrCsqyLGZHY2Ba9HDaEC+U2PZ1cunguYSStib A==; X-IronPort-AV: E=McAfee;i="6200,9189,10274"; a="234270643" X-IronPort-AV: E=Sophos;i="5.90,151,1643702400"; d="scan'208";a="234270643" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2022 04:09:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,151,1643702400"; d="scan'208";a="511408789" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga006.jf.intel.com with ESMTP; 03 Mar 2022 04:09:38 -0800 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 3 Mar 2022 04:09:38 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Thu, 3 Mar 2022 04:09:38 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Thu, 3 Mar 2022 04:09:38 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UHE00paYmEZWK74pAejXMfbMFo3nubKFxaYdSVA5Ft5Tn/foEKwiYW1Xh3DVjj/B7GBz2IgU3EbtNnY+XC5Hwpkz0lzzs5OBd2/+QAWmPEGKJaAF8xFdt6konckgZHs1gfxRcJ8aZk2uGf9DIzd0v5aRzrg9K1oUout6edof9NsmrClenLYWcCG5Z9LD14IHYAbbF4fuF4ct4HbX4USIWfS4xX/+w3120ConDyoYZp/zl3a6p2ZL+Dxp27X2DIT0e6W0oE/D/75VYmNb08zGJkz8hclgg+L5SJYxL3eJXuPPlPrdQUW2SGGjQ+EW/R5E0pgxj62Yc7B0NTWzPatuiw== 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=hioJtKqcZaNPfLKUE9Y2DWS2pFlAzDag0C4FydiYmnM=; b=gDH2jHIvMiccQ87u6jg3FtSN/3KCaE6G2igGmjH+mP2N4a53hg7YICxBpR7Ppf1WG/Df92ogPPb2iI5bdww+zro3ZOt9f2lWWLw62GTAFPe5Dbz8g/APTbB9bNKfujwjG/mN9/tIcwmCpLYaC74p/v0vLIKWU8HeL2XmQCdzKmSVUQ9YAlLz587m70hzdf4T8n+10r85wwleVx+53j7ZohEu46LpUV91hhaJmf3Ja5t/BlfegdA1KxF/mB6hdkDtjTfFpE6IuqxZrRZRHHSPf7vQMeS2SF89EeZ1pbwhXRC/wcVO4nrJA6OscCe4jYxuGwoSflGU97SkXwNwxtkhoQ== 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 PH0PR11MB5173.namprd11.prod.outlook.com (2603:10b6:510:39::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.26; Thu, 3 Mar 2022 12:09:36 +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.015; Thu, 3 Mar 2022 12:09:35 +0000 Message-ID: <9c520fcc-2035-fbe3-2ecf-bf370a0f5520@intel.com> Date: Thu, 3 Mar 2022 12:09:28 +0000 Subject: Re: [PATCH v3] app/testpmd: add help messages for multi-process Content-Language: en-US To: "Min Hu (Connor)" , CC: Huisong Li , , Xiaoyun Li , Aman Singh , Yuying Zhang , Lijun Ou , Ajit Khaparde , Andrew Rybchenko References: <20220228032617.46618-1-humin29@huawei.com> <20220301091650.2260-1-humin29@huawei.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20220301091650.2260-1-humin29@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0355.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:d::31) 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: efca5bd9-fd99-4ed5-e86d-08d9fd0eaedf X-MS-TrafficTypeDiagnostic: PH0PR11MB5173: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: 3WzBMoStyLapBK5uxKnZn4JFuVHMzUtJvozgBNy4khcoNrJEFaYn1tXU+EOtjF1HZzpjHnawVC4vO4/GQAf+kVkMbywkVCwAjpsgBXPR8ZfxxI7nhc0C5ilD4BwIZAEK2uwvSnMARvwyYQNBamKdyNltJPn/8U6Hnn/7Oi3QxVJ+q9L9tabJcFM2/+D+gjtoDz2ABymA57FGqTVO/0l1yJUhUtqv6D7KMXpXeWiEwfC4wabB6Y+SOvawfL4cKuS545xKJTb/prtdX1jjINQhRE0KGAoFnpgoR/jpNSriVLY/fU+o7AZhcqKbV5A1xk+ZTYvPi5EW/quZfFXwLhpy8IGOWhtTMD0NhOtOndlNzjoqVpPqMmaDEOO7U8yyTFfeKyFZ+LG41EzDntTkB+Eu5yGOo3sEQ/96HaVylah61W3lVIr1yWVx0mDVikV0lMcXSvEAYDPrFZh9oUlzULYxKlCLbI49Tkb/W/mYi7CM+MJ5ujaMamX8pHHGIC8t61M0MWSXYsB+9/qz0wWyPe1WcyBM0YtYu5H370sMDNEsWd/XXW62Fe0ll3KdTqdhwqdp5Z00kQVTV9yOs2jkPpP9OY5G7u2B/dEZMfvjA7+Fek22ibsQkZXXLYtcPIYTaSvpGuhkBuUQBan9M2+KBYsQmYhkV4WtrCKEsrQ3ERyhNnBx5vRTghYfWSkc44jm+6otbgbTK38lBsdiRvor36S7qw== 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)(86362001)(44832011)(31686004)(6486002)(8936002)(66946007)(66556008)(83380400001)(316002)(4326008)(186003)(38100700002)(2616005)(54906003)(26005)(82960400001)(15650500001)(6512007)(6506007)(6666004)(31696002)(5660300002)(2906002)(8676002)(36756003)(508600001)(66476007)(53546011)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?REdpQVVlREdyelJNYzJQSHArR2lMQURCTjJKSjJ3ZmpkNVQxb2t5ckJJTWN5?= =?utf-8?B?SnZhTnlhMnAyTlFTOVFQRnFKcnk4VkRaT25qY0kwNFFKbzRna3Z3a1NnbTlm?= =?utf-8?B?MmZpaWlsWXNGZW0rQ2hTK1pCY2wrOFpsMXhQQjNXRUw1b1cyNWdoMzdMRkxL?= =?utf-8?B?R3lGTU51RGJ0cUhoaVgxRHIrZ2laQlhUY0t4N2d6OE0ycE5kUUl5NFJ2Qnh4?= =?utf-8?B?dnBuRnNjODVGamlkV2s1c3FFM25yNmloWFZudTBwcjFaQXJmcFh3a0oyNTVL?= =?utf-8?B?MlJUcFZGdHRRWmVONE5aem5Xd2NhNnI3dkM5UitUYWpVWEI4SU9nQkE3cFgv?= =?utf-8?B?T0dsSTVMdmZORXA4RFUzN0hEZ2FUdFZvM3ArVmlrWTc5a0EySUg2S2x3bUtw?= =?utf-8?B?ZzJUeU1ZQ2laZHlma1MzMXJaZEpOUE54SkxDTGFuM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d9fd0eaedf X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2022 12:09:35.8039 (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: qrZRVw8lI7V5a1F0e4GWfT8elQTQHn1TRGh5dShB4lNv7R6X8QW+iDKoGYa/rfmMn91DRDZaXQYFpjDaun8C+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5173 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/1/2022 9:16 AM, Min Hu (Connor) wrote: > From: Huisong Li > > This patch adds help messages for multi-process. > > Fixes: a550baf24af9 ("app/testpmd: support multi-process") > Cc: stable@dpdk.org > > Signed-off-by: Huisong Li > --- > 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..44698046b4 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 number of processes which will be used\n"); > + printf(" --proc-id : the id of the current process (id < num-procs)\n"); Hi Connor, For people new to dpdk/test-pmd, it may be hard to figure out these two parameter is related to multi-process support. What do you think updating the description to clarify these are for multi-process support? > 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 "