From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 38B47A0A01 for ; Tue, 5 Jan 2021 13:33:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2BC3E160831; Tue, 5 Jan 2021 13:33:36 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id C6376160822; Tue, 5 Jan 2021 13:33:33 +0100 (CET) IronPort-SDR: fDV4MeEi90QdlRCT46+NxOLxE9k1c7DWIWP4fw/aSQtaOoPpsFFGhgrsSIIxmUFcdr+sWvbrRz uz5wof638nUA== X-IronPort-AV: E=McAfee;i="6000,8403,9854"; a="195628923" X-IronPort-AV: E=Sophos;i="5.78,476,1599548400"; d="scan'208";a="195628923" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2021 04:33:32 -0800 IronPort-SDR: TUiB1rq+37d5FRImJ27+J6yh5SURjgLNsLYTvJ017nBkBBKU3SeJgR6/y+kkQwM7qazpysz0i4 2cl6DwzksoRg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,476,1599548400"; d="scan'208";a="387133197" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga007.jf.intel.com with ESMTP; 05 Jan 2021 04:33:32 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) 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.1713.5; Tue, 5 Jan 2021 04:33:31 -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.1713.5; Tue, 5 Jan 2021 20:33:29 +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.1713.004; Tue, 5 Jan 2021 20:33:29 +0800 From: "Zhang, Qi Z" To: "Guo, Jia" , "Xing, Beilei" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Sun, Chenmin" Thread-Topic: [PATCH v5] net/i40e: fix flex payload rule conflict issue Thread-Index: AQHW4xSBXlu/st33qE2YrWeM5lBg16oY96VQ Date: Tue, 5 Jan 2021 12:33:29 +0000 Message-ID: <16ca5fb8572a4fdc95a7093081e6db51@intel.com> References: <20201229054639.92132-1-beilei.xing@intel.com> <20210105031256.89718-1-beilei.xing@intel.com> <18270964ce4945eab702133903ea5b16@intel.com> In-Reply-To: <18270964ce4945eab702133903ea5b16@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-stable] [PATCH v5] net/i40e: fix flex payload rule conflict issue 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: dev On Behalf Of Guo, Jia > Sent: Tuesday, January 5, 2021 11:40 AM > To: Xing, Beilei ; dev@dpdk.org > Cc: stable@dpdk.org; Sun, Chenmin > Subject: Re: [dpdk-dev] [PATCH v5] net/i40e: fix flex payload rule confli= ct issue >=20 > Acked-by: Jeff Guo >=20 > > -----Original Message----- > > From: Xing, Beilei > > Sent: Tuesday, January 5, 2021 11:13 AM > > To: Guo, Jia ; dev@dpdk.org > > Cc: Xing, Beilei ; stable@dpdk.org; Sun, > > Chenmin > > Subject: [PATCH v5] net/i40e: fix flex payload rule conflict issue > > > > From: Beilei Xing > > > > With the following commands, the second flow can't be created successfu= lly. > > > > 1. flow create 0 ingress pattern eth / ipv4 / udp / > > raw relative is 1 pattern is 0102030405 / end > > actions drop / end > > 2. flow destroy 0 rule 0 > > 3. flow create 0 ingress pattern eth / ipv4 / udp / > > raw relative is 1 pattern is 010203040506 / end > > actions drop / end > > > > The root cause is that a flag for flex pit isn't reset. > > > > Fixes: 6ced3dd72f5f ("net/i40e: support flexible payload parsing for > > FDIR") > > Cc: stable@dpdk.org > > > > Reported-by: Chenmin Sun > > Signed-off-by: Beilei Xing Applied to dpdk-next-net-intel. Thanks Qi