Re: Issue with binding NIC of type 82545EM to dpdk
From: Ferruh Yigit <hidden>
Date: 2016-03-29 16:26:56
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