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 9269DA0093; Sun, 2 Jan 2022 09:29:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 203CB40698; Sun, 2 Jan 2022 09:29:39 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 88CAC4067E; Sun, 2 Jan 2022 09:29:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641112177; x=1672648177; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=zCq9ULmgKgltcGRkI8zOXipG4UZSb/s6kVJImrgHa0g=; b=O5r059i1H1gPC13KWMPzzBZx2W5pa0aEmhd/cH1b2VjxKrDEj/RkD4/h iyXWeeKL3u+o5FXM0B5bRclKjQcESDjyuo9i7dkYpP+3NlOAQ/dIORqbi YFJNAQaj8lIZ+mEmA+0TYvdwv7tPDF1GuW7B0iCuXdp6FvAxKxjh6PXN6 1AdofdsJixfy2I7WL4Nu7d+2sKeKMEHEJMfMoGZvjtLEjmyQi/LY+aatv LTduVgj/EEnfRM2lBsn8LOp8eVYQXCtZjQOnCRXzXcg+fPkb6QYdBgLpK TI7n159G3SKfdiAGSnNjmNMBiQI0SXgzuHO6bRlo/6qtlViH7t1V1arFa g==; X-IronPort-AV: E=McAfee;i="6200,9189,10214"; a="241910042" X-IronPort-AV: E=Sophos;i="5.88,255,1635231600"; d="scan'208";a="241910042" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2022 00:29:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,255,1635231600"; d="scan'208";a="616891786" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga002.fm.intel.com with ESMTP; 02 Jan 2022 00:29:36 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) 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.2308.20; Sun, 2 Jan 2022 00:29:35 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Sun, 2 Jan 2022 16:29:33 +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.2308.020; Sun, 2 Jan 2022 16:29:33 +0800 From: "Zhang, Qi Z" To: "Wang, Haiyue" , "Yu, DapengX" , "Yang, Qiming" CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH v2] net/ice: track the DCF state of PF Thread-Topic: [PATCH v2] net/ice: track the DCF state of PF Thread-Index: AQHX4QsUM7YVips0wUq4IdR2VABGl6wUoAIAgDsDZdA= Date: Sun, 2 Jan 2022 08:29:33 +0000 Message-ID: <7edd7e95717d4394abaa6400c02b837c@intel.com> References: <20211122092913.262886-1-dapengx.yu@intel.com> <20211124081220.367596-1-dapengx.yu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 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 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 > -----Original Message----- > From: Wang, Haiyue > Sent: Friday, November 26, 2021 11:17 AM > To: Yu, DapengX ; Yang, Qiming > ; Zhang, Qi Z > Cc: dev@dpdk.org; stable@dpdk.org > Subject: RE: [PATCH v2] net/ice: track the DCF state of PF >=20 > > -----Original Message----- > > From: Yu, DapengX > > Sent: Wednesday, November 24, 2021 16:12 > > To: Yang, Qiming ; Zhang, Qi Z > > > > Cc: dev@dpdk.org; Wang, Haiyue ; Yu, DapengX > > ; stable@dpdk.org > > Subject: [PATCH v2] net/ice: track the DCF state of PF > > > > From: Dapeng Yu > > > > When VF is reset, PF will change DCF state from ON to other state, if > > flow creation, destroy, or redirect command is sent to DCF at this > > time, it will fail. > > > > This patch tracks DCF state and returns try-again error to caller when > > DCF state is not ON. > > > > Cc: stable@dpdk.org > > > > Signed-off-by: Dapeng Yu > > --- > > V2: > > * Move DCF state flag to another position > > --- > > drivers/net/ice/ice_dcf_ethdev.c | 12 ++++++++ > > drivers/net/ice/ice_dcf_ethdev.h | 1 + > > drivers/net/ice/ice_dcf_parent.c | 16 +++++++--- > > drivers/net/ice/ice_ethdev.h | 2 ++ > > drivers/net/ice/ice_generic_flow.c | 4 ++- > > drivers/net/ice/ice_switch_filter.c | 45 +++++++++++++++++++++++++++-- > > 6 files changed, 73 insertions(+), 7 deletions(-) > > >=20 > LGTM, >=20 > Acked-by: Haiyue Wang Applied to dpdk-next-net-intel. Thanks Qi >=20 > > -- > > 2.27.0 >=20