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 B4618A0548 for ; Thu, 4 Nov 2021 12:12:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A82DB411A4; Thu, 4 Nov 2021 12:12:54 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 7DB3E411A4; Thu, 4 Nov 2021 12:12:53 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10157"; a="229140439" X-IronPort-AV: E=Sophos;i="5.87,208,1631602800"; d="scan'208";a="229140439" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2021 04:12:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,208,1631602800"; d="scan'208";a="468427306" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga002.jf.intel.com with ESMTP; 04 Nov 2021 04:12:51 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 4 Nov 2021 04:12:50 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 4 Nov 2021 19:12:48 +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; Thu, 4 Nov 2021 19:12:48 +0800 From: "Zhang, Qi Z" To: "Yu, DapengX" , "Yang, Qiming" CC: "dev@dpdk.org" , "Wang, Haiyue" , "stable@dpdk.org" Thread-Topic: [PATCH v4 2/2] net/ice: fix flow redirect failure Thread-Index: AQHX0VhiL8vm2jWKCkKgpJmi4NRxmavzNrOw Date: Thu, 4 Nov 2021 11:12:48 +0000 Message-ID: <8ae52f75b92e4ab3a0e11656f0a69881@intel.com> References: <20211104081739.1540725-1-dapengx.yu@intel.com> <20211104084535.1552536-1-dapengx.yu@intel.com> <20211104084535.1552536-2-dapengx.yu@intel.com> In-Reply-To: <20211104084535.1552536-2-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.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 Subject: Re: [dpdk-stable] [PATCH v4 2/2] net/ice: fix flow redirect failure 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: Yu, DapengX > Sent: Thursday, November 4, 2021 4:46 PM > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org; Wang, Haiyue ; Yu, DapengX > ; stable@dpdk.org > Subject: [PATCH v4 2/2] net/ice: fix flow redirect failure >=20 > From: Dapeng Yu >=20 > It's possible that a switch rule can't be redirect successfully due to ke= rnel > driver is busy to handle an ongoing VF reset, so the redirect action need= to be > deferred into next redirect request which is promised by kernel driver af= ter VF > reset done. >=20 > This patch uses the saved flow rule's data to replay switch rule remove/a= dd > during next flow redirect. >=20 > Fixes: 397b4b3c5095 ("net/ice: enable flow redirect on switch") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dapeng Yu Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi