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 A8AEBA0351; Fri, 4 Mar 2022 10:11:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 34F8C40150; Fri, 4 Mar 2022 10:11:39 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 1EB1B4013F; Fri, 4 Mar 2022 10:11:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646385097; x=1677921097; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=C4egMhbRWR0aNlDDHRYcpSOABbf8OIGv+yFWvHcFfvI=; b=jtQC7ycZBKAoUJeFiNrQD1uBiPMPa/yL4sADUX+XKc1DKRBclG+xCHiV cUymWCiT6Cb6vYvWV3fcKrLwBkIiAdPutSxDNp5wQ4vWRh2vZVHQ5tB7K F3IAu3ArDkL8QpJuCQPGBE0o7R9Rem1nAXOFnwNJsq60+6JzjJb/Mkk5w ddxDEzGTmAf0W0eQa+NAWqTSneOsAuLFiqxQ5ol/G9knYHINxsrWdN6Y0 RxLJdsQJ9QL16M/edeDCKMftKEqUW8FzhHIYi8mPdQ9vCE5U5I91Dt/UC YyT/XSCsWZcwYPZcAIQqjNw9DTECqz0OEBd0XMkkMi02oQPjzERTXZ8yh A==; X-IronPort-AV: E=McAfee;i="6200,9189,10275"; a="252761209" X-IronPort-AV: E=Sophos;i="5.90,154,1643702400"; d="scan'208";a="252761209" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2022 01:11:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,154,1643702400"; d="scan'208";a="686825582" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga001.fm.intel.com with ESMTP; 04 Mar 2022 01:11:35 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) 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; Fri, 4 Mar 2022 01:11:35 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx608.amr.corp.intel.com (10.18.126.88) 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 01:11:34 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) 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 01:11:34 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) 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 01:11:34 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PrSevMx0PZy3Rz9d0fNYybyguF23GqYAtH1xOAu8MnVGrfzJ87QqqcBqK8A6SBhzsvAyjHjo8KWhfhVn7qUW6BDy/sIhZanq1piz5VBvDJoxk6u4z4cWFsLDtgWJlvC14UkKQKEbIRtGdSteXGoi4loFLBMGi6CMSDrG10iyftfeklPjVUQA0zFiMjqa/Rg7inGbdSpeymltrA7E1oaoFd1cEJrlj4WNo8AtNJiRESKJ2V6QABiCWBNB1TcTOkAcUl8UVG+8gRmMcPTZlfgRCtAUmE7LzsENQJKKDvunXAOnD1E2I69T0nOqkpPsjdO/bli7ZgTe0R4+kb083czm5Q== 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=9hrrNI/CwiLuRv3f3QigtEbSODLluRh6rR1Bdaybx2k=; b=byuuIckdWvUymAogi3na/wNCy5amM0Wod3F5N7pKkTFS9nd06CgIEPy96m8SObWqYrU7aseeYPE/ektLX5O2khefDStra55dinUA2kZFRaorIS/P3Pr3XkVjZChhBEy8d+fqmrROUZHsQhhLyvq/Q9CnAaGlZ6Zh0SQgAWl0mkNRx/g2YMQBFeaLbjY7lu3NOwS3kp2ZcM40WU9UoaAeAFR4G1hth2yjuJL+4b3t+hBdE+3QVG9Dg+oa+2a5zsoPvs0DhRPNUB6vRFnMb4x3NZNnyZF03g56JFFPZaCEOuTqNu9ajOYC4VZVzk1Byo4PBkxLVgjIwUl4JAU3wnCcAg== 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 Received: from DM6PR11MB3516.namprd11.prod.outlook.com (2603:10b6:5:72::13) by CY4PR1101MB2088.namprd11.prod.outlook.com (2603:10b6:910:17::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.26; Fri, 4 Mar 2022 09:11:32 +0000 Received: from DM6PR11MB3516.namprd11.prod.outlook.com ([fe80::1c27:af5d:3e9e:d172]) by DM6PR11MB3516.namprd11.prod.outlook.com ([fe80::1c27:af5d:3e9e:d172%4]) with mapi id 15.20.5017.027; Fri, 4 Mar 2022 09:11:32 +0000 From: "Zhang, Yuying" To: "Min Hu (Connor)" , "dev@dpdk.org" CC: Huisong Li , "stable@dpdk.org" , "Li, Xiaoyun" , "Singh, Aman Deep" , Ajit Khaparde , Andrew Rybchenko , "Yigit, Ferruh" Subject: RE: [PATCH v5] app/testpmd: add help messages for multi-process Thread-Topic: [PATCH v5] app/testpmd: add help messages for multi-process Thread-Index: AQHYL5DkYzLRhnmF/0yujFmdq6zg1ayu8Gcw Date: Fri, 4 Mar 2022 09:11:32 +0000 Message-ID: References: <20220228032617.46618-1-humin29@huawei.com> <20220304062642.54725-1-humin29@huawei.com> In-Reply-To: <20220304062642.54725-1-humin29@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3557e65f-0c6f-4ff1-589d-08d9fdbef9ee x-ms-traffictypediagnostic: CY4PR1101MB2088: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: n9flwkQSbLtwJho1AJ1mb9zYer1/2lFDapKtL+wFP2p+sqQtNZ7h1Pl9WN4VRT4UJuiAnWt97USSjMn7CYTXpKj/jyhOxjkdNt2oJ1ipBq/2EI8uGOL/MPVorZsgNZiDprKPa/uMFG6eJoJjy6HcvGbGTIhyHJhvjy5fS4QIIlpGHj48GywIRvE2IORaYHbdutOQGGCJzP3ijLSOUo5wVcr4APWnJhYO6FeIEW9DUs3suiYh6DiC33NFW3VcxofF/Klf2zr58gVbqIUwKwwedrgYsnV5HAaaC1iKl+04PGvdlAyL06gxI02f5GKpkK14TdltV10csVXrZ0jVgLnQ5ZhIi8b8hY13lmecIkaErWpASZrxtOUcUt357rj542LH0MunY7B9sAESGl+U3LB/2DuHV5a/xCx0pfdpd4kCY0OJIkbNEg7Il3wETfF4gJfzu2x/gE/EukbZ9k36IBPovN5UGmheez75dl186JV1FKYUqpJL6EgI1oCPLFHCJxoZ7CeCYhzNx/SpSGDr+AVOgT7YJNlJ3Pp3pqwPV+JnvRJ2AZVifPD6T0HnGy5g2bSUQ6pNKGWbf6WpKNVYVHvjAqfPiBNvj2giFDKbMO+pw8oR5K5xHuYEMvUpeBI/NudCZ8QXiUirigS4dwYOpB9+85ZmBDlBA9LXNVDuQAL4rOES/BDbMvqSUl62tS+qPPIK+nACaAQABFe+Y+4FMsuq7g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3516.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(33656002)(38070700005)(316002)(4326008)(122000001)(38100700002)(110136005)(54906003)(186003)(107886003)(52536014)(26005)(83380400001)(76116006)(86362001)(82960400001)(8676002)(64756008)(66446008)(66476007)(2906002)(66946007)(66556008)(53546011)(7696005)(55016003)(9686003)(15650500001)(5660300002)(71200400001)(508600001)(6506007)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?O6xsuLPiuichN4LAEXerqhh3vwy5hVDei02MQhf1uHCuVu6By+sCfhZjC715?= =?us-ascii?Q?fkBAYoq9Q1a6+8iRvz0TmbvJnrbIZfd1TgIQioLZ4ztKmeeGXSeOT2wEULUt?= =?us-ascii?Q?C/zRjR3xD4Y2FZ5O3P+rmDkz/zf1QlNQZrkSvgNMnxuffBmLmUo8c9dMEn9S?= =?us-ascii?Q?UJxDCqnxH92BNvCxi8NVnaWel/EcIMIxaAJbHaKTRsZ/VKiVwxW90E35UHqd?= =?us-ascii?Q?WzPXDxIOu+ngoKzOQXuvRxMO7FMWd/Ei/B/rFBuAMpdOnllfXdLZIC1B5wk7?= =?us-ascii?Q?4DpMUBg12Si4i1iJsDme3I4mhXKk/Ujfo4h/efLE7wbanza7Px7WcTnBZlGI?= =?us-ascii?Q?D8PbKeL5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CAlEP8i6id66igyMRu?= =?us-ascii?Q?h0i50WcVYQeEI7TA+DISt3gqtGskIEPiOnswL82GDm9e39wAwYpySLpN78Vk?= =?us-ascii?Q?N6+Z6n2zplklKs2C515VMymcWnCZA41Q3q8fmndWXYpQtcfC+LElpr0i72OK?= =?us-ascii?Q?WhsQGKBBdhmYhu/Uq7i52ebbwLlLMorMIa/18ZaNdUpOTRBwy714YnR7XcES?= =?us-ascii?Q?bb5EW/dglwyL+NeOayuNqo+zrPOMOwVbhFvBhjkaJRhbprjfrs9enbjQGU1b?= =?us-ascii?Q?ICLcMoAryU9IE0Xq01fvEpgl9Na46rFK+iOohuOVJiDAfZmJaatfZFlHzQsU?= =?us-ascii?Q?DvUo06Z2zIaK5SWNW3wmtyLBjxaRlqfl/HSGZUZwqtG5L5hg0s4ojXYKyY4K?= =?us-ascii?Q?bJsdoxiUEMBYdJuLuM04B94=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3516.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3557e65f-0c6f-4ff1-589d-08d9fdbef9ee X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2022 09:11:32.7771 (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: ljnuHfOXJP9T/nAnXoqufxsN1QotTvxVvhwyJRh5rjbCOXv3zgVaeRV4A7Q65sgKMvVPCDsNl9jnOrtmlZ1FRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2088 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 Hi Minhu, > -----Original Message----- > From: Min Hu (Connor) > Sent: Friday, March 4, 2022 2:27 PM > To: dev@dpdk.org > Cc: Huisong Li ; stable@dpdk.org; Min Hu > ; Li, Xiaoyun ; Singh, Aman > Deep ; Zhang, Yuying > ; Ajit Khaparde ; > Andrew Rybchenko ; Yigit, Ferruh > > Subject: [PATCH v5] app/testpmd: add help messages for multi-process >=20 > From: Huisong Li >=20 > 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 paramete= r is > used to configure the appropriate number of receive queues on each > network port. >=20 > --proc-id , where n is a numeric value in the range 0 <=3D n < N (numb= er 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. >=20 > Fixes: a550baf24af9 ("app/testpmd: support multi-process") > Cc: stable@dpdk.org >=20 > Signed-off-by: Huisong Li > Signed-off-by: Min Hu (Connor) Acked-by: Yuying Zhang > --- > 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(+) >=20 > 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"); > + 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=3DN: set the number of forwarding cores " > "(1 <=3D N <=3D %d).\n", nb_lcores); > printf(" --nb-ports=3DN: set the number of forwarding ports " > -- > 2.33.0