From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20063.outbound.protection.outlook.com [40.107.2.63]) by dpdk.org (Postfix) with ESMTP id A86C537B7; Mon, 8 Oct 2018 12:01:34 +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=bHXQwHX/JeB93slifNspl2HGY5QFS80wElkpSUElhpI=; b=WLoeMys8PYhOputRTwlVwvpcc/VKMpDE8151eY/2Fi5QDnVzv2/XYCFh5+yYbrboKsp+7cesXIcQ6vcFeeVZLiYL/DK2unZmkGJnRfsTq9JGhALxMlJBnkKCWz/65Ze9JBa4dyyehb/R3zyXiTWVR6PwpptYe6I6C6Pg1E7Y0dc= Received: from HE1PR0801MB2076.eurprd08.prod.outlook.com (10.168.95.140) by HE1PR0801MB2012.eurprd08.prod.outlook.com (10.168.95.13) 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 10:01:31 +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 10:01:31 +0000 From: Ola Liljedahl To: Honnappa Nagarahalli , Jerin Jacob CC: "Ananyev, Konstantin" , "Gavin Hu (Arm Technology China)" , "dev@dpdk.org" , Steve Capper , nd , "stable@dpdk.org" Thread-Topic: [PATCH v3 1/3] ring: read tail using atomic load Thread-Index: AQHUTl7o9KT3/H6K10G5NrmKOHANTqUHJ0+AgAjF7gCAAH79gIAAUg2AgAAF3wCAAAI9gIAAGFMAgAAgVICAADHKgIAAAE+AgAAkl4D//+HIgIAAIteAgAOYBQCAAG4wAA== Date: Mon, 8 Oct 2018 10:01:30 +0000 Message-ID: <5450353D-4A3D-490E-8E93-EB006D57440F@arm.com> References: <20180807031943.5331-1-gavin.hu@arm.com> <1537172244-64874-1-git-send-email-gavin.hu@arm.com> <20180929104857.GA30457@jerin> <2601191342CEEE43887BDE71AB9772580102FE261A@IRSMSX106.ger.corp.intel.com> <621E373E-048D-4808-8CE8-84373EA98D2F@arm.com> <2601191342CEEE43887BDE71AB9772580102FE2951@IRSMSX106.ger.corp.intel.com> <20181005170725.GA18671@jerin> <1555626C-F2B8-44EB-98A3-79B1F7002587@arm.com> <60055965-A7C8-4E9F-8668-0AE1DCE57515@arm.com> In-Reply-To: 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; HE1PR0801MB2012; 6:sQgE+fNEmVcUsqrDQ8F/UrDoZ00uPAnuZgheo5rfS2CKYXMU7IQPjH8SKEr7/M29LwjdQDdkNGDuZ8h6aockOY7eVttQTPbAxl19YEt7U6hbOKNGPkOlSeRPOCjH18SjGvGSx4oYI1fulsmSQoffFzJbl/jxOgwQ+oYjxUw6q+/LjtRWLVP6ONWYwhmwBBRhYVjqDEkxcTaRPRIRhLua4nfy/sXPRcNYemgtKvhupdjPgje1VXAk6mdnDibufnE+JTY50ZC2Crk2Ub+kMoRyLREAP8dYS5o74k63hl8MvARFhfcFUUZgpZc9s3vZwGpkJIxIQGk5m3ce4P3tLxcbDCK6HGJANIz86VK70EsidFUIa91H3b+COEIM2z3ggLpasjDu6fBPQNmHnIwQ5pHdtF/6LhQ0l6M6yW3L2zJZVOiCIoiYvcEdqXnleEJFusmYrca8qVLiOoyRnA7LKrBYDA==; 5:oLHy5SRVn/GaIuh4R+xzATaU+JKZ1bUZtX7+cK3E0iUXfwLfifRfV/x37UpcSYrbPFSjI4I7oU50c3SzB9BGUjB8gRKY7dpzNbVqGjxIiG3KnFvGQr8F+x3G7ux7qex7bjL4HaWpeuHLfUO6+Ey58uhNB07T+EKTBRbgcgVk3J4=; 7:c24WtU++SqOXY5/xB4KsVBLDuc5D1Qbhko2o3jlcl+STHzKRc8vvgyc9dtxfDAdb7laytxIpZD2rCX+5DPfdIQvmrnXbjCltSSC9ZEfhmtFcWiBwXW9zipW0SYVsjLhiXytmzlU1jU2Q6Xny233+oLkwCvMGcpYimlaU7i1LbYSdL+fBs9vO4aufCyngrDqRl/AGBnF6ma4qA/7EB1of1D2fgaSNvWJQkdNa4gtbAFAH1SWS0FCogxo6V+XZYD0N x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: 8f85f196-7778-40bf-61c4-08d62d05059d 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:HE1PR0801MB2012; x-ms-traffictypediagnostic: HE1PR0801MB2012: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231355)(944501410)(52105095)(10201501046)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699051); SRVR:HE1PR0801MB2012; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0801MB2012; x-forefront-prvs: 081904387B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(136003)(396003)(39860400002)(346002)(189003)(199004)(229853002)(186003)(71190400001)(26005)(86362001)(5660300001)(83716004)(6246003)(68736007)(71200400001)(93886005)(33656002)(5250100002)(4326008)(99286004)(2900100001)(105586002)(76176011)(97736004)(102836004)(316002)(6506007)(2906002)(3846002)(6116002)(106356001)(25786009)(486006)(110136005)(54906003)(8676002)(6486002)(58126008)(66066001)(72206003)(8936002)(53936002)(81156014)(6512007)(81166006)(36756003)(6436002)(14454004)(256004)(478600001)(2616005)(476003)(305945005)(82746002)(7736002)(446003)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB2012; H:HE1PR0801MB2076.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: TAVaRUMGcnK9NgK9I862VCRxEu9hDPgauQClBBVt/VTuoaeagtlCuPUnv1ypK/rtB9NU+8Jhu0eWQVBXUqDelZkJ7GOFNSZIQv3Dj6ixw2YdMycO/c6MmK9AN2yhV103e8LJ90l4V0ZEODcCuqBUyeQ9NJa5rB1wGz1PDiHuSEfNpfjxwBHmsS3r6OqpsKDzrzkreougp/YY6hIwSpBxQ7wofjuADHFhEIcFkVyfIYKpe3Q25JZJUbUTp5rkQUPU4/nfyX74zma9vmftSc2K9s/hjw3bd9IqYUpzC4xPPrJts7GTv3faxVRVA7bjhWR/sTP6/FvJvLfEZFOi774gzD0/mRjNxGnw1b4IUPjn+HY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <1DA8E023BE636F47AD43231B10E810BA@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8f85f196-7778-40bf-61c4-08d62d05059d X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2018 10:01:31.0009 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB2012 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 10:01:35 -0000 T3IgbWF5YmUgcGVyZm9ybWFuY2UgZ2V0cyB3b3JzZSBidXQgbm90IGJlY2F1c2Ugb2YgdGhhdCBv bmUgYWRkaXRpb25hbCBpbnN0cnVjdGlvbi9jeWNsZSBpbiByaW5nIGJ1ZmZlciBlbnF1ZXVlIGFu ZCBkZXF1ZXVlIGJ1dCBiZWNhdXNlIGZ1bmN0aW9uIG9yIGxvb3AgYWxpZ25tZW50IGNoYW5nZWQg Zm9yIG9uZSBvciBtb3JlIGZ1bmN0aW9ucy4NCg0KV2hlbiB0aGUgYmVuY2htYXJraW5nIG5vaXNl IChwb3NzaWJseSBzZXZlcmFsICUgZHVlIHRvIGNoYW5nZXMgaW4gY29kZSBhbGlnbm1lbnQpIGlz IGJpZ2dlciB0aGFuIHRoZSBlZmZlY3QgeW91IGFyZSB0cnlpbmcgdG8gbWVhc3VyZSAoMSBjeWNs ZSBwZXIgcmluZyBidWZmZXIgZW5xdWV1ZS9kZXF1ZXVlKSwgYmVuY2htYXJraW5nIGlzIG5vdCB0 aGUgcmlnaHQgYXBwcm9hY2guDQoNCi0tIE9sYQ0KDQrvu79PbiAwOC8xMC8yMDE4LCAwNzoyNywg Ikhvbm5hcHBhIE5hZ2FyYWhhbGxpIiA8SG9ubmFwcGEuTmFnYXJhaGFsbGlAYXJtLmNvbT4gd3Jv dGU6DQoNCiAgICA+ICAgICA+DQogICAgPiAgICAgPiBJIGRvdWJ0IGl0IGlzIHBvc3NpYmxlIHRv IGJlbmNobWFyayB3aXRoIH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