DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Richardson, Bruce" <bruce.richardson@intel.com>
To: "Burakov, Anatoly" <anatoly.burakov@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] vfio detection
Date: Wed, 18 Jun 2014 16:18:27 +0000	[thread overview]
Message-ID: <59AF69C657FD0841A61C55336867B5B01AA37A14@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <C6ECDF3AB251BE4894318F4E451236976CC9CCDC@IRSMSX101.ger.corp.intel.com>

> -----Original Message-----
> From: Burakov, Anatoly
> Sent: Wednesday, June 18, 2014 4:01 AM
> To: Richardson, Bruce; dev@dpdk.org
> Subject: RE: vfio detection
> 
> Hi Bruce,
> 
> > > > I have a number of NIC ports which were working correctly yesterday
> > > > and are bound correctly to the igb_uio driver - and I want to keep
> > > > using them through the igb_uio driver for now, not vfio. However,
> > > > whenever I run a dpdk application today, I find that the vfio kernel
> > > > module is getting loaded each time - even after I manually remove
> > > > it, and verify that it has been removed by checking lsmod. Is this
> > > > expected? If so, why are we loading the vfio driver when I just want to
> > continue using igb_uio which works fine?
> > >
> > > Can you elaborate a bit on what do you mean by "loading vfio driver"?
> > > Do you mean the vfio-pci kernel gets loaded by DPDK? I certainly
> > > didn't put in any code that would automatically load that driver, and
> > certainly not binding devices to it.
> >
> > The kernel module called just "vfio" is constantly getting reloaded, and there
> > is always a "/dev/vfio" directory, which triggers the vfio code handling every
> > time I run dpdk.
> 
> I can't reproduce this.
> 
> Please note that VFIO actually consists of three drivers (on an x86 system, that
> is) - vfio (the core VFIO infrastructure such as containers), vfio_iommu_type1
> (support for x86-style IOMMU) and vfio-pci (the generic PCI driver). I have
> unloaded all three and ran dpdk_nic_bind and testpmd - it worked fine and no
> VFIO kernel drivers were loaded as a result.
> 
Ok, maybe a one-off. The proposed patches to dpdk to improve the detection of vfio fix the real issue for me anyway, so I'm no longer concerned.

      reply	other threads:[~2014-06-18 16:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-16 22:24 Richardson, Bruce
2014-06-17  8:40 ` Burakov, Anatoly
2014-06-17 16:28   ` Richardson, Bruce
2014-06-17 16:36     ` Thomas Monjalon
2014-06-17 16:38       ` Richardson, Bruce
2014-06-17 16:38     ` Richardson, Bruce
2014-06-17 17:41       ` Neil Horman
2014-06-17 17:45         ` Richardson, Bruce
2014-06-17 18:43           ` Neil Horman
2014-06-18 11:01     ` Burakov, Anatoly
2014-06-18 16:18       ` Richardson, Bruce [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=59AF69C657FD0841A61C55336867B5B01AA37A14@IRSMSX103.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=dev@dpdk.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).