DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Muhammad Bilal <m.bilal@emumba.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] When .remove function (of struct rte_vdev_driver) is called
Date: Sun, 21 Jun 2020 11:11:05 -0700	[thread overview]
Message-ID: <20200621111105.58be69bc@hermes.lan> (raw)
In-Reply-To: <CAOFC0T0-FQn7JC6GEKuxSYPXR7+1P0sC=vtrKZK-RF8_najwng@mail.gmail.com>

On Sun, 21 Jun 2020 18:17:09 +0500
Muhammad Bilal <m.bilal@emumba.com> wrote:

> While working on applications(l2fwd, testpmd) with PMD(memif, Tun|Tap
> and some other) I have noticed that the .probe function of
> rte_vdev_driver structure is called in rte_eal_init() and .remove
> function of rte_vdev_driver structure is NEVER called, even after
> exiting the application.
> 
> My Question is How/When .remove function of rte_vdev_driver structure is called.
> 
> Thanks,
> M. Bilal

Does application call rte_eal_cleanup on exit?

  reply	other threads:[~2020-06-21 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-21 13:17 Muhammad Bilal
2020-06-21 18:11 ` Stephen Hemminger [this message]
2020-06-21 18:32   ` Muhammad Bilal

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=20200621111105.58be69bc@hermes.lan \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=m.bilal@emumba.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).