From: Luca Boccassi <bluca@debian.org>
To: heinrich.kuhn@corigine.com, stable@dpdk.org
Cc: Simon Horman <simon.horman@corigine.com>
Subject: Re: [PATCH 20.11] net/nfp: free HW rings memzone on queue release
Date: Tue, 22 Feb 2022 14:27:32 +0000 [thread overview]
Message-ID: <8d6e9726a4c193f10455644d693cdb93cb06f4d8.camel@debian.org> (raw)
In-Reply-To: <20220222133727.71291-1-heinrich.kuhn@corigine.com>
On Tue, 2022-02-22 at 15:37 +0200, heinrich.kuhn@corigine.com wrote:
> From: Heinrich Kuhn <heinrich.kuhn@corigine.com>
>
> [upstream commit 15174c40b70dfa89c1d94ff93ae756fae8d471bc]
>
> During rx/tx queue setup, memory is reserved for the hardware rings.
> This memory zone should subsequently be freed in the queue release
> logic. This commit also adds a call to the release logic in the
> dev_close() callback so that the ring memzone may be freed during port
> close too.
>
> Fixes: b812daadad0d ("nfp: add Rx and Tx")
>
> Signed-off-by: Heinrich Kuhn <heinrich.kuhn@corigine.com>
> Signed-off-by: Simon Horman <simon.horman@corigine.com>
> ---
> drivers/net/nfp/nfp_net.c | 16 ++++++++++++++++
> drivers/net/nfp/nfp_net_pmd.h | 6 ++++++
> 2 files changed, 22 insertions(+)
Thanks, applied and pushed.
--
Kind regards,
Luca Boccassi
prev parent reply other threads:[~2022-02-22 14:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-22 13:37 heinrich.kuhn
2022-02-22 14:27 ` Luca Boccassi [this message]
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=8d6e9726a4c193f10455644d693cdb93cb06f4d8.camel@debian.org \
--to=bluca@debian.org \
--cc=heinrich.kuhn@corigine.com \
--cc=simon.horman@corigine.com \
--cc=stable@dpdk.org \
/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).