From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 27E3FA034F; Wed, 13 May 2020 11:54:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9E2C91D182; Wed, 13 May 2020 11:54:24 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 1C36E1C22F for ; Wed, 13 May 2020 11:54:21 +0200 (CEST) IronPort-SDR: zEQa49Sncb4vhmaqPlfHeTbONUHutFKuza0NvmJ0SA5QHFd62LLF2GFIYO7Jjot8WwWNktUcpc PocE842lW1VQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2020 02:54:21 -0700 IronPort-SDR: ykX5VNQ7uM/5KZpfAZ2j1YiLNmqUPk5kxN9YX+KT+iDTOheddBrxXoRwUu2nowwcdxY5Exzsxf 2b543I96psIg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,387,1583222400"; d="scan'208";a="251197322" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga007.jf.intel.com with ESMTP; 13 May 2020 02:54:20 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 13 May 2020 02:54:20 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by SHSMSX604.ccr.corp.intel.com (10.109.6.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 13 May 2020 17:54:18 +0800 Received: from shsmsx602.ccr.corp.intel.com ([10.109.6.142]) by SHSMSX602.ccr.corp.intel.com ([10.109.6.142]) with mapi id 15.01.1713.004; Wed, 13 May 2020 17:54:18 +0800 From: "Wang, ShougangX" To: "Guo, Jia" , "Xu, HailinX" , "Xing, Beilei" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/i40e: fix hash enable issue in RSS flow Thread-Index: AQHWJFUVuRYm8TPDVkW1sAVlyaWzFKic2nKAgACMI4D//503gIAIMcwAgACaLdA= Date: Wed, 13 May 2020 09:54:18 +0000 Message-ID: <2673d1568df74d01bfb176e9e4d62169@intel.com> References: <20200507094401.54928-1-shougangx.wang@intel.com> <8e8523f82a2e46cd85055ee52ad088a7@intel.com> <4af98506-2136-d855-3c12-e192d6dbd780@intel.com> In-Reply-To: <4af98506-2136-d855-3c12-e192d6dbd780@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix hash enable issue in RSS flow 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" SGksIEplZmYNCg0KVGhhbmtzIGZvciB5b3VyIHJldmlldy4NClRoaXMgcGF0Y2ggY2FuIGJlIHRy ZWF0ZWQgYXMgYSB3b3JrIGFyb3VuZCwgdGhlIGNvZGVzIGFib3V0IHBfaW5mby0+YWN0aW9uX2Zs YWcgd2lsbCBiZSByZWNvbnN0cnVjdGVkIGluIHRoZSBmdXR1cmUuDQoNClRoYW5rcy4NClNob3Vn YW5nDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogR3VvLCBKaWEgPGpp YS5ndW9AaW50ZWwuY29tPg0KPiBTZW50OiBXZWRuZX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