From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40057.outbound.protection.outlook.com [40.107.4.57]) by dpdk.org (Postfix) with ESMTP id EB92C1B129 for ; Thu, 3 Jan 2019 03:43:56 +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=x/y2JIvoHc+Y8Se1yHM/PEQahEC6x/4L2qUGVhQe76c=; b=X0AgVigR3jqTsGslqJMy8u63x3KCcX4q7bOA7c709KmMOlu3ha1CE3fJXyeos29tDm/S7/sg8+vcj7Z7d7sitcR++y/CrHj9fksp3p2ij9KWtkMHvQMrX6XBZm8LUVRadQIueKjPMj4jfnJnApzVdoHMmgtRMNMoG8V643Endgg= Received: from VI1PR08MB3167.eurprd08.prod.outlook.com (52.133.15.142) by VI1PR08MB3871.eurprd08.prod.outlook.com (20.178.80.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.20; Thu, 3 Jan 2019 02:43:54 +0000 Received: from VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::b5a5:e179:34f1:7d21]) by VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::b5a5:e179:34f1:7d21%5]) with mapi id 15.20.1471.019; Thu, 3 Jan 2019 02:43:54 +0000 From: "Gavin Hu (Arm Technology China)" To: Honnappa Nagarahalli , Thomas Monjalon 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 , nd Thread-Topic: [PATCH v4 0/3] add rte ring reset api and use it to flush a ring by hash Thread-Index: AQHUopnRcrjmvAKICkWubdFO5F0H46WcUDMAgACGPFA= Date: Thu, 3 Jan 2019 02:43:54 +0000 Message-ID: References: <1546390533-53868-1-git-send-email-gavin.hu@arm.com> <3304696.9C1FQTdO3e@xps> In-Reply-To: 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=Gavin.Hu@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR08MB3871; 6:1fVeuKiygUJsgvXsoC3ZCSEeWgTzgeVSliFzkYrUgwWfN7Dpwa2Ppe5hVaiTnq08t9tvWP7WZUKvw6fWYE/8DDADPUXgD+by4Rc67I8tZ9Axc964HytJW9zKyHFqkAFW3Tt4TvhnAVtyY1QIVYZoG0T7U82e+xFAnkkcfpZT2qxreHVrKarieXLPzXhI75+7fcBqcm8f2lMYMQfCxYN9Mw5G13RNRJACxQdmr0bnvxUKGNB/01Elz0eUXATLuZvMvbKJPcGj5KSq2yey/UY4UV8bDbTfveagFhgui96MdxeufYskEGUyrfYyIiOYIQZDYo7JZga66MkfJtPLPbA0G3jsuLp8QM4zdVTAVf5FgPcUtk3Gtb6mfMY5hXITqQ4OJCEC+fJVj14NayBxDbJ5zxbhda3mySkI8mAObJmTXq6rFiJ7Bk0K+qm5Ddzd2bGPAejaGKan5+y5zTFN8qipYQ==; 5:9EdH/R07aD8Uv57eheMDhEPeTURhIo+5lxewZY9JyVOP3AduAiQLXPNuQYsIpGrTGgmaE5HM/lQGEu0WO7FqR0/OD78np/tBAAhkMRzn4yt5TDbFVKBv+/TZtgQfEsXJFgRRvk0Mc7Zv+rZ+/wX2Nylp7ttxydN22ntoKFjIcDU=; 7:+sZfzU4qCXViiXsXNyNUXiwZnPgPQ9zGls0K4Zpx6dUhbtn00njueF+uNo/r2BfFpAM0PlJhTkHvG4WCmwXELULd4z3JOpD8CR43JWIkCuKMqK08icwjfvv1nojXlh/hHtUAhooK41uvyUZbunm0kQ== x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: b43dda80-cd80-4743-f7ab-08d671254d32 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600109)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR08MB3871; x-ms-traffictypediagnostic: VI1PR08MB3871: 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)(3231475)(944501520)(4982022)(52105112)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR08MB3871; BCL:0; PCL:0; RULEID:; SRVR:VI1PR08MB3871; x-forefront-prvs: 0906E83A25 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(136003)(396003)(39860400002)(366004)(199004)(189003)(13464003)(476003)(105586002)(66066001)(76176011)(97736004)(106356001)(33656002)(99286004)(6246003)(81166006)(7696005)(3846002)(6116002)(102836004)(7736002)(186003)(11346002)(55016002)(110136005)(26005)(9686003)(53936002)(25786009)(55236004)(478600001)(72206003)(316002)(2906002)(5660300001)(53546011)(54906003)(446003)(6306002)(486006)(6506007)(14454004)(81156014)(8936002)(966005)(6436002)(229853002)(8676002)(86362001)(256004)(4326008)(71200400001)(68736007)(305945005)(74316002)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3871; H:VI1PR08MB3167.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: wUF+FNeNqdul9BTn4FPM0UFDbaEl6GrupnoBRl54DNUUkwFT9HwyJNBIwCUg/vesLjwVltnrHirDsLA9B54ZMwMuR/ARsnkPRcvvJcz/8JmxX3dt3McZYVJ3clCefnmB+yCpw3hw6ohGN8LPYFjCOlu95MCicYAbwqaE1QeZDja6LUi/W3e8rq01aBmTBMiRgDBHQ8/9WBgL/Z4Q6Hif1wVKFuXzrkXA/lV5LQnIxTpqcjt/jriUgnKiDUkTsaCe2pA0oxYJQ8tdjKHNTGgFQLvh4YbbFyvLWu6lX+0Rn14G8bw20Jz6q4kT3MCbm3e0 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: b43dda80-cd80-4743-f7ab-08d671254d32 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jan 2019 02:43:54.0977 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3871 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: Thu, 03 Jan 2019 02:43:57 -0000 > -----Original Message----- > From: Honnappa Nagarahalli > Sent: Thursday, January 3, 2019 2:41 AM > 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 > Subject: RE: [PATCH v4 0/3] add rte ring reset api and use it to flush a = ring by > hash >=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? I included it in this patch set to avoid patches scattering here and there,= =20 Anyway I updated the title of the cover letter to reflect this. > There were comments provided: > http://mails.dpdk.org/archives/dev/2018-December/121893.html > http://mails.dpdk.org/archives/dev/2018-December/122157.html >=20 > Do you plan to address these? One was addressed in v4 and the other was address in new v5. Thanks! >=20 > > > > > > 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 cyc= les. > > > The patch is to just resetting the head and tail indices to save cpu > > > cycle. > > > > It is too late for adding this API in 19.02, but we should review and g= ive > > opinion, so it will be ready to integrate in early February. > >