From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50042.outbound.protection.outlook.com [40.107.5.42]) by dpdk.org (Postfix) with ESMTP id 35A281B1EB; Mon, 8 Oct 2018 17:45:33 +0200 (CEST) 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=eaS832gXDBbw5SR68c/xbpPZ+Jf1xFIYnfK+H/0KKzM=; b=XHp1oXW58un+q2p+3PWoFmts6R7jAJBPmK+w8bwVWNCGpOfMd8yyAmO6D9iK1qCIZ8bF2v2f9MK3orvNyLBBVzuj6norCaBrP2KoYCSpL1N+n93qiWwsnwjd8hMdiGFMeNZhaBsQMcycePvZPy0gs1apvirfVH3DfrjSoDOny58= Received: from HE1PR0801MB2076.eurprd08.prod.outlook.com (10.168.95.140) by HE1PR0801MB1324.eurprd08.prod.outlook.com (10.167.247.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.23; Mon, 8 Oct 2018 15:45:29 +0000 Received: from HE1PR0801MB2076.eurprd08.prod.outlook.com ([fe80::c84:eee7:43bf:9f20]) by HE1PR0801MB2076.eurprd08.prod.outlook.com ([fe80::c84:eee7:43bf:9f20%11]) with mapi id 15.20.1207.024; Mon, 8 Oct 2018 15:45:28 +0000 From: Ola Liljedahl To: Bruce Richardson CC: Jerin Jacob , "dev@dpdk.org" , Honnappa Nagarahalli , "Ananyev, Konstantin" , "Gavin Hu (Arm Technology China)" , Steve Capper , nd , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load Thread-Index: AQHUTl7o9KT3/H6K10G5NrmKOHANTqUHJ0+AgAjF7gCAAH79gIAAUg2AgAAF3wCAAAI9gIAAGFMAgAAgVICAADHKgIAAAE+AgAAkl4D//+HIgIAAIteAgACY7ICAAOuGgIAAaawAgAE5hICAAHtkgIAAWCoAgAA4XoCAACJEgIAAEHyA Date: Mon, 8 Oct 2018 15:45:28 +0000 Message-ID: <35913637-2152-4AA1-BB4B-6D2CF579F7F3@arm.com> References: <1555626C-F2B8-44EB-98A3-79B1F7002587@arm.com> <60055965-A7C8-4E9F-8668-0AE1DCE57515@arm.com> <20181006074126.GA16715@jerin> <20181007040243.GA1850@jerin> <7A156041-23EC-4CCB-B129-3607AF34A992@arm.com> <20181008060629.GA5228@jerin> <063A95EC-CFC1-42F7-B864-DFB9C6718AC8@arm.com> <20181008144349.GA21016@bricha3-MOBL.ger.corp.intel.com> <00AFCB3F-BDF0-4A99-95DB-5FCB14695E23@arm.com> In-Reply-To: <00AFCB3F-BDF0-4A99-95DB-5FCB14695E23@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.11.0.180909 authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ola.Liljedahl@arm.com; x-originating-ip: [158.174.8.16] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0801MB1324; 6:WeA25/Euj/0VvKK0YIvKZEa/zbY40TG7TtXhE12xJsSmmNK1ufVV29guHvey3lTvO2R5ECo4NpcgwkEQDEwxVXtqhJ0/+rZ49GaPSK/aLMJ2dqWkIgGIhIktrsZJ8I2yPFtmEIbl5kLxGG/iX9IClF8YAs7qRURyDiI2QLO8A52c9PZYwn2EFgaqpo69tQ0TqLB1p/Gaegp+zCb55Xn3HUxXRiu9XuriZM69gvwPKRWZgdEKhvRbcW2xU/C1je33ZZYvDE5VJ0KSQcYgvedwhkwxDJ2IyK/eDN/gK2NbKOp6nR+a8DuDW/kTfRUqR9PX543nI205FBPzQxZyhxqDZMYD2wN6Lw2WKrwGj8GmttOWAkhu+gzHTzJsi0HO7V8063MCfH3H1IHn6v1je2NhKXCiNkbGVFG64RTPf3+9qKWSE/12uxvcmZH2zmU05k2l7ZvvzPZ9k4+YpazcoRfUEQ==; 5:T87dZptM0F0JhYmeArPe0znHk8QS/WLYVDqqqpQH6J8xglY2uHe0QgxO20mMVc36vnyFZ06Xb7DvrqozGiRtPJ/xvr0DQA8alrQ+eWdf05+ALsMwmNJwP99VzD2RnzPHL31YNiiHv/1wQlRfce8N1yNv0U4jRm7ITFQN3V9gNVI=; 7:2+/eUa4IdeRDG6IcbGgOOyvOJTPASWdWzRGMNvDAo3Vnnh89/tUa9CbpoU88ngE5TjYpXPbhGd855gwnkjxpWcYrqvJy+Lu9AIdaOtuBuBy2+2aRumE7vOIybva8u8TIKtzpf31ZkDIU/bhvVXjHSnDGmxAotv870a83MUWb4Y//PhM2drbKtiS0/gN3Y2N9S/dnUdgp7NbjLl14SoMq743oJKrxpyZAXBXCtpbKACasgBQmcv9nuEMVfUMsDva3 x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: 43120da8-0b31-4ddc-8e50-08d62d351295 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0801MB1324; x-ms-traffictypediagnostic: HE1PR0801MB1324: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991055); SRVR:HE1PR0801MB1324; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0801MB1324; x-forefront-prvs: 081904387B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(396003)(136003)(39860400002)(199004)(189003)(4326008)(478600001)(82746002)(316002)(5660300001)(6486002)(256004)(6436002)(14444005)(14454004)(68736007)(229853002)(2906002)(6512007)(53936002)(2900100001)(486006)(446003)(186003)(6916009)(53546011)(476003)(2616005)(26005)(6506007)(102836004)(97736004)(93886005)(25786009)(8936002)(106356001)(99286004)(105586002)(33656002)(8676002)(81166006)(81156014)(72206003)(6116002)(7736002)(58126008)(83716004)(36756003)(3846002)(54906003)(76176011)(86362001)(305945005)(6246003)(66066001)(5250100002)(71190400001)(71200400001)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1324; H:HE1PR0801MB2076.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-microsoft-antispam-message-info: NZmg+xNw2E9B8sMfLzpQ8P8mOnFPGLNY9ZQnhAxu58H/uKXWJMhQyOPw2jBC+d5+l6gnHBntLo5pxLdt68cStXTmBaQICBjs9DDiE7KaHZbjdti/BT2c5odeivIojBiyb5tQrfwVTPfhkM9jJqeqj0J1bwckSejauKJjCi4pnvHzb/FEe8OsCo7D8zST4Z40QxhnKkrsD0D/4wr6W9eiLUN06+tOUDdGyPjnzuhJcz7huhNqBWpB1cjPY717NEKlqoHbfr73AEoA83JiLJkycKZ0akm1aTRR/i/hIl5X/PiaAYYaQjVU/Fmrs+HqPtV52h44NAgcHTN0NGb04nsGiUfT/APSCa4DmVZdlTPgbws= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <7AAADC7016D59E469D4C4C28A2E459BC@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 43120da8-0b31-4ddc-8e50-08d62d351295 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2018 15:45:28.6440 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1324 Subject: Re: [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load 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, 08 Oct 2018 15:45:33 -0000 DQoNCu+7v09uIDA4LzEwLzIwMTgsIDE2OjQ2LCAiT2xhIExpbGplZGFobCIgPE9sYS5MaWxqZWRh aGxAYXJtLmNvbT4gd3JvdGU6DQoNCiAgICANCiAgICANCiAgICBPbiAwOC8xMC8yMDE4LCAxNjo0 NCwgIkJydWNlIFJpY2hhcmRzb24iIDxicnVjZS5yaWNoYXJkc29uQGludGVsLmNvbT4gd3JvdGU6 DQogICAgDQogICAgICAgIE9uIE1vbiwgT2N0IDA4LCAyMDE4IGF0IDA5OjIyOjA1QU0gKzAwMDAs IE9sYSBMaWxqZWRhaGwgd3JvdGU6DQogICAgICAgIDxzbmlwPiANCiAgICAgICAgPiAiKiBtdWx0 aS1wcm9kdWNlciBzYWZlIGxvY2stZnJlZSByaW5nIGJ1ZmZlciBlbnF1ZXVlIg0KICAgICAgICA+ IFRoZSBjb21tZW50IGlzIGFsc28gd3JvbmcuIFRoaXMgZGVzaWduIGlzIG5vdCBsb2NrLWZyZWUs IGhvdyBjb3VsZCBpdCBiZSB3aGVuIHRoZXJlIGlzIHNwaW5uaW5nDQogICAgICAgID4gKHdhaXRp bmcpIGZvciBvdGhlciB0aHJlYWRzIGluIHRoZSBjb2RlPyBJZiBhIHRocmVhZCBtdXN0IHdhaXQg Zm9yIG90aGVyIHRocmVhZHMsIHRoZW4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