From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10068.outbound.protection.outlook.com [40.107.1.68]) by dpdk.org (Postfix) with ESMTP id 2C558160; Sun, 7 Oct 2018 22:11:13 +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=IkJvZhdXSRTLc7qa/AW4Wc2GgOVvCeYCtIZ003L1ygo=; b=m5DvuyScGFri4xJ5B5AAKPCgNarbOo7UhFfeyYwArWko5x/fofAktYsbLnVMuAn3KOCqyYQAQPrSxOfFrz8UoItv8l69Nlse4KXm0CApg0p1q4dzaKggOwvz7Y/dUiB2i6AVoE4R9lWj0kzX8eVRZT+tEUPuCjqh7LILmc40NPs= Received: from HE1PR0801MB2076.eurprd08.prod.outlook.com (10.168.95.140) by HE1PR0801MB1964.eurprd08.prod.outlook.com (10.168.94.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.22; Sun, 7 Oct 2018 20:11:09 +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; Sun, 7 Oct 2018 20:11:08 +0000 From: Ola Liljedahl To: Jerin Jacob CC: "dev@dpdk.org" , Honnappa Nagarahalli , "Ananyev, Konstantin" , "Gavin Hu (Arm Technology China)" , Steve Capper , nd , "stable@dpdk.org" Thread-Topic: [PATCH v3 1/3] ring: read tail using atomic load Thread-Index: AQHUTl7o9KT3/H6K10G5NrmKOHANTqUHJ0+AgAjF7gCAAH79gIAAUg2AgAAF3wCAAAI9gIAAGFMAgAAgVICAADHKgIAAAE+AgAAkl4D//+HIgIAAIteAgACY7ICAAOuGgIAAaawAgAEwFYA= Date: Sun, 7 Oct 2018 20:11:08 +0000 Message-ID: References: <2601191342CEEE43887BDE71AB9772580102FE2951@IRSMSX106.ger.corp.intel.com> <20181005170725.GA18671@jerin> <1555626C-F2B8-44EB-98A3-79B1F7002587@arm.com> <60055965-A7C8-4E9F-8668-0AE1DCE57515@arm.com> <20181006074126.GA16715@jerin> <20181007040243.GA1850@jerin> In-Reply-To: <20181007040243.GA1850@jerin> 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; HE1PR0801MB1964; 6:Pa+zyUT/M6IAb75DPPpB6X65ACh/krIfPe5QN7FelT8cUtUEfPoZWnGFqDULOTgHEEynCRLPAodW/KHrucd1U1TZEabhK5fPeffCB/bPCFSq7egYUC/QjFtFagXgxxO8zXtFWFt1/wE5Y67hWuB3XrmbRYaduqbd3C8/xLFqG07GOINiPPxVrMEMZ3T8XRRcENoM3iZANIbMgX8HavVxkr82NIHKlZkHDpbyB/Gdkvus/54cDJqwPGY8LKI7LwV2znZmFdg42TOvh5u0/cbbF/HifXXLW6mmAEFFxlh/J5EZ6FuqQLHsvsjMcCr7IgOt72G3qUMx8sMSVWZh+6P4PWTLjm72JVxoj+ugs0S3wuTb7BWN5JgHC43EKYMxeSrFt9Ubo5oSIfG8QUdtouszuDqdIVbPi+jUbaO9Oirn5zsa4L6sZMF89xVzlXXrkBgfpi8Bp+nYncNqn7oCktk4sQ==; 5:GFM21GctbuZMxdGu6C79U/NUiyy9E9slDGpaFn0YuZWiwNNVxFO0RsSepMO+KzFeHxFdCuf5+hmLIynGB2LN9rU9lCxdWpPiV5gNsMZJyZZ1j7h4fYRBAQ2Fo64zCzF64leaRP/yG6TfkGPev51SE3MJIetxNH8N81rYIyssoyw=; 7:VrFdfbLsdbQosolR4Z+Lf0KXeZGqJ0Y/2T4HH5v8j36hzO7rC62vghRfHAhdjjsAEmD21WA2/Mt4HcgUB1c3HbdCf0wuig++TR3i+1dLnJBNZOPhoalOioCeuVHTdeRJEUVUBaDlHTDVKnQoKh7skvszBZvXp+/pBVb7x0f4NH3zhbpfCrUGyC9ONTvbL6vn9mOs3wjGYIael1IMPZRZOMuA8bv0hROBrU8x0YDAymkVJBEBJLWE8Dr1tY5/A+PN x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: e518a334-44f4-4d7e-98f2-08d62c910512 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:HE1PR0801MB1964; x-ms-traffictypediagnostic: HE1PR0801MB1964: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:HE1PR0801MB1964; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0801MB1964; x-forefront-prvs: 0818724663 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(366004)(136003)(39850400004)(346002)(199004)(189003)(25786009)(478600001)(93886005)(58126008)(2906002)(305945005)(66066001)(54906003)(99286004)(53936002)(33656002)(6512007)(68736007)(71190400001)(71200400001)(2900100001)(6116002)(3846002)(14454004)(72206003)(5250100002)(6916009)(5660300001)(8676002)(83716004)(81156014)(81166006)(8936002)(102836004)(6436002)(6506007)(82746002)(186003)(53546011)(316002)(97736004)(486006)(26005)(105586002)(76176011)(86362001)(6486002)(229853002)(106356001)(256004)(446003)(6246003)(11346002)(4326008)(2616005)(476003)(36756003)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1964; 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: VTct9SFG1cpdtjxj6IP5nMu5gYdeo0wfQ7kIN5ZVmYE11lcMViLlv7IssYK0HkA8j9VvS2L9fm05bojkTq6eo81U8oudjQapIbalnGWVCaan1+48PmffJHSfhO/eL8CQkvrl4e5eu44RMpD03qYPBmjdhgtm6TFZoUa74ZFpsPnQBPFY4OoikzLsepUVw7tTV8bStduuOoZ+VVwwurvPbk1c0SzKdaVt3nN5jKm++4jLjywjJf6CH7vtth+jUf3RaTapjetNfZmdeP3CL0coYSkoNUBvv4oC64vH3B/uJyfovumMKzkV8zYFxk2zvEFT9nm5ZCiGHXVyzbppAXpw+MYHeaCKWZUwUOO1gG1d9QI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <29E6C4CB2A1EE646BBEEAC5D6D9B250D@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: e518a334-44f4-4d7e-98f2-08d62c910512 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2018 20:11:08.4807 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1964 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: Sun, 07 Oct 2018 20:11:13 -0000 T24gMDcvMTAvMjAxOCwgMDY6MDMsICJKZXJpbiBKYWNvYiIgPGplcmluLmphY29iQGNhdml1bW5l dHdvcmtzLmNvbT4gd3JvdGU6DQoNCiAgICBIb3cgYWJvdXQgZml4aW5nIHJ0ZV9wYXVzZSgpIHRo ZW4/DQogICAgTWVhbmluZyBpc3N1aW5nIHBvd2VyIHNhdmluZyBpbnN0cnVjdGlvbnMgb24gbWlz c2luZyBhcmNocy4NClJ0ZV9wYXVzZSgpIGltcGxlbWVudGVkIGFzIE5PUCBvciBZSUVMRCBvbiBB Uk0gd2lsbCBsaWtlbHkgbm90IHNhdmUgYW55IHBvd2VyLiBZb3Ugc2hvdWxkIHVzZSBXRkUgZm9y IHRoYXQuDQpJIHVzZSB0aGlzIHBvcnRhYmxlIHBhdHRlcm46DQrvu78NCiAgICAgICAgLy9XYWl0 IGZvciBvdXIgdHVybiB0byBzaWduYWwgY29uc3VtZXJzIChwcm9kdWNlcnMpIA0KICAgICAgICBp ZiAoVU5MSUtFTFkoX19hdG9taWNfbG9hZF9uKGxvYywgX19BVE9NSUNfUkVMQVhFRCkgIT0gaWR4 KSkNCiAgICAgICAgew0KICAgICAgICAgICAgU0VWTCgpOw0KICAgICAgICAgICAgd2hpbGUgKFdG RSgpICYmIExEWFIzMihsb2MsIF9fQVRPTUlDX1JFTEFYRUQpICE9IGlkeCkNCiAgICAgICAgICAg IHsgICANCiAgICAgICAgICAgICAgICBET1pFKCk7DQogICAgICAgICAgICB9DQogICAgICAgIH0N Cg0KICAgIA0KRm9yIEFBcmNoNjQgd2l0aCBXRkUgdXNhZ2UgZW5hYmxlZDoNCu+7vyNkZWZpbmUg U0VWTCgpIHNldmwoKQ0KI2RlZmluZSBXRkUoKSB3ZmUoKQ0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