DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] common/cnxk: explicitly clear aura bp ena on cleanup
@ 2023-08-22 17:30 Ashwin Sekhar T K
  2023-08-24 12:16 ` Jerin Jacob
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ashwin Sekhar T K @ 2023-08-22 17:30 UTC (permalink / raw)
  To: dev, Nithin Dabilpuram, Kiran Kumar K, Sunil Kumar Kori, Satha Rao
  Cc: jerinj, pbhagavatula, psatheesh, asekhar, anoobj, gakhil, hkalra

As done in FLR, similar to CQ disable, in process of
aura disable we needs explicitly clear BP_ENA in order to
deassert backpressure if it was earlier asserted.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>
---
 drivers/common/cnxk/roc_npa.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/common/cnxk/roc_npa.c b/drivers/common/cnxk/roc_npa.c
index 3b9a70028b..20801739dc 100644
--- a/drivers/common/cnxk/roc_npa.c
+++ b/drivers/common/cnxk/roc_npa.c
@@ -185,6 +185,8 @@ npa_aura_pool_fini(struct mbox *m_box, uint32_t aura_id, uint64_t aura_handle)
 	aura_req->op = NPA_AQ_INSTOP_WRITE;
 	aura_req->aura.ena = 0;
 	aura_req->aura_mask.ena = ~aura_req->aura_mask.ena;
+	aura_req->aura.bp_ena = 0;
+	aura_req->aura_mask.bp_ena = ~aura_req->aura_mask.bp_ena;
 
 	rc = mbox_process(mbox);
 	if (rc < 0)
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-25  5:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-22 17:30 [PATCH] common/cnxk: explicitly clear aura bp ena on cleanup Ashwin Sekhar T K
2023-08-24 12:16 ` Jerin Jacob
2023-08-25  3:53 ` [PATCH] common/cnxk: fix bp_ena clearing during pool tear down Ashwin Sekhar T K
2023-08-25  3:57 ` [PATCH v2] common/cnxk: fix bp_ena clear while disabling aura Ashwin Sekhar T K
2023-08-25  5:52   ` Jerin Jacob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).