From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 7D12F29C7 for ; Thu, 6 Apr 2017 13:27:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491478028; x=1523014028; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=pdQQNorku2XA/eOsAkaXaG9rg+2UicfXBZXxyuHHxnc=; b=cBM1iku+WugDRjsz7/9Dc5rI4rk4bReuH7VCGx7WICMRBpOw6l4TN+Gb 1sm3i4KHkL6nTg1iXDeA0StiirTfMw==; Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Apr 2017 04:27:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,159,1488873600"; d="scan'208";a="245068582" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by fmsmga004.fm.intel.com with ESMTP; 06 Apr 2017 04:27:06 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.239]) by IRSMSX151.ger.corp.intel.com ([169.254.4.123]) with mapi id 14.03.0319.002; Thu, 6 Apr 2017 12:27:06 +0100 From: "De Lara Guarch, Pablo" To: "373755701@qq.com" <373755701@qq.com>, users Thread-Topic: [dpdk-users] My questions about dpdk hash Thread-Index: AQHSrsSwGSiiyXWNtkil9QPWZsTZCKG4Mniw Date: Thu, 6 Apr 2017 11:27:05 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDM5MmUxMTItOTIzYy00YTYyLTliOGQtNmZkMWRjNzYyZDZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InJuYUJnekxFY01XTzFNdFZmQXdvK3FBNHBINU9ITXR3SkxiZGlpeENZZXc9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-users] My questions about dpdk hash X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 11:27:09 -0000 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogdXNlcnMgW21haWx0 bzp1c2Vycy1ib3VuY2VzQGRwZGsub3JnXSBPbiBCZWhhbGYgT2YgPz8/Pw0KPiBTZW50OiBUaHVy c2RheSwgQXByaWwgMDYsIDIwMTcgMTE6NTggQU0NCj4gVG86IHVzZXJzDQo+IFN1YmplY3Q6IFtk cGRrLXVzZXJzXSBNeSBxdWVzdGlvbnMgYWJvdXQgZHBkayBoYXNoDQo+IA0KPiBIaSBhbGw6DQo+ ICAgICAgaGVyZSBpcyBteSBwc2V1ZG8gY29kZToNCj4gICAgICBzdHJ1Y3QgSEFTSF9LRVkNCj4g ICAgICB7DQo+ICAgICAgICAgIGludCBkYXRhMTsNCj4gICAgICAgICAgaW50IGRhdGEyOw0KPiAg ICAgICB9Ow0KPiAgICAgIHZvaWQgdGVzdF9oYXNoX2FkZF9rZXkoKQ0KPiAgICAgIHsNCj4gICAg ICAgICBzdHJ1Y3QgcnRlX2hhc2gqI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