From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 3DAA1201 for ; Tue, 13 Nov 2018 23:41:30 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Nov 2018 14:41:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,230,1539673200"; d="scan'208";a="86257084" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga008.fm.intel.com with ESMTP; 13 Nov 2018 14:41:29 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 13 Nov 2018 14:41:28 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 13 Nov 2018 14:41:28 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.161]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.102]) with mapi id 14.03.0415.000; Wed, 14 Nov 2018 06:41:26 +0800 From: "Zhang, Qi Z" To: "Yigit, Ferruh" , "Zhao1, Wei" , "ophirmu@mellanox.com" CC: "dev@dpdk.org" , "Peng, Yuan" , "Adrien Mazarguil" Thread-Topic: [dpdk-dev] FW: [PATCH] net/i40e: add parameter check for RSS flow init Thread-Index: AQHUe5fHDFMhUX9JjEu2cpK68Bnv1aVOR6fg Date: Tue, 13 Nov 2018 22:41:25 +0000 Message-ID: <039ED4275CED7440929022BC67E70611532E3968@SHSMSX103.ccr.corp.intel.com> References: <1542014724-68073-1-git-send-email-wei.zhao1@intel.com> <20181112140305.GD17131@6wind.com> <67D543A150B29E4CAAE53918F64EDAEA37648A56@SHSMSX103.ccr.corp.intel.com> <1c9e3ac6-2185-34e1-0aca-eb08451ddab6@intel.com> In-Reply-To: <1c9e3ac6-2185-34e1-0aca-eb08451ddab6@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTJjMzU1MjYtMTMwYi00MGU0LWI0MzAtZmMzZmFjMTUzN2FlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiT0tjV3ZvMGM1WFhpQWgwTXBzK01oUWI0M1ROaG1sWTNEYWNQYlhKWDR6SWxyR3FPN0xqZVdabmxtdzBMZithYyJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] FW: [PATCH] net/i40e: add parameter check for RSS flow init 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: Tue, 13 Nov 2018 22:41:30 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWWlnaXQsIEZlcnJ1aA0K PiBTZW50OiBUdWVzZGF5LCBOb3ZlbWJlciAxMywgMjAxOCAxOjI4IFBNDQo+IFRvOiBaaGFvMS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