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 AD093A0C4B; Thu, 8 Jul 2021 07:22:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 29CB34069C; Thu, 8 Jul 2021 07:22:28 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 6F67140687; Thu, 8 Jul 2021 07:22:26 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10038"; a="189822756" X-IronPort-AV: E=Sophos;i="5.84,222,1620716400"; d="scan'208";a="189822756" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2021 22:22:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,222,1620716400"; d="scan'208";a="423856517" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga007.fm.intel.com with ESMTP; 07 Jul 2021 22:22:11 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Wed, 7 Jul 2021 22:22:10 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 8 Jul 2021 13:22: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.2242.010; Thu, 8 Jul 2021 13:22:08 +0800 From: "Zhang, Qi Z" To: "Xu, Ting" , "dev@dpdk.org" CC: "Wu, Jingjing" , "Xing, Beilei" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/ice: fix error check for QoS in DCF Thread-Index: AQHXc6Eq1uxzAVCABUaT1Se7s1MfRqs4ivwA Date: Thu, 8 Jul 2021 05:22:08 +0000 Message-ID: <74c7a49e07984f869b11bdd31dd44e3e@intel.com> References: <20210706161644.64837-1-ting.xu@intel.com> <20210708023225.34385-1-ting.xu@intel.com> In-Reply-To: <20210708023225.34385-1-ting.xu@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-dev] [PATCH v2] net/ice: fix error check for QoS in DCF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > -----Original Message----- > From: Xu, Ting > Sent: Thursday, July 8, 2021 10:32 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei ; Xu, Ting ; > stable@dpdk.org > Subject: [PATCH v2] net/ice: fix error check for QoS in DCF >=20 > This patch fixed some unreasonable error check. Move all checks into one > helper function before configuring. Skip the check for DCF (VF0). >=20 > Fixes: 3a5a5bfc618b ("net/ice: support QoS config VF bandwidth in DCF") > Cc: stable@dpdk.org >=20 > Signed-off-by: Ting Xu Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi