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 55BC9A0C4D; Mon, 6 Sep 2021 03:17:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CE20A40E32; Mon, 6 Sep 2021 03:17:26 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id E3E2F40C35 for ; Mon, 6 Sep 2021 03:17:24 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10098"; a="216697696" X-IronPort-AV: E=Sophos;i="5.85,271,1624345200"; d="scan'208";a="216697696" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2021 18:17:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,271,1624345200"; d="scan'208";a="545879504" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga002.fm.intel.com with ESMTP; 05 Sep 2021 18:17:23 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) 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.2242.12; Sun, 5 Sep 2021 18:17:23 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 6 Sep 2021 09:17:15 +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.012; Mon, 6 Sep 2021 09:17:15 +0800 From: "Zhang, Qi Z" To: "Yu, DapengX" , "Yang, Qiming" CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/ice: enable CVL DCF device reset API Thread-Index: AQHXnvNbEgkMWSRuwk2FNrwHLX88+auWO8sA Date: Mon, 6 Sep 2021 01:17:15 +0000 Message-ID: <4ca19593d45a4ba1900dc5a6c44c49a2@intel.com> References: <20210901052605.829969-1-dapengx.yu@intel.com> In-Reply-To: <20210901052605.829969-1-dapengx.yu@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] net/ice: enable CVL DCF device reset API 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: Yu, DapengX > Sent: Wednesday, September 1, 2021 1:26 PM > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org; Yu, DapengX > Subject: [PATCH] net/ice: enable CVL DCF device reset API >=20 > From: Dapeng Yu >=20 > DCF PMD needs to support rte_eth_dev_reset, the reason is when a DCF > instance is killed, all the flow rules still exists in hardware, when DCF= gets to > reconnect, it already lost the flow context, and if the application wants= to > create new rules, it may fail due to firmware reports rules already exist= . >=20 > The rte_eth_dev_reset API provides a more elegant way for the application= to > reset DCF when reconnect happens. >=20 > Signed-off-by: Dapeng Yu Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi