From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 904164C93 for ; Mon, 28 Jan 2019 15:04:34 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0SE2Kj9021718; Mon, 28 Jan 2019 06:04:28 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=pfpt0818; bh=90pjVvxPUwdTqls02njm6OGE9JSZdy3MxEDtl3DnN/A=; b=uhqhnD+cMNiuW1wmEzA+5b02MUwxrKDnl5fQp9XlJoEy5wUFqzin+ntchklSqdg709Vx MJqswJq6mGCaObdVom/Ltx5AgAFNY+gTyzCFCHCsqB8mMDsVhcqvnCjZd8eZB7lGyiz0 mSykQnqpOYmJWl4gqOKFRJKepvm6Nt741hdXQFJeyen+F5ZB6Dz5cnRb7N/isE5o1UOq x0mCmCqt+8FyACpbidHdLx0C0jv8q9yIUfOO5ntjqU0XdAZY0b+AikmfavBhVxp1+BWx 9uHv5p7xE/q5k7WO+4R3nRgw1V9BdliDacmtrW8GZJio1QkLAQgtcylmbylQ83+j/dLX DA== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2q9yr1rp6b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 28 Jan 2019 06:04:28 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 28 Jan 2019 06:04:27 -0800 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.54) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 28 Jan 2019 06:04:27 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=90pjVvxPUwdTqls02njm6OGE9JSZdy3MxEDtl3DnN/A=; b=m/FdYq0FCUjXsP+TgkvRv0ES5enGzCo0xKjy3Wk8CbI9UjCV6MpNJ8zXKGXPRdW7rmNXjUrnEC2eJuNi/zv3bIrVXkb6jfZuMjc3xe7vZMZQrQR6nhKkr4tDP7HHy0+Dfy6PDNCluzAgxDLpq3Q3K5kqYL+kN528Zz35TINE//s= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2853.namprd18.prod.outlook.com (20.179.58.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.16; Mon, 28 Jan 2019 14:04:25 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::6deb:2bc0:4c72:7688]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::6deb:2bc0:4c72:7688%4]) with mapi id 15.20.1558.023; Mon, 28 Jan 2019 14:04:25 +0000 From: Jerin Jacob Kollanukkaran To: "Ola.Liljedahl@arm.com" , Maciej Czekaj , "gage.eads@intel.com" , "dev@dpdk.org" CC: "olivier.matz@6wind.com" , "stephen@networkplumber.org" , "nd@arm.com" , "bruce.richardson@intel.com" , "arybchenko@solarflare.com" , "konstantin.ananyev@intel.com" Thread-Topic: [dpdk-dev] [PATCH v3 2/5] ring: add a non-blocking implementation Thread-Index: AQHUtNJvj+PI1ABSX0y4E/cXSQUsbqXEsrgAgAACeACAAAXqAA== Date: Mon, 28 Jan 2019 14:04:25 +0000 Message-ID: <771482dadd14a93dbbc2a0c2b993cd2ba9b4a77d.camel@marvell.com> References: <20190115235227.14013-1-gage.eads@intel.com> <20190118152326.22686-1-gage.eads@intel.com> <20190118152326.22686-3-gage.eads@intel.com> <1548168583.31150.32.camel@arm.com> <9184057F7FC11744A2107296B6B8EB1E541CA46E@FMSMSX108.amr.corp.intel.com> <1548238575.31150.73.camel@arm.com> <9184057F7FC11744A2107296B6B8EB1E541CB6FE@FMSMSX108.amr.corp.intel.com> <1548683004.11472.15.camel@arm.com> In-Reply-To: <1548683004.11472.15.camel@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.178.215.44] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR18MB2853; 20:Un7qVRCswfwxJ7ciFoMgpigJrm1UlFqrqMtRxvL80cXOl50OJgf7dVAYLtU+bDOQep8ZvinhSRw802Hu6Mm9Z81XiiShRv5HqMx/KOE2A/1bbFnxcvQ9r2xwssJMBVd1dmb90THb76waCQOtIKFXaCxXezLet7jxb4Vin4grnX4= x-ms-office365-filtering-correlation-id: e6c5c3fb-7e74-4b64-2654-08d6852982ea x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020); SRVR:BYAPR18MB2853; x-ms-traffictypediagnostic: BYAPR18MB2853: x-microsoft-antispam-prvs: x-forefront-prvs: 0931CB1479 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(39850400004)(366004)(346002)(376002)(13464003)(199004)(189003)(229853002)(6436002)(256004)(14444005)(6486002)(966005)(14454004)(186003)(2906002)(6116002)(2201001)(110136005)(71200400001)(71190400001)(26005)(3846002)(2501003)(66066001)(25786009)(478600001)(86362001)(54906003)(99286004)(53936002)(118296001)(8676002)(81166006)(81156014)(6512007)(6306002)(316002)(53546011)(97736004)(68736007)(4326008)(2616005)(6246003)(476003)(76176011)(446003)(8936002)(11346002)(93886005)(106356001)(105586002)(36756003)(305945005)(7736002)(486006)(6506007)(102836004); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2853; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 1EcdiSUV858CZZNdIYKTQXexLnuB12hSykXARuZApl7odi58zrS9kAvw+HbogOn00imqC/4wrBeZkb+kivWe5IYgMsrQg5lgP/w0zDzsBW8Oq9esEh39xd389PVClsR+ag07p1qeYSSYbFfvBQx/fVpWLTt8W862ndiOogLBJ8yhpruQxm+H+r9uuH6PzcgsiiKPPrvUyfqOvEUalZhYwKyF7aQDKSZpld+2MHPoWp/zlbBXwi3WAQDVgR9iqjobPj2aSmTRw1XTghkbjXcjymMC0OadjvrmTN2b/kzCO/lkO0RWQhG8vg78JSGGFVKtgIri0iUh/ejlVGSQZUOV6u7FdNB5WWhShE+itJ/ueTW9B9CYMFJH0730dzOqrj8yOCi5knS5YPABYv9jevDlcUc7+t8ODv6EMiOOhf1q0YQ= Content-Type: text/plain; charset="utf-8" Content-ID: <19D0DFD6B423E641935413E90571E248@namprd18.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e6c5c3fb-7e74-4b64-2654-08d6852982ea X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jan 2019 14:04:25.5029 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2853 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-28_08:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901280109 Subject: Re: [dpdk-dev] [PATCH v3 2/5] ring: add a non-blocking implementation 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: Mon, 28 Jan 2019 14:04:34 -0000 T24gTW9uLCAyMDE5LTAxLTI4IGF0IDEzOjQzICswMDAwLCBPbGEgTGlsamVkYWhsIHdyb3RlOg0K PiBPbiBNb24sIDIwMTktMDEtMjggYXQgMTM6MzQgKzAwMDAsIEplcmluIEphY29iIEtvbGxhbnVr a2FyYW4gd3JvdGU6DQo+ID4gT24gRnJpLCAyMDE5LTAxLTI1IGF0IDE3OjIxICswMDAwLCBFYWRz LCBHYWdlIHdyb3RlOg0KPiA+ID4gPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+ID4g PiBGcm9tOiBPbGEgTGlsamVkYWhsIFttYWlsdG86T2xhLkxpbGplZGFobEBhcm0uY29tXQ0KPiA+ ID4gPiBTZW50OiBXZWRuZXNkYXksIEphbnVhcnkgMjMsIDIwMTkgNDoxNiBBTQ0KPiA+ID4gPiBU bzogRWFkcywgR2FnZSA8Z2FnZS5lYWRzQGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0KPiA+ID4g PiBDYzogb2xpdmllci5tYXR6QDZ3aW5kLmNvbTsgc3RlcGhlbkBuZXR3b3JrcGx1bWJlci5vcmc7 IG5kDQo+ID4gPiA+IDxuZEBhcm0uY29tPjsgUmljaGFyZHNvbiwgQnJ1Y2UgPGJydWNlLnJpY2hh cmRzb25AaW50ZWwuY29tPjsNCj4gPiA+ID4gYXJ5YmNoZW5rb0Bzb2xhcmZsYXJlLm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