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 AF6C9A034F; Wed, 13 May 2020 04:17:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 623B41BFE6; Wed, 13 May 2020 04:17:30 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id EA2031BFA1 for ; Wed, 13 May 2020 04:17:27 +0200 (CEST) IronPort-SDR: Ffv4vBLnTmZjRkcSrewi3gieys/J1sn0VEnr0CQLZE4UW4o1HnYk/x8t1+euqzRBswb4JUPCaY mLeRSHFYQfHQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2020 19:17:27 -0700 IronPort-SDR: tFLA96HGIn9A52gZL/o3IDRY5XFxft5AlTfDLW1UKfVQ9kUuVAGcEt03Y6PY23AGZF/0B/t5ve DdJeDA8fRe8Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,385,1583222400"; d="scan'208";a="251634908" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 12 May 2020 19:17:27 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 19:17:26 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 12 May 2020 19:17:26 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 12 May 2020 19:17:26 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.26]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.181]) with mapi id 14.03.0439.000; Wed, 13 May 2020 10:17:23 +0800 From: "Zhang, Qi Z" To: "Guo, Jia" , "Xing, Beilei" , "Wu, Jingjing" CC: "Ye, Xiaolong" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] net/iavf: fix rss algorithm configure issue Thread-Index: AQHWJdvBKR0lNdDwiUOhiHdrtKGKDKijunyggAABsVCAANnVAIAAtdUw Date: Wed, 13 May 2020 02:17:23 +0000 Message-ID: <039ED4275CED7440929022BC67E70611548151FE@SHSMSX103.ccr.corp.intel.com> References: <20200509202730.70367-1-jia.guo@intel.com> <039ED4275CED7440929022BC67E70611548142B9@SHSMSX103.ccr.corp.intel.com> <039ED4275CED7440929022BC67E70611548142DF@SHSMSX103.ccr.corp.intel.com> <87415d09-5743-07b8-00e0-bc28e298be4b@intel.com> In-Reply-To: <87415d09-5743-07b8-00e0-bc28e298be4b@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 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] net/iavf: fix rss algorithm configure issue 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogR3VvLCBK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