From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <373755701@qq.com> Received: from smtpbg65.qq.com (smtpbg65.qq.com [103.7.28.233]) by dpdk.org (Postfix) with ESMTP id 164E82A6C for ; Thu, 6 Apr 2017 12:57:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1491476259; bh=/I5+jSMgNrHQ96wsTaTrhNeUcxnN7QMarLO3pI+/GLM=; h=From:To:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:Date:Message-ID; b=h7f1RqVuRKO5jgX7zJ6Zxlf+BGWpJKLpAj2pJtQXQY72wdIVldZdVw34nQ8NkWzf7 NaIQNbHD3NlGBE8gKhch88uTDqdD64M5gcFU6HKQQVogd11CQO01efuV6iiFepVf2C CwloouMwItvzu6CylXPGo4DXMGQM50YCevacvw1o= X-QQ-FEAT: AfeY8uAEBPLfeGvZIqOMQHWHIyqp6oiDF3S3WjQm4BZQN2pUmXv5Q3Q6b6A79 X3KXo1X60evy3eJVz2XJVO3YvNjkPXETUw1P3laK0049+4zAAe4dk+gjs15LjwAnN9CDENf icu5g9zXkASR/exZgRbfOrqce/3E2X4/RFs6M+p6rmbxVdqgUCmU0fLY5qmFwKWEOL6wvL3 1UHuBx8yPkPJbyK9Qd0KR2QhYIiCHZPALB5ac7KdP7RWTTFvj0Sbojbj1shUoyjD2Sdz9PZ 5nJSU0n2MIHLSn X-QQ-SSF: 00000000000000F000000000000000Z X-HAS-ATTACH: no X-QQ-BUSINESS-ORIGIN: 2 X-Originating-IP: 221.226.162.21 X-QQ-STYLE: X-QQ-mid: webmail296t1491476258t5284741 From: "=?gb18030?B?s8no69XfsfA=?=" <373755701@qq.com> To: "=?gb18030?B?dXNlcnM=?=" Mime-Version: 1.0 Date: Thu, 6 Apr 2017 18:57:38 +0800 X-Priority: 3 Message-ID: X-QQ-MIME: TCMime 1.0 by Tencent X-Mailer: QQMail 2.x X-QQ-Mailer: QQMail 2.x X-QQ-SENDSIZE: 520 Feedback-ID: webmail:qq.com:bgforeign:bgforeign3 X-QQ-Bgrelay: 1 Content-Type: text/plain; charset="gb18030" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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 10:57:43 -0000 SGkgYWxsOg0KICAgICBoZXJlIGlzIG15IHBzZXVkbyBjb2RlOg0KICAgICBzdHJ1Y3QgSEFT SF9LRVkNCiAgICAgew0KICAgICAgICAgaW50IGRhdGExOw0KICAgICAgICAgaW50IGRhdGEy Ow0KICAgICAgfTsNCiAgICAgdm9pZCB0ZXN0X2hhc2hfYWRkX2tleSgpDQogICAgIHsNCiAg ICAgICAgc3RydWN0IHJ0ZV9oYXNoKiB0ZXN0SGFzaDsNCiAgICAgICAgc3RydWN0IHJ0ZV9o YXNoX3BhcmFtZXRlcnMgaGFzaF9wYXJhbXM7DQogICAgICAgIGhhc2hfcGFyYW1zLm5hbWUg PSAieHh4eXl5IjsNCiAgICAgICAgaGFzaF9wYXJhbXMuZW50cmllcyA9IDY0Ow0KICAgICAg ICBoYXNoX3BhcmFtcy5oYXNoX2Z1bmMgPSBydGVfamhhc2g7DQogICAgICAgIGhhc2hfcGFy YW1zLmhhc2hfZnVuY19pbml0X3ZhbCA9IDA7DQogICAgICAgIGhhc2hfcGFyYW1zLmtleV9s ZW4gPSBzaXplb2Yoc3RydWN0IEhBU0hfS0VZKTsNCiAgICAgICAgaGFzaF9wYXJhbXMuc29j a2V0X2lkID0gcnRlX3NvY2tldF9pZCgpOw0KICAgICAgICANCiAgICAgICAgdGVzdEhhc2gg PSBydGVfaGFzaF9jcmVhdGUoJmhhc2hfcGFyYW1zKTsNCiAgICAgICAgaWYoTlVMTCA9PSB0 ZXN0SGFzaCkNC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