From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40078.outbound.protection.outlook.com [40.107.4.78]) by dpdk.org (Postfix) with ESMTP id AACFB4C93 for ; Mon, 28 Jan 2019 14:43:15 +0100 (CET) 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=VJ0wBhB+7VmB9rO0KIP7+ZkDKFqp8w8U+XM3t+HaW5w=; b=gz9zgx+AHKIV3WPpUu0P8uaZrGznW0WyTi8d/a967ympWeW0Voxw+XXG3harHJOYvw0qLocxWG60CEg0M+rJErNAwEjHKQIV3kaSsy0e75YG4E2k6hHqa0N4YiZ1hsN1lMEvqKAgY+478cG4CZ+wl9Hfs3XAZ5ebbbon/Y2sR7I= Received: from HE1PR0801MB2076.eurprd08.prod.outlook.com (10.168.95.140) by HE1PR0801MB1371.eurprd08.prod.outlook.com (10.167.248.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.21; Mon, 28 Jan 2019 13:43:14 +0000 Received: from HE1PR0801MB2076.eurprd08.prod.outlook.com ([fe80::f5e3:70fc:e834:3c42]) by HE1PR0801MB2076.eurprd08.prod.outlook.com ([fe80::f5e3:70fc:e834:3c42%3]) with mapi id 15.20.1558.023; Mon, 28 Jan 2019 13:43:14 +0000 From: Ola Liljedahl To: "jerinj@marvell.com" , "mczekaj@marvell.com" , "gage.eads@intel.com" , "dev@dpdk.org" CC: "olivier.matz@6wind.com" , "stephen@networkplumber.org" , nd , "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: AQHUr0H3NsJBTf2hT0+nXGXAmKraP6W7ZOeAgABKckCAAPt7gIADjkUwgASEwYCAAAKDAA== Date: Mon, 28 Jan 2019 13:43:14 +0000 Message-ID: <1548683004.11472.15.camel@arm.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> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.18.5.2-0ubuntu3.2 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; HE1PR0801MB1371; 6:4b901uyIkSXA77NxkB/cOjXw8phV4n5BJ0UEGudu2gmSin9/rjRpn53Qqjbe6f2WFe3jLoRJFEDAQFJTLOEqbLstbWKAuglU2n/I90silmsTgwkQpYhmcRxYncgMTgo4umHulIkWv31J9FVqJkmO9Zd/cEi/q8d/x3Lomu/STKvKj3Cr/xmswWCzW1xPXEMYuhkHMw/XUOGCitgz5ptJ9dqn+szb8kdiskPTdJCKWeMlJpPtLHiUWu4kSB+IfeCmJd6DXN2VMP6hyPU0lacIrs+GerXvjpuek2KVamzxsZYnCT4KmYQEfxMwZMs3ZWipXkXmKjCVHyvzgByY5lCdiy8jKO9Vc6Li5cuNzKRRDI6aLHo3Jjv+XZzewAKG4RdHxyr0LldZEBZRKFIJ3RlrVI5oHKrYLHR9jM2p/poLkFkkFn+LJD4lRoGAaVzeJERascgtV4n57RxejReXSGLwCw==; 5:/Z6vwIo/q+sdjKE+aGgaYoTShfxY/NGZcBTsK+SRNUwRpRSJv2GvKYth3ljcBDIqVTSFSFIAiBCeK3um4BHftUDGFdWejifocgCCczSb/RLXhNuKFkt/xvy6ROXqrxdFQcgXkhW1sz+AR+vguOL3TdE4/rT4RhDJ9fyyDOIXeSOcsVQOUJPPlg9XK3Y8iJjJueZCeDTAvJcn9VjZCX0Xmg==; 7:xZF1cW8tGXo8Lu0QgdpjbvsXauhqykSV3bFjHBNvrDd//Fk3eCHkImBr+EgudEOTQl2U8UT+LBnl1DsoF5yjryWZY9BDjOmyDg4SDad1M7xkA5N5F73vb8HTX9BniG86OKadpp0BOIeStOO7qgCftQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 09a8a811-ce87-44f8-e105-08d685268d1e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0801MB1371; x-ms-traffictypediagnostic: HE1PR0801MB1371: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0931CB1479 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(376002)(136003)(346002)(366004)(199004)(189003)(13464003)(76176011)(50226002)(103116003)(446003)(11346002)(102836004)(478600001)(53546011)(305945005)(7736002)(6506007)(2906002)(72206003)(2616005)(476003)(81156014)(8676002)(81166006)(106356001)(8936002)(68736007)(2501003)(966005)(36756003)(256004)(6436002)(316002)(105586002)(14444005)(6486002)(486006)(6306002)(53936002)(6116002)(3846002)(25786009)(97736004)(6512007)(6246003)(66066001)(86362001)(26005)(71190400001)(71200400001)(99286004)(186003)(229853002)(54906003)(4326008)(14454004)(93886005)(110136005)(2201001)(99106002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1371; 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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: R47UhModARrPWLKTvnWp4RKbp46ZiI6bwrBSjvA1GY40L+9vyqzfrbblVotqltzXspdGqph1kGQt3I30XaH3lEZh/Ba93bIf7D3JfUfy6v08dvZ4F6waGlFde95/Lrvzc3zq9DrjmTLHWv8V2aaux9pOdWuSJatyQDlROg16d5g9DvcE8ryt45d/I/YS97gP/ZDZoB3ln+jvqrGwvH/ROlHOb4/sWflYJ63PojO9kQWAdTGqY0XIg9TeZJu1oJIG2FI9JrmJRzZ7Bker+J7BrES3zQKN/qTcI0RU+JwmwaqOIn5ChAir0Tda5KUfv6r9JEO2AHRFD44aRXv+uUnhy901mrIeIHoCHOibQ61cLtan+nFeYmY37qMS/DnHyVxc6RKXHVebVEXUQE/thHIAvnHaIkg5+7slRLArvZFWKjQ= 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: 09a8a811-ce87-44f8-e105-08d685268d1e X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jan 2019 13:43:14.0645 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1371 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 13:43:15 -0000 T24gTW9uLCAyMDE5LTAxLTI4IGF0IDEzOjM0ICswMDAwLCBKZXJpbiBKYWNvYiBLb2xsYW51a2th cmFuIHdyb3RlOg0KPiBPbiBGcmksIDIwMTktMDEtMjUg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