DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] IGB_UIO port unbinding
Date: Mon, 14 Apr 2014 15:40:59 +0000	[thread overview]
Message-ID: <C6ECDF3AB251BE4894318F4E451236975927EEF8@IRSMSX101.ger.corp.intel.com> (raw)
In-Reply-To: <20140414083303.09cb43ed@nehalam.linuxnetplumber.net>

Hi Stephen,
 
> The problem is that doing the initialization requires duplicating all the logic to
> probe the PCI bus and do blacklisting etc in the startup application.

Not quite sure what you're referring to here, could you please elaborate a bit more? If you mean the EAL PCI probing and blacklisting/whitelisting, then yes - we have to do it, but this is out of necessity more than anything else - there's no way around that since DPDK is using userspace drivers. DPDK doesn't require to bind/unbind kernel drivers in the EAL however - there is already a way to do that that doesn't involve EAL-side logic. EAL simply checks if a particular PCI device is bound to a certain driver and if it's blacklisted (in other words, EAL checks if it is able to use the device, but doesn't try to modify the environment).

Best regards,
Anatoly Burakov
DPDK SW Engineer

--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

      reply	other threads:[~2014-04-14 15:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-10  9:39 Burakov, Anatoly
2014-04-10 11:39 ` Thomas Monjalon
2014-04-10 16:04   ` Prashant Upadhyaya
2014-04-11  8:43     ` Thomas Monjalon
2014-04-11  8:59     ` Burakov, Anatoly
2014-04-11  9:06       ` Prashant Upadhyaya
2014-04-11  9:19         ` Burakov, Anatoly
2014-04-11 16:24 ` Stephen Hemminger
2014-04-14  8:57   ` Burakov, Anatoly
2014-04-14 15:33     ` Stephen Hemminger
2014-04-14 15:40       ` Burakov, Anatoly [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=C6ECDF3AB251BE4894318F4E451236975927EEF8@IRSMSX101.ger.corp.intel.com \
    --to=anatoly.burakov@intel.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).