From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F94AA00E6 for ; Fri, 12 Jul 2019 17:40:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 331381B9CD; Fri, 12 Jul 2019 17:40:41 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60084.outbound.protection.outlook.com [40.107.6.84]) by dpdk.org (Postfix) with ESMTP id CB64C1B9CD; Fri, 12 Jul 2019 17:40:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oEsix3eJgeluIvau08XVTLnCR2qNnpIHaUzYNrpYrqE=; b=ViywmZXQsJ3Q353JSoYq15iDgYwRa7wDBb4LburFu7cJjwxTIYMYAH4UnweJdLYMQRDmHteOfUODfqeLOTlHWjQ3mZDGT9jK9Gr7/FxXDEyeEcy//vvFJhi+eGcQfOfRDCskRlc2IIv1Two3bNNb6dWOkEJ2Kjihh4iTugRl5Gw= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) by VE1PR08MB4831.eurprd08.prod.outlook.com (10.255.113.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.20; Fri, 12 Jul 2019 15:40:38 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::a89e:33:fbda:ed35]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::a89e:33:fbda:ed35%4]) with mapi id 15.20.2073.012; Fri, 12 Jul 2019 15:40:38 +0000 From: Honnappa Nagarahalli To: "Gavin Hu (Arm Technology China)" , Olivier Matz CC: "thomas@monjalon.net" , "dev@dpdk.org" , nd , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , "Nipun.gupta@nxp.com" , "i.maximets@samsung.com" , "stable@dpdk.org" , "Ruifeng Wang (Arm Technology China)" , nd Thread-Topic: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use Thread-Index: AQHU2t/X3hxWBTBOakC52QaVFHDc4Ka7N7AZgAw7AzCAAAbpgIAADIpQgAATmwCAADbCoIAACTYw Date: Fri, 12 Jul 2019 15:40:38 +0000 Message-ID: References: <20181212062404.30243-1-gavin.hu@arm.com> <1552620686-10347-2-git-send-email-gavin.hu@arm.com> <20190329141755.ziopuvhepdi372aa@platinum> <2965897.HCpMyYeHc3@xps> <20190712095339.kfuqskwok5r5j4nv@platinum> <20190712114842.4igwthwrg6cmxqs5@platinum> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: bf3ab811-2b43-474b-922d-4b0c22e79769.0 x-checkrecipientchecked: true 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-ms-office365-filtering-correlation-id: e020b6ee-6e51-430b-1b65-08d706df4a05 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR08MB4831; x-ms-traffictypediagnostic: VE1PR08MB4831: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-microsoft-antispam-prvs: nodisclaimer: True x-ms-oob-tlc-oobclassifiers: OLM:1728; x-forefront-prvs: 00963989E5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(396003)(39860400002)(346002)(136003)(366004)(189003)(199004)(305945005)(74316002)(53936002)(2906002)(478600001)(7696005)(55016002)(4326008)(7736002)(3846002)(229853002)(316002)(25786009)(66066001)(99286004)(6116002)(86362001)(6246003)(186003)(8676002)(11346002)(446003)(5660300002)(6506007)(52536014)(486006)(81166006)(64756008)(76176011)(26005)(102836004)(14454004)(33656002)(54906003)(476003)(110136005)(6436002)(9686003)(66946007)(66556008)(66446008)(76116006)(68736007)(66476007)(8936002)(256004)(71200400001)(71190400001)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4831; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: liCm4/Ls0SF99CEA17jn3ql1uzAu8OhfVL5kt0l2HN3/wO4z39h5NvZuPboo/wI91jMvkRWLgLHiwupTEY3belDba+tAEuQwx5FiONboJSrLVBTC8b/V5iT6QW5FhSQmyn60PfUGs6/bxrAY4Roql42O2syc0xmET/O4cKh5hZVz87MlyJIiCO+32yu+A4rK1WA+ZJnpqdQtJvkh6fvagcxpBzd9lPPNtw/hglhFXGxtU6TMEX6oKuDkAbd1YT3Vs2a1kHtcDhBVSP8/mFeSCf+6nW3pFfxQySYnehd94q/CR4ZCcH/p/F74VjOZrJRnJZ6MYCnZEtQpNYDY6JJmeNk/v0moNWkUaFNDNrgT8v5USR3Rt2ktZt6iUQb8byLw8BoSHgXPl+S7QODo8LxGKnlf9rcnkpzFa5bEy37zY+4= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: e020b6ee-6e51-430b-1b65-08d706df4a05 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2019 15:40:38.4087 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Honnappa.Nagarahalli@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4831 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" PHNuaXA+DQoNCj4gPiA+ID4gPiA+DQo+ID4gPiA+ID4gPiAyOS8wMy8yMDE5IDE1OjE3LCBPbGl2 aWVyIE1hdHo6DQo+ID4gPiA+ID4gPiA+IEhpLA0KPiA+ID4gPiA+ID4gPg0KPiA+ID4gPiA+ID4g PiBPbiBGcmksIE1hciAxNSwgMjAxOSBhdCAxMTozMToyNUFNICswODAwLCBHYXZpbiBIdSB3cm90 ZToNCj4gPiA+ID4gPiA+ID4gPiBDdXJyZW50bHksIHRoZSBmbHVzaCBpcyBkb25lIGJ5IGRlcXVl dWluZyB0aGUgcmluZyBpbiBhIHdoaWxlIGxvb3AuDQo+ID4gSXQgaXMNCj4gPiA+ID4gPiA+ID4g PiBtdWNoIHNpbXBsZXIgdG8gZmx1c2ggdGhlIHF1ZXVlIGJ5IHJlc2V0dGluZyB0aGUgaGVhZCBh bmQNCj4gPiA+ID4gPiA+ID4gPiB0YWlsDQo+ID4gaW5kaWNlcy4NCj4gPiA+ID4gPiA+ID4gPg0K PiA+ID4gPiA+ID4gPiA+IEZpeGVzOiBhZjc1MDc4ZmVjZTMgKCJmaXJzdCBwdWJsaWMgcmVsZWFz ZSIpDQo+ID4gPiA+ID4gPiA+ID4gQ2M6IHN0YWJsZUBkcGRrLm9yZw0KPiA+ID4gPiA+ID4gPiA+ DQo+ID4gPiA+ID4gPiA+ID4gU2lnbmVkLW9mZi1ieTogR2F2aW4gSHUgPGdhdmluL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