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 6CEE5A00C2 for ; Fri, 11 Feb 2022 02:08:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A08C411A7; Fri, 11 Feb 2022 02:08:29 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 6C2C24013F; Fri, 11 Feb 2022 02:08:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644541706; x=1676077706; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=TDofnSdYm2JxY6jYxxZt/rp0vxLjL/OEy3xzCnCT4N4=; b=DKOPxO8sd1WanMwpKTWOzymEzFGGhSV9XBOfeaZHBMyHFpg/v1ulQkN6 enM1IpQsQBv27CNZyulUg/aOR+zgY4afEshWabren7adOILkopJIcGDpV wVwN97oEYv5qVHn7hGLEIkx1jyVo8xgbUgTUOifUv5kVmUUy3vx1oV9Eb J7oe4un3hFqMNpiNhSCudGaNumDCsEEu068VoUu7/9XeBisjZPUfRsWDx +xQi0zov8V3I1+24Ey0C2ZcYlcnCozbtv+JsSYJYTJ2dxFaFjLzSMAIEZ sGGVTQlVlCwW1I/jSyP1Q0ToBnzEHQ/aQfuNq+QbRXMpw9AB+eEwImxu/ A==; X-IronPort-AV: E=McAfee;i="6200,9189,10254"; a="249382242" X-IronPort-AV: E=Sophos;i="5.88,359,1635231600"; d="scan'208";a="249382242" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 17:08:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,359,1635231600"; d="scan'208";a="629922287" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga002.fm.intel.com with ESMTP; 10 Feb 2022 17:08:25 -0800 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) 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; Thu, 10 Feb 2022 17:08:24 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 11 Feb 2022 09:08:22 +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; Fri, 11 Feb 2022 09:08:22 +0800 From: "Zhang, Qi Z" To: "Guo, Junfeng" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH v3] net/ice: fix pattern check logic in FDIR Thread-Topic: [PATCH v3] net/ice: fix pattern check logic in FDIR Thread-Index: AQHYHLrdgPOZS6N3HkmobJ0ECGkjjayNjiYg Date: Fri, 11 Feb 2022 01:08:22 +0000 Message-ID: References: <20220208043448.2654636-1-junfeng.guo@intel.com> <20220208070925.2825528-1-junfeng.guo@intel.com> In-Reply-To: <20220208070925.2825528-1-junfeng.guo@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 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 > -----Original Message----- > From: Guo, Junfeng > Sent: Tuesday, February 8, 2022 3:09 PM > To: Zhang, Qi Z ; Wu, Jingjing > ; Xing, Beilei > Cc: dev@dpdk.org; stable@dpdk.org; Guo, Junfeng > Subject: [PATCH v3] net/ice: fix pattern check logic in FDIR >=20 > Mask for IPv4/UDP/TCP/SCTP addr/port are not supported in current code. > Thus we need to check each pattern mask. Only zero-mask and full-mask are > allowed to pass the pattern parse, otherwise will return failure. >=20 > Fixes: 54be6102ef97 ("net/ice: fix pattern check for FDIR parser") > Cc: stable@dpdk.org >=20 > Signed-off-by: Junfeng Guo Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi