DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/cpfl: release memzone for rxq
@ 2023-06-13  8:30 beilei.xing
  2023-06-14  2:54 ` Tang, Yaqi
  0 siblings, 1 reply; 3+ messages in thread
From: beilei.xing @ 2023-06-13  8:30 UTC (permalink / raw)
  To: jingjing.wu; +Cc: dev, Beilei Xing

From: Beilei Xing <beilei.xing@intel.com>

Memzone of split Rx queue is not released, this commit fixes
this issue.

Fixes: c3f4af354506 ("net/cpfl: refine structures")

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
---
 drivers/net/cpfl/cpfl_rxtx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/cpfl/cpfl_rxtx.c b/drivers/net/cpfl/cpfl_rxtx.c
index 9d278dca54..2ef6871a85 100644
--- a/drivers/net/cpfl/cpfl_rxtx.c
+++ b/drivers/net/cpfl/cpfl_rxtx.c
@@ -304,6 +304,7 @@ cpfl_rx_queue_release(void *rxq)
 		if (q->bufq1)
 			cpfl_rx_split_bufq_release(q->bufq1);
 
+		rte_memzone_free(q->mz);
 		rte_free(cpfl_rxq);
 		return;
 	}
-- 
2.26.2


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

end of thread, other threads:[~2023-06-14  5:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-13  8:30 [PATCH] net/cpfl: release memzone for rxq beilei.xing
2023-06-14  2:54 ` Tang, Yaqi
2023-06-14  5:57   ` Zhang, Qi Z

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).