From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 26287A0547 for ; Fri, 23 Apr 2021 14:29:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1000341DEA; Fri, 23 Apr 2021 14:29:15 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id CBDBB410D8; Fri, 23 Apr 2021 14:29:11 +0200 (CEST) IronPort-SDR: eOZJyab6iSZUl2UfvlHm9xOPMN6+HnlDrAhNQGy6KAI9oPwADPG6pI01UfpwgCvp7U4g3VKC7u 38CJ6nASzIuw== X-IronPort-AV: E=McAfee;i="6200,9189,9962"; a="192871782" X-IronPort-AV: E=Sophos;i="5.82,245,1613462400"; d="scan'208";a="192871782" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2021 05:29:10 -0700 IronPort-SDR: PTx5rio5jQgNx7M2hW5P5LOij8XgNHs12ZO6Rru7X+mLanGZilLz6nyIsS/afeXpt7or5cKIk9 67cUT8ofv3nA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,245,1613462400"; d="scan'208";a="614704775" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga006.fm.intel.com with ESMTP; 23 Apr 2021 05:29:10 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 23 Apr 2021 05:29:10 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) 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.2106.2; Fri, 23 Apr 2021 20:29:08 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2106.013; Fri, 23 Apr 2021 20:29:08 +0800 From: "Zhang, Qi Z" To: "Zhang, AlvinX" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Zhang, AlvinX" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5] net/iavf: fix hash configuration on i40e VF Thread-Index: AQHXNzWXXNey1TYJ9EuV4p4iFPRSu6rCCe9A Date: Fri, 23 Apr 2021 12:29:08 +0000 Message-ID: <8ab325ba23b04fab8dcace9f74bc525e@intel.com> References: <20210422031500.32256-1-alvinx.zhang@intel.com> <20210422050809.33164-1-alvinx.zhang@intel.com> In-Reply-To: <20210422050809.33164-1-alvinx.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v5] net/iavf: fix hash configuration on i40e VF X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: dev On Behalf Of Alvin Zhang > Sent: Thursday, April 22, 2021 1:08 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Zhang, AlvinX ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH v5] net/iavf: fix hash configuration on i40e V= F >=20 > In i40evf PMD, the VF directly accesses the hash enable registers to enab= le or > disable hashing on ingress packets. When binding i40e VF to iavf, because= the > PF doesn't support VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF capability. Therefore, > the VF hashing cannot be enabled. >=20 > This patch adds support of hash configuration for i40e VF by sending > VIRTCHNL_OP_SET_RSS_HENA message to the PF after checking that the PF > does not support VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF capability. >=20 > Fixes: c678299594a8 ("net/iavf: fix default RSS configuration") > Cc: stable@dpdk.org >=20 > Signed-off-by: Alvin Zhang Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi