From: beilei.xing@intel.com
To: jingjing.wu@intel.com
Cc: dev@dpdk.org, Beilei Xing <beilei.xing@intel.com>
Subject: [PATCH] net/cpfl: release memzone for rxq
Date: Tue, 13 Jun 2023 08:30:17 +0000 [thread overview]
Message-ID: <20230613083017.43290-1-beilei.xing@intel.com> (raw)
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
next reply other threads:[~2023-06-13 8:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-13 8:30 beilei.xing [this message]
2023-06-14 2:54 ` Tang, Yaqi
2023-06-14 5:57 ` Zhang, Qi Z
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230613083017.43290-1-beilei.xing@intel.com \
--to=beilei.xing@intel.com \
--cc=dev@dpdk.org \
--cc=jingjing.wu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).