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 1722EA04AB; Mon, 31 Aug 2020 06:09:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6CFFE137D; Mon, 31 Aug 2020 06:09:47 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A41CDDE0; Mon, 31 Aug 2020 06:09:45 +0200 (CEST) IronPort-SDR: HjTPQKD5mkHscAc/0LxpIesDZxPZgRmXbXFwN6uAz8Dkrvqqz3TF34Pfc6Ofw9TIGBLUSZyllR QILt9AEpTgVA== X-IronPort-AV: E=McAfee;i="6000,8403,9729"; a="156168394" X-IronPort-AV: E=Sophos;i="5.76,374,1592895600"; d="scan'208";a="156168394" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2020 21:09:44 -0700 IronPort-SDR: Ym+JOti4Sr2an6JQkv6uwFQ+CVGzYO4VZlev/aOH364g8NY+8fOeXHoT2v4S5XJwcxJ1ZuMDii SH9uNtXBkarA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,374,1592895600"; d="scan'208";a="340526551" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga007.jf.intel.com with ESMTP; 30 Aug 2020 21:09:44 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) 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.1713.5; Sun, 30 Aug 2020 21:09:27 -0700 Received: from fmsmsx107.amr.corp.intel.com (10.18.124.205) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 30 Aug 2020 21:09:27 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 30 Aug 2020 21:09:26 -0700 Received: from shsmsx107.ccr.corp.intel.com ([169.254.9.141]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.115]) with mapi id 14.03.0439.000; Mon, 31 Aug 2020 12:09:23 +0800 From: "Zhang, Qi Z" To: "Zhao1, Wei" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Lu, Nannan" Thread-Topic: [PATCH v4] net/ice: fix VF index check for DCF Thread-Index: AQHWcRtP+h3ldpBbD0OwgBJe6C58X6lRtYcg Date: Mon, 31 Aug 2020 04:09:23 +0000 Message-ID: <039ED4275CED7440929022BC67E706115522E1CF@SHSMSX107.ccr.corp.intel.com> References: <20200812025326.21506-1-wei.zhao1@intel.com> <20200813021441.65207-1-wei.zhao1@intel.com> In-Reply-To: <20200813021441.65207-1-wei.zhao1@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.5.1.3 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4] net/ice: fix VF index check for DCF 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" > -----Original Message----- > From: Zhao1, Wei > Sent: Thursday, August 13, 2020 10:15 AM > To: dev@dpdk.org > Cc: stable@dpdk.org; Zhang, Qi Z ; Lu, Nannan > ; Zhao1, Wei > Subject: [PATCH v4] net/ice: fix VF index check for DCF >=20 > The vf index in rte_flow command need to check in order that not larger t= han > actual vf number. Also change some error log for wrong action. >=20 > Fixes: 829c3106812d ("net/ice: enable switch flow on DCF") > Cc: stable@dpdk.org >=20 > Signed-off-by: Wei Zhao > Tested-by: Nannan Lu Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi