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 BDBC4A0C50; Mon, 2 Aug 2021 04:01:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49A7D40143; Mon, 2 Aug 2021 04:01:12 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 3C8C240140 for ; Mon, 2 Aug 2021 04:01:11 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10063"; a="193649717" X-IronPort-AV: E=Sophos;i="5.84,287,1620716400"; d="scan'208";a="193649717" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2021 19:01:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,287,1620716400"; d="scan'208";a="636068308" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga005.jf.intel.com with ESMTP; 01 Aug 2021 19:01:09 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) 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.2242.10; Sun, 1 Aug 2021 19:01:08 -0700 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.2242.10; Mon, 2 Aug 2021 10:01:07 +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.010; Mon, 2 Aug 2021 10:01:07 +0800 From: "Zhang, Qi Z" To: "Su, Simei" CC: "dev@dpdk.org" , "Ding, Xuan" , "Wu, Wenjun1" Thread-Topic: [PATCH] net/ice: fix max entry number for ACL normal priority Thread-Index: AQHXg1k2S2JgWsA5uEiw8Fub7I+Jyatfe/lw Date: Mon, 2 Aug 2021 02:01:06 +0000 Message-ID: <08cb448c54ec4a2baea1799215725a1a@intel.com> References: <20210728022429.237010-1-simei.su@intel.com> In-Reply-To: <20210728022429.237010-1-simei.su@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: fix max entry number for ACL normal priority 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: Su, Simei > Sent: Wednesday, July 28, 2021 10:24 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Ding, Xuan ; Wu, Wenjun1 > ; Su, Simei > Subject: [PATCH] net/ice: fix max entry number for ACL normal priority >=20 > For ACL, there are three entry priorities: LOW, NORMAL, HIGH. > Low priority starts from the highest index, 25% of total entries; Normal = priority > starts from the highest index, 50% of total entries; High priority starts= from the > lowest index, 25% of total entries. >=20 > Each TCAM block has 512 entries of 40 bits. Currently, there is a scenari= o in > which multiple TCAM blocks are cascaded. It means the total entries are 5= 12. > The default priority is NORMAL, so the max entry is 256, not 512. This pa= tch > changes the max entry number for NORMAL priority. >=20 > Fixes: 40d466fa9f76 ("net/ice: support ACL filter in DCF") >=20 > Signed-off-by: Simei Su Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi