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 EE5E9A00E6 for ; Fri, 12 Jul 2019 18:01:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C20D61BE19; Fri, 12 Jul 2019 18:01:59 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30074.outbound.protection.outlook.com [40.107.3.74]) by dpdk.org (Postfix) with ESMTP id 9A7621BE02; Fri, 12 Jul 2019 18:01:55 +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=+DocwoEJT6dASaAGuiCdrGtegqDpSgks9tikvTyU6fQ=; b=WWuXbTBfCrqyLtVIIShg9xYx1snAfOM/daxS0bEII/Yj2NyH4vUGuE93nMF6GsF0+x6kjJoMgSnqt+PYguXSzEq8oPphakN2b04l4c626fejytZfsiuXAWYdlH1i05e+RqbNownpgEUAe03KBWW2JNqg14zCaiDVZKE3wtXx460= Received: from VI1PR08MB3167.eurprd08.prod.outlook.com (52.133.15.142) by VI1PR08MB3664.eurprd08.prod.outlook.com (20.177.61.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.19; Fri, 12 Jul 2019 16:01:53 +0000 Received: from VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::5c6f:a70a:a1d7:5d65]) by VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::5c6f:a70a:a1d7:5d65%5]) with mapi id 15.20.2052.020; Fri, 12 Jul 2019 16:01:52 +0000 From: "Gavin Hu (Arm Technology China)" To: Honnappa Nagarahalli , 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/X3hxWBTBOakC52QaVFHDc4Ka7N7AZgAw7AzCAAAbpgIAADIpQgAATmwCAADbCoIAACTYwgAAGa1A= Date: Fri, 12 Jul 2019 16:01:52 +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: 0ba509ee-77d6-4cee-befc-98798b08abeb.0 x-checkrecipientchecked: true 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-ms-office365-filtering-correlation-id: 99f02170-862a-4397-d3e1-08d706e241a5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR08MB3664; x-ms-traffictypediagnostic: VI1PR08MB3664: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-microsoft-antispam-prvs: nodisclaimer: True x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 00963989E5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(346002)(39860400002)(376002)(396003)(199004)(189003)(13464003)(55236004)(486006)(7696005)(64756008)(33656002)(5660300002)(102836004)(66556008)(66476007)(66446008)(52536014)(99286004)(476003)(76176011)(478600001)(2906002)(66946007)(76116006)(11346002)(3846002)(7736002)(66066001)(6116002)(305945005)(74316002)(26005)(6506007)(256004)(53546011)(6436002)(229853002)(4326008)(54906003)(25786009)(9686003)(8936002)(71200400001)(81156014)(81166006)(8676002)(316002)(71190400001)(14454004)(6246003)(68736007)(86362001)(55016002)(446003)(186003)(53936002)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3664; 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: Pis9hjGjSITOXqBpI00dKAhlMjuoJq6hvQFlCFhZwqU1Bi5S4CUEx7up1gpucQxu2DinZoArlqAgiYMvAXJZ4+pPO+C5Vi5clOiToe+vmcxLQfzJiFJrHevMvXRSYDocmsitoY3gHmktmdqRLfnWn4aTAPv0naPLkezU6We8OL/szrWnlBI2FdbH1sXzdJESvNxiM9phMmsjl60Z0NG4FhbP9nKQ8QRs0H2+i2PBhBhIN83MmriOXqjYd+fgG3XLQZoc48v+mr4XccrxHoAs78PNuK2cqDxa/cg+YYTNggC7l4vraJ+KLRd0D8ZsEZkRkPszXybEUQzw/TCCgd8KiKXKnH867lMN82f/bmHFccBWxOO+YKc+ZGKDL5qT9VZx/cI8vXG9JjkR0RS1Wkm/ACxnA2avbxjNSCuyS5bqc+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: 99f02170-862a-4397-d3e1-08d706e241a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2019 16:01:52.7638 (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: Gavin.Hu@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3664 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBIb25uYXBwYSBOYWdhcmFoYWxs aSA8SG9ubmFwcGEuTmFnYXJhaGFsbGlAYXJtLmNvbT4NCj4gU2VudDogRnJpZGF5LCBKdWx5IDEy LCAyMDE5IDExOjQxIFBNDQo+IFRvOiBHYXZpbiBIdSAoQXJtIFRlY2hub2xvZ3kgQ2hpbmEpIDxH YXZpbi5IdUBhcm0uY29tPjsgT2xpdmllciBNYXR6DQo+IDxvbGl2aWVyLm1hdHpANndpbmQuY29t Pg0KPiBDYzogdGhvbWFzQG1vbmphbG9uLm5ldDsgZGV2QGRwZGsub3JnOyBuZCA8bmRAYXJtLmNv bT47DQo+IGplcmluakBtYXJ2ZWxsLmNvbTsgaGVtYW50LmFncmF3YWxAbnhwLmNvbTsgTmlwdW4u Z3VwdGFAbnhwLmNvbTsNCj4gaS5tYXhpbWV0c0BzYW1zdW5nLmNvbTsgc3RhYmxlQGRwZGsub3Jn OyBSdWlmZW5nIFdhbmcgKEFybQ0KPiBUZWNobm9sb2d5IENoaW5hKSA8UnVpZmVuZy5XYW5nQGFy bS5jb20+OyBuZCA8bmRAYXJtLmNvbT4NCj4gU3ViamVjdDogUkU6IFtkcGRrLWRldl0gW1BBVENI IHY3IDEvMl0gcmluZzogYWRkIHJlc2V0IEFQSSB0byBmbHVzaCB0aGUgcmluZw0KPiB3a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