From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7EA941B2B3 for ; Mon, 15 Apr 2019 18:51:32 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Apr 2019 09:51:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,354,1549958400"; d="scan'208";a="316160932" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga005.jf.intel.com with ESMTP; 15 Apr 2019 09:51:29 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.31]) by IRSMSX153.ger.corp.intel.com ([169.254.9.61]) with mapi id 14.03.0415.000; Mon, 15 Apr 2019 17:51:28 +0100 From: "Ananyev, Konstantin" To: Honnappa Nagarahalli , "paulmck@linux.ibm.com" CC: "stephen@networkplumber.org" , "Kovacevic, Marko" , "dev@dpdk.org" , "Gavin Hu (Arm Technology China)" , Dharmik Thakkar , Malvika Gupta , nd , nd Thread-Topic: [PATCH v4 1/3] rcu: add RCU library supporting QSBR mechanism Thread-Index: AQHU749t3HDp00bO3kqLUXp8vwQ1CKY1opsAgACtYACAALXtgIAB5LsAgASARdA= Date: Mon, 15 Apr 2019 16:51:27 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580148A9800A@irsmsx105.ger.corp.intel.com> References: <20181122033055.3431-1-honnappa.nagarahalli@arm.com> <20190410112006.21644-1-honnappa.nagarahalli@arm.com> <20190410112006.21644-2-honnappa.nagarahalli@arm.com> <20190410181432.GO14111@linux.ibm.com> <20190411152613.GZ14111@linux.ibm.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWUyYmE5NTktNGJlMS00MmQ4LWJhMWItZTg0ZjNjMzdjNTczIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoib3J4emszRjYwY3ZSRmlyMkdFUVVsWGMzdG04ajhPK25HaEl2TzVKbkkxcjE5eWZEZVVcL0N4aGhsS3VzNnZQN2MifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 1/3] rcu: add RCU library supporting QSBR mechanism 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, 15 Apr 2019 16:51:33 -0000 DQoNCj4gPiA+ID4NCj4gPiA+ID4gT24gV2VkLCBBcHIgMTAsIDIwMTkgYXQgMDY6MjA6MDRBTSAt MDUwMCwgSG9ubmFwcGEgTmFnYXJhaGFsbGkNCj4gPiB3cm90ZToNCj4gPiA+ID4gPiBBZGQgUkNV IGxpYnJhcnkgc3VwcG9ydGluZyBxdWllc2NlbnQgc3RhdGUgYmFzZWQgbWVtb3J5DQo+ID4gPiA+ ID4gcmVjbGFtYXRpb24NCj4gPiA+ID4gbWV0aG9kLg0KPiA+ID4gPiA+IFRoaXMgbGlicmFyeSBo ZWxwcyBpZGVudGlmeSB0aGUgcXVpZXNjZW50IHN0YXRl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IHdyaXRlciwgMTcgcmVhZGVycywgMSBRU0JSIHZh cmlhYmxlLCAxIFFTQlIgUXVlcnksIE5vbi1CbG9ja2luZyBRU0JSIGNoZWNrDQpGb2xsb3dpbmcg bnVtYmVycyBpbmNsdWRlIGNhbGxzIHRvIHJ0ZV9oYXNoIGZ1bmN0aW9ucw0KQ3ljbGVzIHBlciAx IHVwZGF0ZShvbmxpbmUvdXBkYXRlL29mZmxpbmUpOiAzOTM2ODMxDQpDeWNsZXMgcGVyIDEgY2hl Y2soc3RhcnQsIGNoZWNrKTogNzI2MjczOA0KDQoNClRlc3QgT0sNCg0KS29uc3RhbnRpbg0KDQo= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id DF378A00E6 for ; Mon, 15 Apr 2019 18:51:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AEE5C1B39D; Mon, 15 Apr 2019 18:51:34 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7EA941B2B3 for ; Mon, 15 Apr 2019 18:51:32 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Apr 2019 09:51:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,354,1549958400"; d="scan'208";a="316160932" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga005.jf.intel.com with ESMTP; 15 Apr 2019 09:51:29 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.31]) by IRSMSX153.ger.corp.intel.com ([169.254.9.61]) with mapi id 14.03.0415.000; Mon, 15 Apr 2019 17:51:28 +0100 From: "Ananyev, Konstantin" To: Honnappa Nagarahalli , "paulmck@linux.ibm.com" CC: "stephen@networkplumber.org" , "Kovacevic, Marko" , "dev@dpdk.org" , "Gavin Hu (Arm Technology China)" , Dharmik Thakkar , Malvika Gupta , nd , nd Thread-Topic: [PATCH v4 1/3] rcu: add RCU library supporting QSBR mechanism Thread-Index: AQHU749t3HDp00bO3kqLUXp8vwQ1CKY1opsAgACtYACAALXtgIAB5LsAgASARdA= Date: Mon, 15 Apr 2019 16:51:27 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580148A9800A@irsmsx105.ger.corp.intel.com> References: <20181122033055.3431-1-honnappa.nagarahalli@arm.com> <20190410112006.21644-1-honnappa.nagarahalli@arm.com> <20190410112006.21644-2-honnappa.nagarahalli@arm.com> <20190410181432.GO14111@linux.ibm.com> <20190411152613.GZ14111@linux.ibm.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWUyYmE5NTktNGJlMS00MmQ4LWJhMWItZTg0ZjNjMzdjNTczIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoib3J4emszRjYwY3ZSRmlyMkdFUVVsWGMzdG04ajhPK25HaEl2TzVKbkkxcjE5eWZEZVVcL0N4aGhsS3VzNnZQN2MifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 1/3] rcu: add RCU library supporting QSBR mechanism 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190415165127.67GuYToAD2P7O4dNOKrXkTRnlUjcSxkgki_symdTnSs@z> DQoNCj4gPiA+ID4NCj4gPiA+ID4gT24gV2VkLCBBcHIgMTAsIDIwMTkgYXQgMDY6MjA6MDRBTSAt MDUwMCwgSG9ubmFwcGEgTmFnYXJhaGFsbGkNCj4gPiB3cm90ZToNCj4gPiA+ID4gPiBBZGQgUkNV IGxpYnJhcnkgc3VwcG9ydGluZyBxdWllc2NlbnQgc3RhdGUgYmFzZWQgbWVtb3J5DQo+ID4gPiA+ ID4gcmVjbGFtYXRpb24NCj4gPiA+ID4gbWV0aG9kLg0KPiA+ID4gPiA+IFRoaXMgbGlicmFyeSBo ZWxwcyBpZGVudGlmeSB0aGUgcXVpZXNjZW50IHN0YXRlIG9mIHRoZSByZWFkZXINCj4gPiA+ID4g PiB0aHJlYWRzIHNvIHRoYXQgdGhlIHdyaXRlcnMgY2FuIGZyZWUgdGhlIG1lbW9yeSBhc3NvY2lh dGVkIHdpdGgNCj4gPiA+ID4gPiB0aGUgbG9jayBsZXNzIGRhdGEgc3RydWN0dXJlcy4NCj4gPiA+ ID4NCj4gPiA+ID4gSSBkb24ndCBzZWUgYW55IHNpZ24gb2YgcmVhZC1zaWRlIG1hcmtlcnMgKHJj dV9yZWFkX2xvY2soKSBhbmQNCj4gPiA+ID4gcmN1X3JlYWRfdW5sb2NrKCkgaW4gdGhlIExpbnV4 IGtlcm5lbCwgdXNlcnNwYWNlIFJDVSwgZXRjLikuDQo+ID4gPiA+DQo+ID4gPiA+IFllcywgc3Ry aWN0bHkgc3BlYWtpbmcsIHRoZXNlIGFyZSBub3QgbmVlZGVkIGZvciBRU0JSIHRvI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