From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1182C16E for ; Thu, 24 May 2018 19:35:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 May 2018 10:35:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,436,1520924400"; d="scan'208";a="44487836" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by orsmga006.jf.intel.com with ESMTP; 24 May 2018 10:35:34 -0700 Received: from orsmsx115.amr.corp.intel.com (10.22.240.11) by ORSMSX107.amr.corp.intel.com (10.22.240.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 24 May 2018 10:35:34 -0700 Received: from orsmsx105.amr.corp.intel.com ([169.254.2.107]) by ORSMSX115.amr.corp.intel.com ([169.254.4.200]) with mapi id 14.03.0319.002; Thu, 24 May 2018 10:35:33 -0700 From: "Wang, Yipeng1" To: Brijesh Singh , "dev@dpdk.org" , "De Lara Guarch, Pablo" CC: "stephen@networkplumber.org" , "nd@arm.com" , "Honnappa.Nagarahalli@arm.com" , "Ananyev, Konstantin" , "Tai, Charlie" , "Gobriel, Sameh" , "Wang, Ren" , "jmurphy@arista.com" Thread-Topic: [dpdk-dev] rte_hash thread safe Thread-Index: AQHT0hSEGoaRtqEOYkm5hB3j5meJYqQ/Ywbg Date: Thu, 24 May 2018 17:35:33 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmVjYTQ1OTQtOGE2My00YjVkLTkxZWEtZDBjODI3ZjA1N2I0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InBTa0JDZFk4YUpST1V0UUN2V0wwdlBITWlkZ2gzQUpkSkVWU05VVHIzazA9In0= x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] rte_hash thread safe 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: Thu, 24 May 2018 17:35:37 -0000 SGksIEJyaWplc2ggYW5kIGFsbCwNCg0KVGhhbmtzIGZvciBicmluZ2luZyB0aGlzIHVwLiBXZSBh Y3R1YWxseSBoYXZlIGEgcmVhZC13cml0ZSBjb25jdXJyZW5jeSBzdXBwb3J0IHBhdGNoIGNvbWlu ZyBpbiBhIGNvdXBsZSBvZiB3ZWVrcyBmb3IgcnRlX2hhc2ggYWltaW5nIHRoaXMgcmVsZWFzZS4g IE1vcmUgY2hhbmdlcyBhcmUgb24gdGhlIHdheSBmb3IgZnV0dXJlIHJlbGVhc2VzLiA6KQ0KDQpU aGFua3MNCllpcGVuZyANCg0KPi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+RnJvbTogZGV2 IFttYWlsdG86ZGV2LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBCcmlqZXNoIFNpbmdo DQo+U2VudDogV2VkbmVzZGF5LCBBcHJpbCAxMSwgMjAxOCA5Oj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