[PATCH v2 08/13] common/cnxk: set hysteresis bit to one
Nithin Dabilpuram
ndabilpuram at marvell.com
Thu Oct 13 13:41:51 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 7318f26b57..1cb1fd2101 100644
--- a/drivers/common/cnxk/roc_nix_queue.c
+++ b/drivers/common/cnxk/roc_nix_queue.c
@@ -940,7 +940,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