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 6EE24293B for ; Fri, 24 Aug 2018 02:33:33 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Aug 2018 17:33:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,279,1531810800"; d="scan'208";a="227234887" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by orsmga004.jf.intel.com with ESMTP; 23 Aug 2018 17:33:32 -0700 Received: from orsmsx162.amr.corp.intel.com (10.22.240.85) by ORSMSX109.amr.corp.intel.com (10.22.240.7) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 23 Aug 2018 17:33:31 -0700 Received: from orsmsx105.amr.corp.intel.com ([169.254.2.117]) by ORSMSX162.amr.corp.intel.com ([169.254.3.195]) with mapi id 14.03.0319.002; Thu, 23 Aug 2018 17:33:31 -0700 From: "Wang, Yipeng1" To: Honnappa Nagarahalli , Michel Machado , "Fu, Qiaobin" CC: "dev@dpdk.org" , "Doucette, Cody, Joseph" , "Wiles, Keith" , "Gobriel, Sameh" , "Tai, Charlie" , "Stephen Hemminger" , nd , "Richardson, Bruce" , "De Lara Guarch, Pablo" Thread-Topic: [dpdk-dev] [PATCH v2] hash table: add an iterator over conflicting entries Thread-Index: AQHUNi8ZjVV2q0gNzUuPiOA8dDUDIaTEzYGAgAHMIwCAA4nbgIAAficAgAC4soCAArTS0A== Date: Fri, 24 Aug 2018 00:33:31 +0000 Message-ID: References: <5e809298-ee0e-f03f-e83a-59b764e3a9b8@digirati.com.br> <12e971e0-41bd-2cd6-d80c-a7a486fd1046@digirati.com.br> 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.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] hash table: add an iterator over conflicting entries 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: Fri, 24 Aug 2018 00:33:34 -0000 VGhhbmtzIGZvciB0aGUgcGF0Y2ggYW5kIHNvcnJ5IGZvciB0aGUgbGF0ZSByZXZpZXcuDQpJIGJl bGlldmUgdGhpcyB3aWxsIGJlIGEgZ29vZCBhZGRpdGlvbiB0byB0aGUgbGlicmFyeSBhbmQgcGxl YXNlDQprZWVwIG1lIGNjJ2VkIGZvciBWMyBhcyB3ZWxsLg0KDQpXZSBoYXZlIHRoZSBsaW5rZWQg bGlzdCBjdWNrb28gaGFzaCBvbiB0aGUgcm9hZG1hcCBmb3IgMTguMTENCmh0dHA6Ly9tYWlscy5k cGRrLm9yZy9hcmNoaXZlcy9kZXYvMjAxOC1BdWd1c3QvMTA5OTg2Lmh0bWwNCg0KSSB0aGluayB3 aXRoIEhvbm5hcHBhIHN1Z2dlc3RlZCAidWludDMyX3QqIG5leHQiLA0Kd2UgbWF5IG5lZWQgYSBs aXR0bGUgYml0IHRyaWNrcyB0byBtYWtlIGl0IHdvcmsgd2l0aCB0aGUgZXh0cmEgbGlua2VkIGxp c3QuDQpUaGUgcGVyZm9ybWFuY2UgbWF5IG5vdCBiZSBvcHRpbWFsIHRob3VnaCBjb21wYXJpbmcg dG8geW91ciBvcmlnaW5hbCBhcHByb2FjaC4NCklzIHRoaXMgaW1wb3J0YW50IHRvIHlvdXIgdXNl IGNhc2U/DQoNCkkgdGhpbmsgd2UgY2FuIHdvcmsgc29tZXRoaW5nIG91dCB0byBzYXRpc2Z5IGV2 ZXJ5Ym9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