From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: Issue with binding NIC of type 82545EM to dpdk Date: Tue, 29 Mar 2016 17:26:53 +0100 Message-ID: <56FAACCD.6020909@intel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Al Patel , "dev@dpdk.org" Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 75A3F567E for ; Tue, 29 Mar 2016 18:26:56 +0200 (CEST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 3/29/2016 3:11 PM, Al Patel wrote: > Hi, > > I am having an issue with binding a nic of type 82545EM to dpdk. I am using > a > fedoracore23 VM on MAC with VMFusion. > > ./dpdk_nic_bind.py -b uio_pci_generic 0000:02:02.0 > Error: bind failed for 0000:02:02.0 - Cannot bind to driver uio_pci_generic > Error: unbind failed for 0000:02:02.0 - Cannot open > /sys/bus/pci/drivers//unbind > > it is unbound from e1000, repeating the command: > > ./dpdk_nic_bind.py -b uio_pci_generic 0000:02:02.0 > Error: bind failed for 0000:02:02.0 - Cannot bind to driver uio_pci_generic > > I repeated the same test on a ubuntu vm running on Virtualbox with > NIC type 82450EM > > In this case, the device is able to bind successfully to uio_pci_generic > driver. > > There is a igb_uio module that present. The device cannot be bound to the > igb_uio > driver. Hi Al, You are trying to bind to the driver "uio_pci_generic" not to the "igb_uio", is it typo? If not, can you please double check if "uio_pci_generic" module inserted. Or bind device to "igb_uio": "./dpdk_nic_bind.py -b igb_uio 0000:02:02.0" Regards, ferruh