DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: "Huang, Wei" <wei.huang@intel.com>,
	"Zhang, Tianfei" <tianfei.zhang@intel.com>,
	"Xu, Rosen" <rosen.xu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, Ray Kinsella <mdr@ashroe.eu>
Subject: Re: [PATCH] doc: announce some raw/ifpga API removal
Date: Thu, 7 Jul 2022 11:29:41 +0200	[thread overview]
Message-ID: <CAJFAV8xJHAy4cAeNv1gpN6oZ0DJBQGRCHbA9Xo1E+qSyKEjpEg@mail.gmail.com> (raw)
In-Reply-To: <CAJFAV8yEB5yST2CR08XfHQBHwb4q=AcSb6Z0TK3riHggGzNtpQ@mail.gmail.com>

On Fri, Jul 1, 2022 at 10:35 AM David Marchand
<david.marchand@redhat.com> wrote:
> > > > > > Can't this application use rte_dev_remove and rte_dev_probe?
> > > > > > If not, we should add the missing parts in the API.
> > > > > >
> > > > > Both rte_dev_remove and rte_dev_probe need rte_device pointer. In
> > > > > this application, it only know the device's PCI address, is there an existing API
> > > to get the rte_pci_device pointer by its PCI address ?
> > > >
> > > > rte_dev_probe takes a devargs string as input.
> > > > int rte_dev_probe(const char *devargs);
> > > >
> > > > You need the rte_device for removing which can be retrieved from
> > > > rte_rawdev_info_get.
> > >
> > > Additionnaly, rte_eal_hotplug_{add,remove} do the same jobs, but with an
> > > easier(?) interface.
> > >
> > >
> > I checked rte_eal_hotplug_{add,remove}, they should meet my requirements, thanks a lot.
>
> Cool, thanks.

So it seems there is nothing blocking for this API change.
Could you ack the deprecation notice?

Thanks.

-- 
David Marchand


  reply	other threads:[~2022-07-07  9:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-30  9:41 David Marchand
2022-07-01  6:15 ` Xu, Rosen
2022-07-01  6:25   ` Huang, Wei
2022-07-01  7:00     ` David Marchand
2022-07-01  7:16       ` Huang, Wei
2022-07-01  7:21         ` David Marchand
2022-07-01  8:02           ` Huang, Wei
2022-07-01  8:09             ` David Marchand
2022-07-01  8:14               ` David Marchand
2022-07-01  8:32                 ` Huang, Wei
2022-07-01  8:35                   ` David Marchand
2022-07-07  9:29                     ` David Marchand [this message]
2022-07-07  9:34                       ` Huang, Wei
2022-07-12 14:24 ` Thomas Monjalon
2022-07-12 15:33 ` Maxime Coquelin
2022-07-16 16:56 ` Thomas Monjalon

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=CAJFAV8xJHAy4cAeNv1gpN6oZ0DJBQGRCHbA9Xo1E+qSyKEjpEg@mail.gmail.com \
    --to=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=mdr@ashroe.eu \
    --cc=rosen.xu@intel.com \
    --cc=tianfei.zhang@intel.com \
    --cc=wei.huang@intel.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).