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 22F8BA034E; Wed, 9 Feb 2022 03:15:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E3232410F3; Wed, 9 Feb 2022 03:15:46 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 5DDEB4067E for ; Wed, 9 Feb 2022 03:15:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644372945; x=1675908945; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=xaRMJrrztw2NUkwypxrHUjSsELjjHz4D6E7nQbspUDY=; b=WpR/MDoGrDjzaVlgegVCgNX4QC26qBgOfLJFOukSBtVd0NnmRoLuFjZ2 ieacbqhId69YnwPvXmHcVf3snRZtG64XWKMDbw0UMHelu5JDqYB3ouJmS scf8h5U2tJdAohkkOzIpIHQvv4gEmGYVr6sxiplA6HFS4ZIxPapCJMIYI tDCWlK9GzhrdPX3pxvENEIPK3oRWZQRfeq5xVpugdB8fZBqK9qO+yOkKU hDxCKTXy+rulopVDYlbxD1p8Yx2HPax+ArhQ7fAbEFA90HriiCh/MOve/ Or1MLi+c615TTPzqQTojyUyO6EpAM+tZt4QqhJ8Hq0/TUaUln6hlDJs/o A==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="309845162" X-IronPort-AV: E=Sophos;i="5.88,354,1635231600"; d="scan'208";a="309845162" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 18:15:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,354,1635231600"; d="scan'208";a="701070425" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga005.jf.intel.com with ESMTP; 08 Feb 2022 18:15:43 -0800 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 8 Feb 2022 18:15:42 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 9 Feb 2022 10:15:40 +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; Wed, 9 Feb 2022 10:15:40 +0800 From: "Zhang, Qi Z" To: "Zhang, Yuying" , "dev@dpdk.org" Subject: RE: [PATCH v3 1/2] net/ice/base: add profile validation on switch filter Thread-Topic: [PATCH v3 1/2] net/ice/base: add profile validation on switch filter Thread-Index: AQHYEopCCqemQahI906WI2xdo8rcpqyKkHSQ Date: Wed, 9 Feb 2022 02:15:40 +0000 Message-ID: References: <20220126155710.911525-1-yuying.zhang@intel.com> In-Reply-To: <20220126155710.911525-1-yuying.zhang@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: 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: Zhang, Yuying > Sent: Wednesday, January 26, 2022 11:57 PM > To: dev@dpdk.org; Zhang, Qi Z > Cc: Zhang, Yuying > Subject: [PATCH v3 1/2] net/ice/base: add profile validation on switch fi= lter >=20 > Profile type was determined without validation when getting switch field > vector bitmap. It caused error when associating profile id with given rec= ipe if > no lookup elements were given. > Add profile validation to check if the profile is existing before getting= bitmap. Added fixline : Fixes: 55744222e6e2 ("net/ice/base: associate recipes by profile type") >=20 > Signed-off-by: Yuying Zhang Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi