DPDK patches and discussions
 help / color / mirror / Atom feed
From: Muhammad Bilal <m.bilal@emumba.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] When .remove function (of struct rte_vdev_driver) is called
Date: Sun, 21 Jun 2020 23:32:20 +0500	[thread overview]
Message-ID: <CAOFC0T0457=nkoLumNv3cLW4i+7EK+rBB9EoN7AGo-DKZgzAOA@mail.gmail.com> (raw)
In-Reply-To: <20200621111105.58be69bc@hermes.lan>

Yes, I have used the rte_eal_cleanup() function when application
exits. And still it does not call the .remove function of
rte_vdev_driver structure, used in PMD.

On Sun, Jun 21, 2020 at 11:11 PM Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> 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:32 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
2020-06-21 18:32   ` Muhammad Bilal [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='CAOFC0T0457=nkoLumNv3cLW4i+7EK+rBB9EoN7AGo-DKZgzAOA@mail.gmail.com' \
    --to=m.bilal@emumba.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.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).