Skip to contentSkip to conversation

net/cpfl: release memzone for rxq

PATCH Applied [email protected] 3 participants 3 messages Jun 13, 2023 – Jun 14, 2023 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/cpfl: release memzone for rxq

From: Beilei Xing <[email protected]>

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

Fixes c3f4af354506 ("net/cpfl: refine structures")
---
 drivers/net/cpfl/cpfl_rxtx.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/cpfl/cpfl_rxtx.c +1 -0
index 9d278dca54..2ef6871a85 100644
@@ -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;
 	}
Signature · 1 line
2.26.2
Tested-by on v1 1/1
#1 lore raw
Quoted 8 lines

-----Original Message-----
From: [email protected] <[email protected]>
Sent: Tuesday, June 13, 2023 4:30 PM
To: Wu, Jingjing <[email protected]>
Cc: [email protected]; Xing, Beilei <[email protected]>
Subject: [PATCH] net/cpfl: release memzone for rxq

Quoted 8 lines

From: Beilei Xing <[email protected]>

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

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

---

Verified and passed.

Applied
#2 lore raw
Quoted 21 lines

-----Original Message-----
From: Tang, Yaqi <[email protected]>
Sent: Wednesday, June 14, 2023 10:55 AM
To: Xing, Beilei <[email protected]>; Wu, Jingjing <[email protected]>
Cc: [email protected]; Xing, Beilei <[email protected]>
Subject: RE: [PATCH] net/cpfl: release memzone for rxq

Quoted 11 lines

-----Original Message-----
From: [email protected] <[email protected]>
Sent: Tuesday, June 13, 2023 4:30 PM
To: Wu, Jingjing <[email protected]>
Cc: [email protected]; Xing, Beilei <[email protected]>
Subject: [PATCH] net/cpfl: release memzone for rxq

From: Beilei Xing <[email protected]>

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

Quoted 8 lines
Quoted 4 lines
Fixes c3f4af354506 ("net/cpfl: refine structures")

---

Verified and passed.

Applied to dpdk-next-net-intel.

Thanks
Qi