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 05167A0C52; Fri, 13 Aug 2021 03:56:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8076A4069E; Fri, 13 Aug 2021 03:56:57 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 9C0FA40151 for ; Fri, 13 Aug 2021 03:56:55 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10074"; a="301072383" X-IronPort-AV: E=Sophos;i="5.84,317,1620716400"; d="scan'208";a="301072383" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2021 18:56:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,317,1620716400"; d="scan'208";a="590973913" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga001.fm.intel.com with ESMTP; 12 Aug 2021 18:56:54 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 12 Aug 2021 18:56:54 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Thu, 12 Aug 2021 18:56:54 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Thu, 12 Aug 2021 18:56:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MVPKovpmtPBEV1QXSln8oSiSfFR6qsb5lPlI5PvzQ9SkL+g9xDyU8mnSThbVeZYiPw/oQjJHP+LM63qLneYoarGRt3g8UFV7XUg1jKJDEVw4/rnCSupjMwMe0V6ixJnuqLmgK6VeZPGLBAXwoSZ0mGbF2dO5NO82QIo+v1ocNVdkmxA8yx9Ogjl2++WGP5MARXL1N3pp6Oob/NgJQrXUXSEB1CsnJfFN60Ze4RgZlhKk22ZVcjDVkOewYPo2JYyYsRcr4Cq5tCRHl7JJfhIa99c88O/jWCQE540+E3Lbknv5s45NfLg8SxHXbYK1rPto2rmbgqxwAe96xeTr5cnGpw== 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-SenderADCheck; bh=7p7by+dRi4QLnpnO7oieMKNzvTL9qb/tCLux4nnTs38=; b=nfe31nRTGObbeMoFuWIVoRhke8STyj1gn3tPZvFh7zDAC9nqQlDGM8LbroPdzJGh15dVCEWJ3Oy/gkAA9Kfe5rEOcIPTw8yJf/mTgBHAApoamVOSdtSAPOw3X9yGnUELv/YBvFAcg+dIn0rSqYwtBuwxCh+dBLjOF6Q1EIhQER6KcDn8P1ThSTdXBgmbATsNQ8sbus8uf0Of4me1FmnH8QYtVejbEv4ijo2xg+6j4fQeemE/O4aP2e2SZ+wmqoqRq1x1MEup8Gt9NKuDCfQwfX2381cdkvclKHwklPwGJGaBnUps/YfvxC014hXRFIVyU1CSaTeiNflTB7YWn/g75w== 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=7p7by+dRi4QLnpnO7oieMKNzvTL9qb/tCLux4nnTs38=; b=whwAUO6nRhe8kqX+qcpm4kJ+3t2hmSVGz4fyp+9E4PScvuPdI1LQbBPi85ADnCWQkuWAVSd0T7+vbCFD0Mx7rDWyVCPyzJr2FQUJ0FAyIS5GXShtb9yeiIPzeCHl70ud1X3eeCIgi7teyVdejJKnu2pgZT5Z3O4UPdZ7PJebJhk= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM4PR11MB5536.namprd11.prod.outlook.com (2603:10b6:5:39b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.16; Fri, 13 Aug 2021 01:56:53 +0000 Received: from DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::d019:aaeb:94c0:1c45]) by DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::d019:aaeb:94c0:1c45%8]) with mapi id 15.20.4415.017; Fri, 13 Aug 2021 01:56:52 +0000 From: "Li, Xiaoyun" To: Zhihong Wang , "dev@dpdk.org" , "Yigit, Ferruh" , "Singh, Aman Deep" , "irusskikh@marvell.com" , "cchemparathy@tilera.com" Thread-Topic: [PATCH v4 4/4] app/testpmd: use per-core variable in flowgen Thread-Index: AQHXj3ywX+Lo6dXKgkOFX9tl8B1p7atwqubA Date: Fri, 13 Aug 2021 01:56:52 +0000 Message-ID: References: <20210809062548.30187-1-wangzhihong.wzh@bytedance.com> <20210812131901.25665-1-wangzhihong.wzh@bytedance.com> <20210812131901.25665-5-wangzhihong.wzh@bytedance.com> In-Reply-To: <20210812131901.25665-5-wangzhihong.wzh@bytedance.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: bytedance.com; dkim=none (message not signed) header.d=none;bytedance.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4c00a536-e0ca-429b-be44-08d95dfd9f46 x-ms-traffictypediagnostic: DM4PR11MB5536: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:483; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NYZfiMc8oAXJZ0VniirOsjKoyiBLrRsIVResa8sJ/QjQGniKRftO8hglecUuYChvMtVBS7aHxApmgRAMlmc8v8oeA8Peqc5O1KB1JHdfgy2mrKBse8/6ZKvk9bVefQ7LbVyxtwfitMH+hyEBkc/WBnTHJ1Nk/k+tkbsYkClScpcR0wTxHJkBCn/M4OQWFbxfd7bDfz4FxTK8UAhjc0ld40GbVyT8SuYy/DCdZiOBQqZXjYNWISdFNpgw0z7BFXTmmWF0bb+68rFEt+U5kJuH9R2Df8StCWUbiw+nrUhzKMKv095qjlnPX+W9A+DanCxsqcdn94zMZUoaw6/dz+TwLjPg/E+W/zJEfFf0nZuFLWb068C3wXlxG+6Rc3MhgZTipPxFIR4i5X3M30KWLXu71/+ahdLs1k6uUhzNEjp6sCPcDGcbMV20I3HArsR27IF7SC4hWKIlahiPta/JtP7TVSQsw7IzllwCx1bv5FcAfvhFBp7wz0aEFsyHkrVZwiy09vyMlduWiMx0Cx+sWEMd+mNXOJwhJT9y7oKnyl9eJ29OjlFSmaLAtd1+LOrmARlv79JBOQGFFeoG+q10a5jfvbyPOrqejlmS4zYHLCqUsH05UDx1fwECg2bGSTP+PnzpsnSW2ufaKPbHDr5kQdVeQ0ro8vJ76lcafGCGiSsn+FZEZ605cUV9FPvNJI/6eEUVfDfqO44WBfiBPd9JMTcxFw== 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:(4636009)(376002)(39860400002)(346002)(136003)(396003)(366004)(186003)(66946007)(86362001)(71200400001)(66476007)(122000001)(2906002)(6506007)(53546011)(8936002)(7696005)(478600001)(8676002)(26005)(76116006)(66556008)(64756008)(66446008)(33656002)(5660300002)(38070700005)(316002)(4744005)(55016002)(83380400001)(110136005)(9686003)(38100700002)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?kry13xZ0Z8xRFOYR2pK3mQLo9KKp3e5ZdCBha/wlzivmP4/Sc1YEvkdZ6E/z?= =?us-ascii?Q?kvsvPJaYBlTSVJhKkJAlf8rFq4HAuh/S27e2NddKBFqlPL+cGPH7QkL1jkJE?= =?us-ascii?Q?W2oTUeY8N8mq5B306AIcXPVLFNL6dvZSnrJ4OC0WfAF874vqv8EeU2j2QX7j?= =?us-ascii?Q?1nNIKxWi5rQQv4DvXzynLi2Mii3hlWQ0b47p/tz4CgJzDr910Wn+r4eKg3/b?= =?us-ascii?Q?XLC2kL55yBgnBUKWecUIyRChOr5B238EFdX3wpTLRU8awqDAWZzzli0ckPXq?= =?us-ascii?Q?hWA9ePiwKQEfYI9Sazin/00b1aW648GOWTFv4TVLX/7Kv3Pqdl0yRdF62OpJ?= =?us-ascii?Q?YUlJSP4bgmqNzYY9uCvkaeBgQ24wq583GoaumEcuzR8Tut+OzEw463BATapd?= =?us-ascii?Q?O4ZmoEe9b/LHxqubbHxT8qWPIRxq7r970f1i4RLOkzs44gszjhre51vAij4a?= =?us-ascii?Q?P7qw8heMXYrU3mNkYAHBexYSPItm5hbuIcAWxPNAiVw4M5G/rTwC+dagXSnb?= =?us-ascii?Q?OfjsTE9CCSss7dqDmftfhgjRDE8wU5VNwkXc91ZR8+5IVnMC1Rwo0TDfOUyd?= =?us-ascii?Q?xQfJTfdrv4xRDeHVIrFUKTMr3eNvajMWF7MFAQUF/OIQvENEKow/jQJOyW5X?= =?us-ascii?Q?TUhhSjR5O5xsaMCDAPmnzS7PP8n+hgBRBvuO8VMDJZ5b99F5O/fp7joxyxXJ?= =?us-ascii?Q?M1QImvLlm7LRMu2pw3TfSD1f2cb28SSH8Sk9oXCoBhhx9WdG3ewc+mCylYc+?= =?us-ascii?Q?mTH9SW77WxnwuG4GegEtZzQ6jp7803+rFTiK01r1Qpy9kHLkq9wxvhKnEziU?= =?us-ascii?Q?5UDfXAVpp+PkAwffQIbiQFaHYzfWMA+gvA9yZX2DYF1Lzm8N4+N9p6r5C4o+?= =?us-ascii?Q?OR7mBj+BiAiV/xjuBfcJTgu4j6wds5wgoEx33qPqCNx8hUbCVML8JHMzVW6T?= =?us-ascii?Q?aTMnE3Rmqa+/XYN5fN5a6j3JntJKlKoXjOZkSrMMsj6ZOqKu4IQkZ6P1Bagt?= =?us-ascii?Q?ES1fv4IODq1BNFQ3QXwldPCa2NqmItVkdpZZSQv6e0GBrCQbX1VvK2jnlM7A?= =?us-ascii?Q?1xlGa+HzMcKrYBlQXTzMezzUF7yvNIJPTwbe5CSeBaJ45pUkNZCMbULHVb2r?= =?us-ascii?Q?J0SqA4tkDqpaQH2Xz4eoq1DpK95oKKcX5m9qgvgOu+cJobkSPTgT29v2/ykV?= =?us-ascii?Q?NKsBE9cFbB4mkbotKMPt/6tXli4fi7H+edSVwf/X7jOQAZYDJ9ecVHjQ6Jxi?= =?us-ascii?Q?/4V2VVHhSoxbGXfEtJA5DB9xkrXwr95PB9WlgRBQd+UeZKFdhBvL5XEeWxRj?= =?us-ascii?Q?YmmAVnsDiCCQtMxdpSiO2uF+?= 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: DM4PR11MB5534.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c00a536-e0ca-429b-be44-08d95dfd9f46 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Aug 2021 01:56:52.9500 (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: NrMzEhDGAekK1YAtrRRmtNLz5et0KcBs21D+dlGuWggzP5f0lRSElqUeKZ+NDAt3uZ8TIdePazbQ3rT/lHqPDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5536 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 4/4] app/testpmd: use per-core variable in flowgen 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: Zhihong Wang > Sent: Thursday, August 12, 2021 21:19 > To: dev@dpdk.org; Yigit, Ferruh ; Li, Xiaoyun > ; Singh, Aman Deep ; > irusskikh@marvell.com; cchemparathy@tilera.com > Cc: Zhihong Wang > Subject: [PATCH v4 4/4] app/testpmd: use per-core variable in flowgen >=20 > Use per-core variable for flow indexing to solve cache contention in mult= i-core > scenarios. >=20 > v4: use loop local variable to improve performance Usually, the changes should be after sign-off and "---" not in commit log. >=20 > Signed-off-by: Zhihong Wang > --- > app/test-pmd/flowgen.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) >=20 Acked-by: Xiaoyun Li