From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id 8CB47B0B4 for ; Wed, 18 Jun 2014 13:01:31 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 18 Jun 2014 04:01:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,499,1400050800"; d="scan'208";a="446969210" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by azsmga001.ch.intel.com with ESMTP; 18 Jun 2014 04:01:17 -0700 Received: from irsmsx153.ger.corp.intel.com (163.33.192.75) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 18 Jun 2014 12:01:17 +0100 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.245]) by IRSMSX153.ger.corp.intel.com ([169.254.9.252]) with mapi id 14.03.0123.003; Wed, 18 Jun 2014 12:01:16 +0100 From: "Burakov, Anatoly" To: "Richardson, Bruce" , "dev@dpdk.org" Thread-Topic: vfio detection Thread-Index: Ac+Jr+QsX/7njye/SDa+CSH3FJFocAAVxw1QABBHEgAAJwYCMA== Date: Wed, 18 Jun 2014 11:01:15 +0000 Message-ID: References: <59AF69C657FD0841A61C55336867B5B01AA36B6E@IRSMSX103.ger.corp.intel.com> <59AF69C657FD0841A61C55336867B5B01AA370A7@IRSMSX103.ger.corp.intel.com> In-Reply-To: <59AF69C657FD0841A61C55336867B5B01AA370A7@IRSMSX103.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] vfio detection X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2014 11:01:32 -0000 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. >=20 > 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_io= mmu_type1 (support for x86-style IOMMU) and vfio-pci (the generic PCI drive= r). 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. Best regards, Anatoly Burakov DPDK SW Engineer