From: "Peters, Matt" <Matt.Peters@windriver.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v2] net/avp: remove resources when port is closed
Date: Fri, 31 May 2019 14:13:45 +0000 [thread overview]
Message-ID: <CDC594423E6E584382202A0DD5728E57BA2F46C9@ALA-MBD.corp.ad.wrs.com> (raw)
In-Reply-To: <20190527170255.30853-1-allain.legacy@windriver.com>
> -----Original Message-----
> From: Legacy, Allain
> Sent: Monday, May 27, 2019 1:03 PM
> To: thomas@monjalon.net
> Cc: dev@dpdk.org; ferruh.yigit@intel.com; Peters, Matt
> Subject: [PATCH v2] net/avp: remove resources when port is closed
>
> The rte_eth_dev_close() function now handles freeing resources for
> devices (e.g., mac_addrs). To conform with the new close() behaviour we
> are asserting the RTE_ETH_DEV_CLOSE_REMOVE flag so that
> rte_eth_dev_close() releases all device level dynamic memory.
>
> Second level memory allocated to each individual rx/tx queue is now
> freed as part of the close() operation therefore making it safe for the
> rte_eth_dev_close() function to free the device private data without
> orphaning the rx/tx queue pointers.
>
> Cc: Matt Peters <matt.peters@windriver.com>
> Signed-off-by: Allain Legacy <allain.legacy@windriver.com>
> ---
Acked-by: Matt Peters <matt.peters@windriver.com>
next prev parent reply other threads:[~2019-05-31 14:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-27 17:02 Allain Legacy
2019-05-31 14:13 ` Peters, Matt [this message]
2019-05-31 15:07 ` Ye Xiaolong
2019-06-05 15:17 ` Ferruh Yigit
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=CDC594423E6E584382202A0DD5728E57BA2F46C9@ALA-MBD.corp.ad.wrs.com \
--to=matt.peters@windriver.com \
--cc=dev@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).