[PATCH 09/13] common/cnxk: set hysteresis bit to one

Nithin Dabilpuram ndabilpuram at marvell.com
Tue Oct 11 14:01:31 CEST 2022


From: Satha Rao <skoteshwar at marvell.com>

Setting non zero FC_HYST_BITS to reduce mesh traffic on HW.

Signed-off-by: Satha Rao <skoteshwar at marvell.com>
---
 drivers/common/cnxk/roc_nix_queue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/cnxk/roc_nix_queue.c b/drivers/common/cnxk/roc_nix_queue.c
index 7f001efbb0..040b9cc45b 100644
--- a/drivers/common/cnxk/roc_nix_queue.c
+++ b/drivers/common/cnxk/roc_nix_queue.c
@@ -834,7 +834,7 @@ sqb_pool_populate(struct roc_nix *roc_nix, struct roc_nix_sq *sq)
 	else
 		aura.fc_stype = 0x3; /* STSTP */
 	aura.fc_addr = (uint64_t)sq->fc;
-	aura.fc_hyst_bits = 0; /* Store count on all updates */
+	aura.fc_hyst_bits = 1; /* Store count on all updates */
 	rc = roc_npa_pool_create(&sq->aura_handle, blk_sz, nb_sqb_bufs, &aura,
 				 &pool, 0);
 	if (rc)
-- 
2.25.1



More information about the dev mailing list