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 E2B6AA0C54; Tue, 10 Aug 2021 04:51:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 391174120A; Tue, 10 Aug 2021 04:49:44 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 9E3FF41205 for ; Tue, 10 Aug 2021 04:49:42 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10070"; a="202002228" X-IronPort-AV: E=Sophos;i="5.84,309,1620716400"; d="scan'208";a="202002228" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2021 19:49:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,309,1620716400"; d="scan'208";a="483823833" Received: from dpdk51.sh.intel.com ([10.67.111.142]) by fmsmga008.fm.intel.com with ESMTP; 09 Aug 2021 19:49:40 -0700 From: Qi Zhang To: qiming.yang@intel.com Cc: junfeng.guo@intel.com, dev@dpdk.org, Qi Zhang Date: Tue, 10 Aug 2021 10:51:40 +0800 Message-Id: <20210810025140.1698163-29-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210810025140.1698163-1-qi.z.zhang@intel.com> References: <20210810025140.1698163-1-qi.z.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 28/28] net/ice/base: update Max TCAM/PTG Per Profile 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" For GTPoGRE protocol in AVF FDIR/RSS, the number of associated PTGs of one Profile may exceeds the defined ICE_MAX_PTG_PER_PROFILE and ICE_MAX_TCAM_PER_PROFILE. In those cases, some PTGs may be missed, and therefore, the related and received packets will not have hash values. Thus, this patch updated the ICE_MAX_PTG_PER_PROFILE and ICE_MAX_TCAM_PER_PROFILE to a larger number 64. Signed-off-by: Junfeng Guo Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_flex_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/base/ice_flex_type.h b/drivers/net/ice/base/ice_flex_type.h index eb8290713b..247b85a192 100644 --- a/drivers/net/ice/base/ice_flex_type.h +++ b/drivers/net/ice/base/ice_flex_type.h @@ -804,8 +804,8 @@ struct ice_ptg_ptype { u8 ptg; }; -#define ICE_MAX_TCAM_PER_PROFILE 32 -#define ICE_MAX_PTG_PER_PROFILE 32 +#define ICE_MAX_TCAM_PER_PROFILE 64 +#define ICE_MAX_PTG_PER_PROFILE 64 struct ice_prof_map { struct LIST_ENTRY_TYPE list; -- 2.26.2