diff mbox series

[28/28] net/ice/base: update Max TCAM/PTG Per Profile

Message ID 20210810025140.1698163-29-qi.z.zhang@intel.com (mailing list archive)
State Accepted
Delegated to: Qi Zhang
Headers show
Series ice: base code update | expand

Checks

Context Check Description
ci/intel-Testing fail Testing issues
ci/Intel-compilation success Compilation OK
ci/iol-x86_64-unit-testing fail Testing issues
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/github-robot-build success github build: passed
ci/checkpatch success coding style OK

Commit Message

Zhang, Qi Z Aug. 10, 2021, 2:51 a.m. UTC
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 <junfeng.guo@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
---
 drivers/net/ice/base/ice_flex_type.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Junfeng Guo Aug. 10, 2021, 4:47 a.m. UTC | #1
> -----Original Message-----
> From: Zhang, Qi Z <qi.z.zhang@intel.com>
> Sent: Tuesday, August 10, 2021 10:52
> To: Yang, Qiming <qiming.yang@intel.com>
> Cc: Guo, Junfeng <junfeng.guo@intel.com>; dev@dpdk.org; Zhang, Qi Z
> <qi.z.zhang@intel.com>
> Subject: [PATCH 28/28] net/ice/base: update Max TCAM/PTG Per Profile
> 
> 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 <junfeng.guo@intel.com>
> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
> ---
>  drivers/net/ice/base/ice_flex_type.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> --
> 2.26.2

Acked-by: Junfeng Guo <junfeng.guo@intel.com>

Regards,
Junfeng Guo
diff mbox series

Patch

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;