DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] free port private data in dev_close callback
@ 2021-01-19 11:56 Heinrich Kuhn
  2021-01-19 11:56 ` [dpdk-dev] [PATCH 1/2] net/nfp: create a separate entity for a NFP PF device Heinrich Kuhn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Heinrich Kuhn @ 2021-01-19 11:56 UTC (permalink / raw)
  To: dev; +Cc: Heinrich Kuhn

The first patch in this series prepares the NFP PMD for the new expected
behavior of the .dev_close() callback function, most recently described
in commit fbd191356148 ("ethdev: remove old close behaviour"). Patch one
makes the needed infrastructure changes to make this possible.

The second patch in the series makes the changes in nfp_net_close to
free the private data of a given port. PF resources are only freed once
all other ports under the PF has also been cleaned up.

Heinrich Kuhn (2):
  net/nfp: create a separate entity for a NFP PF device
  net/nfp: free port private data in dev close callback

 drivers/net/nfp/nfp_net.c     | 604 ++++++++++++++++++----------------
 drivers/net/nfp/nfp_net_pmd.h |  67 +++-
 2 files changed, 390 insertions(+), 281 deletions(-)

-- 
2.30.0


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

end of thread, other threads:[~2021-01-27 22:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 11:56 [dpdk-dev] [PATCH 0/2] free port private data in dev_close callback Heinrich Kuhn
2021-01-19 11:56 ` [dpdk-dev] [PATCH 1/2] net/nfp: create a separate entity for a NFP PF device Heinrich Kuhn
2021-01-19 11:56 ` [dpdk-dev] [PATCH 2/2] net/nfp: free port private data in dev close callback Heinrich Kuhn
2021-01-27 22:45 ` [dpdk-dev] [PATCH 0/2] free port private data in dev_close callback Ferruh Yigit

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