DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Issue with binding NIC of type 82545EM to dpdk
@ 2016-03-29 14:11 Al Patel
  2016-03-29 16:26 ` Ferruh Yigit
  0 siblings, 1 reply; 5+ messages in thread
From: Al Patel @ 2016-03-29 14:11 UTC (permalink / raw)
  To: dev, Al Patel

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.

My question is that why is the device being able to be bound to
uio_pci_generic driver on ubuntu and not on fedoracore? (Albeit on fedora
device is 82545EM and on ubuntu it is 82540EM). Both these are reported as
tested by Intel:

• Emulated Intel® 82540EM Gigabit Ethernet Controller [8086:100e]
• Emulated Intel® 82545EM Gigabit Ethernet Controller [8086:100f]
http://www.intel.com/content/dam/www/public/us/en/documents/release-notes/dpdk-release-notes.pdf

Are there any debugs to collect that can shed some light?


Details:

# lspci -v -s 02:02.0
02:02.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet
Controller (Copper) (rev 01)
DeviceName: Ethernet1
Subsystem: VMware PRO/1000 MT Single Port Adapter
Physical Slot: 34
Flags: 66MHz, medium devsel
Memory at fd5a0000 (64-bit, non-prefetchable) [size=128K]
Memory at fdfe0000 (64-bit, non-prefetchable) [size=64K]
I/O ports at 2040 [size=64]
[virtual] Expansion ROM at fd510000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Capabilities: [e4] PCI-X non-bridge device
Kernel modules: e1000

Thx
-a

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-30 12:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-29 14:11 [dpdk-dev] Issue with binding NIC of type 82545EM to dpdk Al Patel
2016-03-29 16:26 ` Ferruh Yigit
2016-03-29 17:14   ` Al Patel
2016-03-30  0:51     ` Lu, Wenzhuo
2016-03-30 12:59       ` Al Patel

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).