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 B7BE7A04A2; Fri, 4 Mar 2022 03:50:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 456C940150; Fri, 4 Mar 2022 03:50:12 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id DEA9D4013F; Fri, 4 Mar 2022 03:50:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646362210; x=1677898210; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=oVleh61C0bpre6AZsIzTyB2yPJ7OCuC/05YxZ5e1+3E=; b=IfXa3T3VgFemF3f9btN3/IWrrGqHBm80bLWe6jncnhcJ6ok2i0Rm7bFy 6bj2Ib0eI90qMrX648U8ksiLjRt62LoUlIlo1zBUXP3PUomOVHr9CmNmz tQ+bcsG3yZFDzwtY9hQimQddbftBVc9mpxV00zL64WxpeGQmMzgxMNvmi pr9ynN5scd04aheQUDfmkd70vDUuKK0rLXsKX3VHIcZYpo06tVFMPB6ym QWIFNrI627LYYrJ5A2O2wn+AOBgqMAYASCNUkNy0klvGfyoSdfX5Jb3kT yOlKLI7iOLTX6Bv4u2jtBr01qDKW0OZDEiQK1Kg3wiuq5P7+DNBKqYR/7 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10275"; a="241300266" X-IronPort-AV: E=Sophos;i="5.90,154,1643702400"; d="scan'208";a="241300266" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2022 18:50:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,154,1643702400"; d="scan'208";a="594635716" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga008.fm.intel.com with ESMTP; 03 Mar 2022 18:50:08 -0800 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX602.amr.corp.intel.com (10.22.229.15) 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 18:50:07 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX607.amr.corp.intel.com (10.22.229.20) 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 18:50:07 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) 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 18:50:07 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.170) by edgegateway.intel.com (134.134.137.100) 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 18:50:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VSSzDtaBlLpovFB5VDncb6BlTjW5Ul597CXlgRQFtn3g5baxI1XGtStlG+J1SkUjisgjITFCjK9moXsEK07Wdqw5UmXi94z1qgTN0WAzRdQC4XKYizyy3JQUoX9FVRvdzCJBIDYAk5v3igilaznLzENYIuIJfIwz6F91ifmAnExlifZa55MtgJWsEta6R0j/ylRUedpfhl1WbxFbnaCiMr9WAYUk2JHAPk9AfA9rKVif5zh5+IyO1/2e97iv9Kj/XdeLJ5ncKqfYdhIE4Wfg36K9A0mDWKs2wEk6wXUt4NQvyZg5iSzkAk9iGytBQFZLvqhkOIlNuO16OihR7r0jPA== 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=A7FmXHXFJfrOCVDCT119oohaTPVIc77xU49tVo4D+CE=; b=g3NEkAjFbfxglmaI2PJTt2IK6DrHXjnaQG5g7kAl0vekTxLlf1KF0e2btvWPSbkhS/Fvy2KIZMoG37aIptg2OOhLgVlsTw7h/0yb6OHE5rhVpQpyE62YteuWxyLPiPpqDLawGM8Ld9UIy6HE4tLbd/L4LM4B9or1tPSXL/Ykqe/xtK1rxhYBHzjMMYdlw9gq/lcwfp0g174PxWeKTr4VBKh7EE2yS/PIGcGvoyjcD4Fwd483xWZKBVUIIfKdfrRrCjO2WtFMfrB9TwVVP9P6H3Is0Cq2qtCnyzA/H7N1cNxbN6a0NTzRpLafn7r30FtEuW4FZbCYwmPVtlLyG9n+Pg== 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 MN0PR11MB5986.namprd11.prod.outlook.com (2603:10b6:208:371::22) 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 02:50:05 +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 02:50:05 +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 v4] app/testpmd: add help messages for multi-process Thread-Topic: [PATCH v4] app/testpmd: add help messages for multi-process Thread-Index: AQHYL2cil8+lxLpIoEyfSXebuhc/E6yuhX5A Date: Fri, 4 Mar 2022 02:50:05 +0000 Message-ID: References: <20220228032617.46618-1-humin29@huawei.com> <20220304012748.53004-1-humin29@huawei.com> In-Reply-To: <20220304012748.53004-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: c4327ecd-4835-4086-3fff-08d9fd89b012 x-ms-traffictypediagnostic: MN0PR11MB5986: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: i6hwKPihxXU0P9llK5sdNu7BYTai+E5DDRmoBtd+eyQ3UeeWbvz3dDj2jovltnIi/HkNdt2O+Uoi2ej4XaaJ/xZeDqkXEcANhFFFXdR7moJWwpAmzCBVplnJSg5YKMJwuoHoHtiJz/Z4ZozX4AvhnCA+J3XQHHdQlErJVA8k4JH+aoM6ADXz8hs7hu56tFtc9WvavmcZSrgyl5AvImithLoF+y0W6mLg+nfroeIyTkMl2u5CAP0P5VIZoEhY3ncQvfM3wrFaffX/pM4P1RtZ2mYe2LlE5hKdt0+pEPTjSa7SRthT6+lrAB4enxzqUsSMOQcPv18Of3QGVyXpWgVP9BvEnzSNTr6lLZWSW30YQY3GOZ64W8s+124gGxKaCuLYPWz0T3/1ct1xlTfLHd4P7MirqWcliAcJlNX+yu7Z/0mS+q6NdRio0aNqNIpx/yWgwwXHhVBDtzjio6BEeT2K4orxVnfO7QpcT6wGSBjpeL/GrLNnXrig3JLnH98EZluGVSFTaWKi32FKVP7qs0GeYNFbFWrl8MqTJklBHAmhWFvHyOyt0a/Yxs8pfXmggfbUfRJvq/H6WpFM58Lfy59I/l+Xa2uRLKUJNY1DUgz1WVwVu6aF58RHNBqtDWh21bxKKTaI2+ZO0nDLIa7oYJ1kzjaiwfutdnezcylfA5nOzI0r96cbYD0z+2RYDmvC1qr2IBKccTW2krL0VzVcswmGWw== 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)(8936002)(52536014)(55016003)(122000001)(5660300002)(54906003)(38100700002)(82960400001)(316002)(76116006)(38070700005)(4326008)(66446008)(66946007)(8676002)(66476007)(64756008)(66556008)(2906002)(15650500001)(86362001)(110136005)(71200400001)(107886003)(53546011)(186003)(26005)(9686003)(7696005)(6506007)(33656002)(508600001)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?BeqnH9tg5SWwTZjIT34KoFZRtX0frW8PPC6ADoVRA/FU1IOTB0c8fnirSUE1?= =?us-ascii?Q?v8fsvi90S0LxtlKb/Us37Efh6FnifqyuaRKYmysOjm99GHkNQWrs+LMoGX1q?= =?us-ascii?Q?PCW4wm1iT5LRYY8HX4GmaCNHKC0hWeTiJ5XaLMGRMme7kCl9qZWxYsQSauVC?= =?us-ascii?Q?QTL9PU247lo3bvTJkgBmvRjGXF6ht9PSnpIbxvcxVzLdNUSqPVzJ952TAK/g?= =?us-ascii?Q?zYoe9pLN2q3kyVINUjsQb4EwRDC8UPKv/0UxAZQR+Hy55I386Dsdmt8TFEFJ?= =?us-ascii?Q?rjzlBM3rdUmNu642/VjeUTrj/kMCkJe98kBc9xkMeAlXdB29Cn67AFZnDzMn?= =?us-ascii?Q?l9II14N1tlvA+Qn8NoJE99HE1t/BCIGM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qyBOA59fNCb5SkM+v+wIV8TLk3qJjzKDMWWHTCwPJnijcnc2V3/kvzin?= =?us-ascii?Q?QbdHYof/VgSW/j+6uPr9yun/hKwBNAPe9/NCkzkPPyNKuPSccWDePFNvTNlW?= =?us-ascii?Q?pJaNG31B1p7AmyjW179nv2kI/WkzznfYSP3oHlAUOfPCJiD27vBsjwGMSBN2?= =?us-ascii?Q?sp/Eih34fTpBc/LDe+l/JLUzzihAgr5FBKkXVagF7ievlT55da2g/otMctZE?= =?us-ascii?Q?CyQ8PNWq4z8YCv0EBrgu5MEEFgPiEZFie6IFBLvyA/VY854nPqKsGH/spnt1?= =?us-ascii?Q?l6SkOn3JCNyAW7DLZXHY5WG0e8fUKVGmMoY8rk0Nobj19sz5JRmFpBkoF0d4?= =?us-ascii?Q?Ss7uFaOPI9qkOiMaZST/qrM=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: c4327ecd-4835-4086-3fff-08d9fd89b012 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2022 02:50:05.5656 (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: fVgy4gbLpyRX2wnG15kpavz8MAx7/4AMRRBbagQeX4/ielt2ou/IS/JSBh9Rs2xBFt/Z/JfZDMiM/6dFX7PfuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR11MB5986 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 Connor, > -----Original Message----- > From: Min Hu (Connor) > Sent: Friday, March 4, 2022 9:28 AM > 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 v4] 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 th= at > 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. >=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) > --- > 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..908e8a15f5 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"); Could you delete the space before colon? > 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