From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40073.outbound.protection.outlook.com [40.107.4.73]) by dpdk.org (Postfix) with ESMTP id 8B6075B34; Mon, 8 Oct 2018 14:30:17 +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=qf65G3ppFVcT0YMjGuF0IW8rHJaW2FqVvPNpSq8spqw=; b=l8ETdwrc6kTfa1kLl7v/RCxd6hj5pGHghyoNZ2owB2s/Jp9kJBYipC2IpNrWJuqQBkK5IEtTfFp0Ks9vQ0z81/ajE/CWD7HBsJyS6ijRQEsd6e9wJzNsYTn14H8/FXqzJVVmKvJCMnhf713uMq2nruApQmuCwdt9YGk1JbDFn4w= Received: from HE1PR0801MB2076.eurprd08.prod.outlook.com (10.168.95.140) by HE1PR0801MB1868.eurprd08.prod.outlook.com (10.168.94.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.27; Mon, 8 Oct 2018 12:30:15 +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 12:30:15 +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: [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load Thread-Index: AQHUTl7o9KT3/H6K10G5NrmKOHANTqUHJ0+AgAjF7gCAAH79gIAAUg2AgAAF3wCAAAI9gIAAGFMAgAAgVICAADHKgIAAAE+AgAAkl4D//+HIgIAAIteAgACY7ICAAOuGgIAAaawAgAE5hICAAHtkgIAAWCoA///pGICAACiyAP//5GMAAAVn6YD//+aGAIAAI/mA///gMoCAAARBgIAAJDUA Date: Mon, 8 Oct 2018 12:30:15 +0000 Message-ID: <23972B4A-8A0D-4837-97D9-EA8F735A1F26@arm.com> References: <7A156041-23EC-4CCB-B129-3607AF34A992@arm.com> <20181008060629.GA5228@jerin> <063A95EC-CFC1-42F7-B864-DFB9C6718AC8@arm.com> <20181008100004.GB11081@jerin> <20181008104653.GC11081@jerin> <20181008115028.GA28968@jerin> <22595D8F-00A6-4D45-B143-2BF25148869D@arm.com> <20181008120524.GC28968@jerin> <20181008122038.GD28968@jerin> In-Reply-To: <20181008122038.GD28968@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: [217.140.96.140] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0801MB1868; 6:xxl4DjqVRiovksiGSU47BkO7KnDBTeklcTFafekiy3niWlJeN7W/sO0jB8+NyNlqu+S2jceOJ/mLqprc4Vy+KFLWlC8rWWt/9gwXwuVc7J4167if0nMV+2Csmv99HVMQJnNT8t51Dr1IzuA6srqdNKA5ARbZpKylBIhZppfvcMWJDu6C3TQL12nB4LJ/zygH/KXIVOfe+CgOGZOTlm9eZoIk1R3JS/Qkjdiop/tMtNbUcT82r/OqKzjrra+qGL3I75YO1+h2KpVGKVmfU2ISgNZIZHy/nqcwRZm2t9Mi5PjbRfdzuehEAfsELpYg8ZYIXxDDP+/hzJmQx20Pldt5Ita5mIYMZVg1KJbkyPVYH7b0rVgzbE5qnr7jINshkSZUWA9FNPe5zPT2zJBJQnud84pzEXOb4YHxd5H9mPGuiFSQgok9ihijh5I24z5vxn5JolR/FC5JOl6+qBtH8N7fpw==; 5:nJ5tfftx/CYjCXJCSgdHZ+POrqE/SEWySaj100uzTQ4JkMcwdYdBZ0/2zGq75CdxKa7AVgzC57mnTw7jqlz71r11CK4NfXJWuyiipV2/HIWHkKyioqlNRiy98kmpjoPZjZnxQcYsqngr1DI5RmyyUzn0MBK5DxOonxYjKOL8NWI=; 7:upW+i+5AeB01yvZzJFm0ZnusM19jXH928GK56CNcny9FnPyyWlLeZHtFEenCQz1kO/tcjqJ7iD7JWP5LNNKOjAPjdfgPXXZX4Ni6Z9bZJNpcrzaSPTAPZZ6DX6nCVTUBSq9rm6l3hCkmIRpWfgQYadQH4aOgQhjrauYK3PoDOXXIST1WZSdrXlmD30NFe94Wknfhs73t0CQYuJgTS+1v9vVZeZTH7/XYh9qY9vXvSZVIxK4Z+mDA8CyG82+eidMZ x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: aa355787-d70c-4b9e-5a9f-08d62d19cd02 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:HE1PR0801MB1868; x-ms-traffictypediagnostic: HE1PR0801MB1868: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(180628864354917)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201708071742011)(7699051); SRVR:HE1PR0801MB1868; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0801MB1868; x-forefront-prvs: 081904387B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(136003)(366004)(376002)(346002)(39860400002)(13464003)(199004)(189003)(5250100002)(76176011)(3846002)(45080400002)(26005)(71190400001)(53546011)(93886005)(82746002)(6506007)(72206003)(6436002)(97736004)(305945005)(14454004)(2616005)(446003)(2906002)(478600001)(476003)(11346002)(25786009)(2900100001)(4326008)(7736002)(36756003)(966005)(71200400001)(102836004)(83716004)(105586002)(486006)(6486002)(6116002)(229853002)(53936002)(186003)(6306002)(6512007)(5660300001)(106356001)(86362001)(58126008)(54906003)(68736007)(6246003)(19627235002)(256004)(8676002)(33656002)(81156014)(81166006)(6916009)(99286004)(66066001)(316002)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1868; 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: dZI/zkBGvsi6CEB3ALvJsd0ywhTzKe/GjYlvqNX6x4H5U43hiEnCJSxx9tF/zBbHlMDr1mcY/3bPOfzQUibNTKl3Od5ijYtB1DIDEVSFSIMHbu6YGE37cFPDN/oyyV6Cgdp95N21EAb2mhTDYiuwtMPnSCmmLaQfKEGzMc9OaHbN5iZ1dMkmWvOwwr5sjrnJkpSVA7sShO+1mui2WGdJgrTIRrF6oP2USlXc0EltcsVfRxgsXqticRDm1vdD52kw0i4KpSA35q5hdSoiKUoA7YDsG/1P9VtDTainhLYx3WrCRlihyUER6ifV2a1V9t0e87n28mlys1YqC91ioiq+esbrSLp3J5KF0BIID+4qSag= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa355787-d70c-4b9e-5a9f-08d62d19cd02 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2018 12:30:15.4428 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1868 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load 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: , X-List-Received-Date: Mon, 08 Oct 2018 12:30:17 -0000 DQoNCu+7v09uIDA4LzEwLzIwMTgsIDE0OjIxLCAiSmVyaW4gSmFjb2IiIDxqZXJpbi5qYWNvYkBj YXZpdW1uZXR3b3Jrcy5jb20+IHdyb3RlOg0KDQogICAgLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0t LS0NCiAgICA+IERhdGU6IE1vbiwgOCBPY3QgMjAxOCAxNzozNToyNSArMDUzMA0KICAgID4gRnJv bTogSmVyaW4gSmFjb2IgPGplcmluLmphY29iQGNhdml1bW5ldHdvcmtzLmNvbT4NCiAgICA+IFRv OiBPbGEgTGlsamVkYWhsIDxPbGEuTGlsamVkYWhsQGFybS5jb20+DQogICAgPiBDQzogImRldkBk cGRrLm9yZyIgPGRldkBkcGRrLm9yZz4sIEhvbm5hcHBhIE5hZ2FyYWhhbGxpDQogICAgPiAgPEhv bm5hcHBhLk5hZ2FyYWhhbGxpQGFybS5jb20+LCAiQW5hbnlldiwgS29uc3RhbnRpbiINCiAgICA+ ICA8a29uc3RhbnRpbi5hbmFueWV2QGludGVsLmNvbT4sICJHYXZpbiBIdSAoQXJtIFRlY2hub2xv Z3kgQ2hpbmEpIg0KICAgID4gIDxHYXZpbi5IdUBhcm0uY29tPiwgU3RldmUgQ2FwcGVyIDxTdGV2 ZS5DYXBwZXJAYXJtLmNvbT4sIG5kIDxuZEBhcm0uY29tPiwNCiAgICA+ICAic3RhYmxlQGRwZGsu b3JnIiA8c3Rh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