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 668CAA0C4B; Thu, 21 Oct 2021 08:35:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4EF5C410E2; Thu, 21 Oct 2021 08:35:28 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id D586440142 for ; Thu, 21 Oct 2021 08:35:26 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10143"; a="229228576" X-IronPort-AV: E=Sophos;i="5.87,169,1631602800"; d="scan'208";a="229228576" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 23:35:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,169,1631602800"; d="scan'208";a="594975126" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga004.jf.intel.com with ESMTP; 20 Oct 2021 23:35:25 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) 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.2242.12; Wed, 20 Oct 2021 23:35:24 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 20 Oct 2021 23:35:24 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2242.12 via Frontend Transport; Wed, 20 Oct 2021 23:35:24 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 20 Oct 2021 23:35:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ApznMXCS4A3K6yTOcRozKZSqScnpRKkRrOh+vmbl9OGbM7kFjfL+7dFJSOYC1NM/j4/bDunpRUSjLkRCGv6sobDWE8pyrv4UgWIS9qMVLdZgxh4oc8TQLOHW5AsJfHCVRT99uwFay3szCwskxI2F6/omRQ6dOtUGaUBfl5LA9t0etd3jt1vmPTBZNH2KhH/0AFfaUUVwWxybuP6nmvtJx19rlr/rGhhqQCphA2eeOerO1sklc3cxoweZkRQ6EfLxIa5cYHk0ZS2UZHoLzlDAc1UnxD1LJBflzQ0NAXRvgdsXHK1YGkStSzWwvNSLjpJOZR2wdIPyaV4yfT8SL+IZOA== 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=KX8gDDjlRdG3d1jvWDo1sqjStn138zhROgqtxqTmOjo=; b=hrErIgJ4uTgcqaMEOuacGWnkEBz+pMhjmCcDwFG6X9NpOBFftbmh+GZ9lPhPx6YuZCoT56U0pHYyU1xEKrr+DtCjcLj9vplWwRawReYie4JLCQbzj4Jf9Uzt2KKLxKMboxMaqyjux5ziT0CmM4XmOS5l5cw4Q1ntnu4ZAUsyBjRYpA/A0vrA4E4qtuj/ACaAseDXjoEkRWa58ZCG2/p3NC2/Pvdoxleey5U+aH9Q58lFXPlJK3IFobS5kUUIP6smCLl+9OT0jit5E1H15UEvFZ2CtimydVuFZOmmSe8y7PebD329XIleNXYEh/UnfnDTwqhjtczB49r6q4E6eVZHGw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KX8gDDjlRdG3d1jvWDo1sqjStn138zhROgqtxqTmOjo=; b=QrrDvhpKXScaF3QnJIP3BCdxUB2JYc3BA/K44f34R8XysXZkc9M3d84UIFbtw2T5H4CyA3/ssxVYNBYPZexw4T1gnf9uVAdo+IDLe89C6QRX45N9Yujn3a6R3iXl63AZCjUq8kjgz9Xazz9zusPjfZasLbS7QvQbi/jIt9J+WOg= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM6PR11MB2731.namprd11.prod.outlook.com (2603:10b6:5:c3::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18; Thu, 21 Oct 2021 06:35:23 +0000 Received: from DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::3d9b:76d7:e274:bad3]) by DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::3d9b:76d7:e274:bad3%4]) with mapi id 15.20.4628.018; Thu, 21 Oct 2021 06:35:23 +0000 From: "Li, Xiaoyun" To: Xueming Li , "dev@dpdk.org" , "Zhang, Yuying" CC: Jerin Jacob , "Yigit, Ferruh" , Andrew Rybchenko , Viacheslav Ovsiienko , Thomas Monjalon , Lior Margalit , "Ananyev, Konstantin" , Ajit Khaparde Thread-Topic: [PATCH v12 6/7] app/testpmd: force shared Rx queue polled on same core Thread-Index: AQHXxjn08J09RP0LZkKrZXmA6zhzwavc/wgA Date: Thu, 21 Oct 2021 06:35:23 +0000 Message-ID: References: <20210727034204.20649-1-xuemingl@nvidia.com> <20211021050832.2599691-1-xuemingl@nvidia.com> <20211021050832.2599691-7-xuemingl@nvidia.com> In-Reply-To: <20211021050832.2599691-7-xuemingl@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 59e1122d-b88c-4e2a-6db8-08d9945cf5ff x-ms-traffictypediagnostic: DM6PR11MB2731: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:949; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vRTE8G6ZE6hO6+8v3Mlme2WfRYHJZnkMaiQDz/CgGPLwa6y3anL/iVSGfyYn0sWntqwO4havJqO5LVgm4AZDeuCOd0ThhQN3UQW/beiwXq44k520lnxlqGJl5cpx4swXfx1DQ2sjrUFAVSTC42F4M2efdwovhwsquYoOPty8KPZty607/d4Xbw0XJBDZYtZPDip1RwqTHDZi1o3bKC5xd2P2htkL0kKREMy3HKvrdp4K0/6f5pS9SaXP+JpN1QJaMa9uZLPTUDyTp+E222jYN5VpslNfqmd4EtCmlunG8yHWUk0hRNfuULLFGcPg+EMK88ue5hGrdBCm5IzjPIWDsfc4YtU22eg0Q8p640ScznU2T7i8/jR37f8bZuLZyO61t0nLOAXA4Qfs8UwdWzv3tsqyMb3zfrUVkbkOKqYp9OKs4CNknK/xWNd4UaMPiw6zvy9BAXm0NNdNa/gK4PZ9sRJMGSJrwuQLf6PrtLj3fJS+sHcqKbvKTk+sWOlJkuilEc2GeyZdcgO3DO9aF6kPAXDyThTAk0mbRJ2/xOQ25XZQINsfzTSsrjU8/X5fevd0lIN2Ui9Lf33CpZ2ZMCNuc3nci/wlp+ogYtyxHdNIGJOyvg9UxNjlHwJblc2KGXY3oBMAPvjwIbjoSTr4GVxxMLEX742B9Je9b8pmiYsVf/hS9TnwWIYzyQt2lXm4K02aCoKcleCdkRaKDB//bAT/og== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5534.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(64756008)(66556008)(66476007)(66446008)(66946007)(76116006)(33656002)(316002)(4326008)(8936002)(52536014)(8676002)(2906002)(83380400001)(508600001)(26005)(6506007)(186003)(38100700002)(54906003)(110136005)(122000001)(38070700005)(6636002)(86362001)(4744005)(5660300002)(7696005)(71200400001)(53546011)(82960400001)(9686003)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3din7W484PYflgJPXKFDyNnZao8eEOGlhOarqbXq9QJccUBHG+i8MRNjeMJl?= =?us-ascii?Q?RxZYUJSgMvVxV7NNSAJbW3rinMhkXaXcLjiaOamgXILBbyNCm1EwLDmY/s0d?= =?us-ascii?Q?xLqfcgQwIbv/dHWl5VJ//LC3kgzp0T6YieJNR8FuLLbDpHPT4w004aegxnKu?= =?us-ascii?Q?vlo/d/fLSXInGaRQxZSi3p4XrUESDBIIszUNwkqZCRHIIbD2f4YPmM1Fo6Lg?= =?us-ascii?Q?lP7HSFqMsTR8SveTyDryRQXAPvj4CO5sGPj1g5F2DePSWU+CSsSANA026SWk?= =?us-ascii?Q?jU8kljcH9rWNr/Gg9TuRH9NAPaO0lCezNb95flbRv5vssZrry1/jGMQACGrA?= =?us-ascii?Q?ckRWgvM2NS2b+BpwZbh34nP5m3BrVTBfrm5TY2YX10gFPxrrxBr0CV30Rs3b?= =?us-ascii?Q?jPLEEEucDW9kDvEIlOi/a4EztZQxvWL5qDxmZ5Mwc0w3bkLPnWwi4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ain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5534.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59e1122d-b88c-4e2a-6db8-08d9945cf5ff X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2021 06:35:23.3351 (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: xiaoyun.li@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2731 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v12 6/7] app/testpmd: force shared Rx queue polled on same core 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 Sender: "dev" > -----Original Message----- > From: Xueming Li > Sent: Thursday, October 21, 2021 13:09 > To: dev@dpdk.org; Zhang, Yuying ; Li, Xiaoyun > > Cc: xuemingl@nvidia.com; Jerin Jacob ; Yigit, Ferr= uh > ; Andrew Rybchenko > ; Viacheslav Ovsiienko > ; Thomas Monjalon ; Lior > Margalit ; Ananyev, Konstantin > ; Ajit Khaparde > > Subject: [PATCH v12 6/7] app/testpmd: force shared Rx queue polled on sam= e > core >=20 > Shared Rx queue must be polled on same core. This patch checks and stops > forwarding if shared RxQ being scheduled on multiple cores. >=20 > It's suggested to use same number of Rx queues and polling cores. >=20 > Signed-off-by: Xueming Li > --- > app/test-pmd/config.c | 105 > +++++++++++++++++++++++++++++++++++++++++ > app/test-pmd/testpmd.c | 5 +- > app/test-pmd/testpmd.h | 2 + > 3 files changed, 111 insertions(+), 1 deletion(-) >=20 Acked-by: Xiaoyun Li