[PATCH 15/15] common/cnxk: enable SDP channel backpressure to TL4
Nithin Dabilpuram
ndabilpuram at marvell.com
Fri Mar 3 09:10:13 CET 2023
From: Veerasenareddy Burru <vburru at marvell.com>
Configure TL4 to respond to SDP channel backpressure.
Signed-off-by: Veerasenareddy Burru <vburru at marvell.com>
---
drivers/common/cnxk/roc_nix_tm_utils.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/common/cnxk/roc_nix_tm_utils.c b/drivers/common/cnxk/roc_nix_tm_utils.c
index a7ba2bf027..5864833109 100644
--- a/drivers/common/cnxk/roc_nix_tm_utils.c
+++ b/drivers/common/cnxk/roc_nix_tm_utils.c
@@ -582,8 +582,12 @@ nix_tm_topology_reg_prep(struct nix *nix, struct nix_tm_node *node,
/* Configure TL4 to send to SDP channel instead of CGX/LBK */
if (nix->sdp_link) {
+ plt_tm_dbg("relchan=%u schq=%u tx_chan_cnt=%u\n", relchan, schq,
+ nix->tx_chan_cnt);
reg[k] = NIX_AF_TL4X_SDP_LINK_CFG(schq);
regval[k] = BIT_ULL(12);
+ regval[k] |= BIT_ULL(13);
+ regval[k] |= relchan;
k++;
}
break;
--
2.25.1
More information about the dev
mailing list