From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40079.outbound.protection.outlook.com [40.107.4.79]) by dpdk.org (Postfix) with ESMTP id D9B311B13B for ; Wed, 2 Jan 2019 19:40:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OjbAVYX/hPepOFJNwVbfSknvIWXpqb/Mi0cZ7Au01dM=; b=ACzzsSrlQoTI4eqhGdNtx2/o4TO7bOrkn35wfn6hTp9hLeWIk1nF6ztKqAIqT6OUt6GnFPq/eg7Lf3FiMBLZwJIeBp8zBA68R7P/qEDkGlL+aLD3h2eP3BhZBXuHUzQ1ohtM8/ElFVdyzdZjA2LA3fUgEk9FaSY2wEF5DB5Yee8= Received: from DB7PR08MB3674.eurprd08.prod.outlook.com (20.177.120.156) by DB7PR08MB3497.eurprd08.prod.outlook.com (20.177.120.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Wed, 2 Jan 2019 18:40:58 +0000 Received: from DB7PR08MB3674.eurprd08.prod.outlook.com ([fe80::e146:fdc1:bfa1:9953]) by DB7PR08MB3674.eurprd08.prod.outlook.com ([fe80::e146:fdc1:bfa1:9953%5]) with mapi id 15.20.1495.005; Wed, 2 Jan 2019 18:40:58 +0000 From: Honnappa Nagarahalli To: Thomas Monjalon , "Gavin Hu (Arm Technology China)" CC: "dev@dpdk.org" , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , "bruce.richardson@intel.com" , "chaozhu@linux.vnet.ibm.com" , nd , "olivier.matz@6wind.com" , nd Thread-Topic: [PATCH v4 0/3] add rte ring reset api and use it to flush a ring by hash Thread-Index: AQHUojX9Lnq+NONtfEynU8E6bww60aWb7y2AgABg7HA= Date: Wed, 2 Jan 2019 18:40:58 +0000 Message-ID: References: <1546390533-53868-1-git-send-email-gavin.hu@arm.com> <3304696.9C1FQTdO3e@xps> In-Reply-To: <3304696.9C1FQTdO3e@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR08MB3497; 6:sLLijjVoZG5gOpi9Ed9pToYKUylJvHuUFok3U2RPGt058imGUmig4s7/wQhK7Aa2dtU/R8KWELgEiNoaijby104SHipdIo4ikXgpVU8Y3Lg97evOx2PCB0p/0aIdMwsax8+u0yDgqxh3jhTa1/l3OmPncvxSLnt8WNNF4GXPywEdCKkla3jLh9dO06V+JpV/bMFUjAcealoubB05Er8PYa2xQz8OPMJWXDgbw5IfYG5l8C85qt3gIirVrGi6dQ7T2fL3fC+2BTJ3VvO6xTFWdTTaZa/6F9uAKpTmv/F9UiOjXjNqX9JDudp/GWT8uAEbVOC2RFYLjMd1wdMmtViSsNBL1JC2rMUsvfC90kaUKvZsEv3bfvM9/FflaqU0rzjSUTA1O0pFvZ7IU/5vSRCZbRLgJ3ELA+e1llVBxzM2ax1UrK0K3NotVEPQ/oxPEILG+qbTT4twBCQQOGpAxRB5Zw==; 5:oyxfdhA8LGKIOdleSo/XGWsDSceore+XKuHH5AK/5rhoJkAXckfrCMYs7qjhqwQH68uqmaAbnt/sQRWhWIlsq3n1jiFqKz/7NM00sH16S86uKDUvIDk6akusKhmBJwdH5CkcxMrZ/mao84OF9qhWul01eKC5I2m5LpQsWczgV4cqiapwAZAWBPo+DxC4R18JG6tv51+RJcv10asJKmEV8g==; 7:FXnuBRCxls28GJp3uJvTLMIqHF/2Xw9lopkmGQIKFTY7hyS75oyBx+Sd8ikv8RNWV+hHWocVy6KWyECaKQ4ncaYXHQgaXvDAtI0PeZyyRubzQM4zBh3lRQExS224z7Q7I5YI+Mb4uam4YJiu3Sef0g== x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: 9f55bc8e-f3b0-4837-82c8-08d670e1d655 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR08MB3497; x-ms-traffictypediagnostic: DB7PR08MB3497: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(10201501046)(93006095)(93001095)(3231475)(944501520)(4982022)(52105112)(3002001)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:DB7PR08MB3497; BCL:0; PCL:0; RULEID:; SRVR:DB7PR08MB3497; x-forefront-prvs: 0905A6B2C7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(136003)(346002)(39860400002)(396003)(366004)(199004)(189003)(53936002)(81166006)(105586002)(26005)(97736004)(3846002)(9686003)(8676002)(305945005)(99286004)(102836004)(6306002)(7736002)(81156014)(11346002)(106356001)(446003)(86362001)(486006)(54906003)(6246003)(71200400001)(4326008)(7696005)(476003)(71190400001)(8936002)(186003)(6116002)(76176011)(256004)(25786009)(6506007)(110136005)(6636002)(68736007)(66066001)(966005)(316002)(33656002)(6436002)(5660300001)(74316002)(55016002)(2906002)(14454004)(72206003)(478600001)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR08MB3497; H:DB7PR08MB3674.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: LaTxBUdcIY5Snm8MTkHaSJgIwf9An8TiQE+28Nyk3w8fq3FTe6NaUXMmfEuZ4ee5KzkFJ1CH1WV1jLjF+i5nmV3kaO/7BPmKFKUK0doWJfve8cSIgCUsUD6WNbS0oDS8yCD7YSp0yIQ7D4hVxC6A+5AjIrnx/CbB9vCrYcWHXAlHfHMcyiOrj+vHihlNTVDFiqSP9kOXpUIGr9nZknBZKgBJ1VPbwxf5g6E9NBq3inUk3w3OzJ/oTlLguCK7qZMajcTTuqtjpxr4HusGkwPQZddC5/27dGKd+gfNIN0UbhZFh+dS9ewi2+tGjqqss0d2 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f55bc8e-f3b0-4837-82c8-08d670e1d655 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jan 2019 18:40:58.4844 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3497 Subject: Re: [dpdk-dev] [PATCH v4 0/3] add rte ring reset api and use it to flush a ring by hash X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 18:41:00 -0000 >=20 > 02/01/2019 01:55, Gavin Hu: > > V4: Include the ring perf test case enhancement patch in the series. This change is not related to this patch. Should be a separate patch? There were comments provided: http://mails.dpdk.org/archives/dev/2018-December/121893.html http://mails.dpdk.org/archives/dev/2018-December/122157.html Do you plan to address these? > > > > V3: Allow experimental API for meson build > > > > V2: Fix the coding style issue(commit message line too long) > > > > V1: To flush a ring not in use, dequeue one by one is wasting cpu cycle= s. > > The patch is to just resetting the head and tail indices to save cpu > > cycle. >=20 > It is too late for adding this API in 19.02, but we should review and giv= e > opinion, so it will be ready to integrate in early February. >=20