From: Helmut Sim <simhelmut@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] fail to bind '82541GI Gigabit Ethernet Controller' to IGB_UIO driver
Date: Wed, 14 May 2014 17:27:47 +0300 [thread overview]
Message-ID: <CAF8yGaGn_fjhPRYVVy_q5zv4SVpoR9uWKSoNP7atj3NK1Ru0=g@mail.gmail.com> (raw)
Hi,
I am new to dpdk.
I built the dpdk-1.6.0r1 and even was able to compile the apps.
Then I am trying to bind my NIC to the dpdk application:
#modprobe uio
#
#insmod x86_64-default-linuxapp-gcc/kmod/igb_uio.ko
#
# ./tools/pci_unbind.py --status
Network devices using IGB_UIO driver
====================================
<none>
Network devices using kernel driver
===================================
0000:02:00.0 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
if=eth0 drv=r8169 unused=<none> *Active*
0000:05:0c.0 '82541GI Gigabit Ethernet Controller' if=p3p1 drv=e1000
unused=<none> *Active*
0000:05:0d.0 '82541GI Gigabit Ethernet Controller' if=p3p2 drv=e1000
unused=<none>
Other network devices
=====================
<none>
# ./tools/pci_unbind.py --bind=igb_uio 05:0d.0
Error: bind failed for 0000:05:0d.0 - Cannot bind to driver igb_uio
(/sys/bus/pci/drivers/igb_uio/bind)
Error: unbind failed for 0000:05:0d.0 - Cannot open
/sys/bus/pci/drivers//unbind
#
unlike previous cases I went over in this forum, this NIC supposed to be
supported (or maybe i read it incorrectly???):
# cat lib/librte_eal/common/include/rte_pci_dev_ids.h | grep 82541GI
#define E1000_DEV_ID_82541GI 0x1076
#define E1000_DEV_ID_82541GI_LF 0x107C
#define E1000_DEV_ID_82541GI_MOBILE 0x1077
my machine data (i am not using any visualization at the moment):
# uname -a
Linux helmut 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux
any idea why the unbind failes?
Thanks!
next reply other threads:[~2014-05-14 14:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-14 14:27 Helmut Sim [this message]
2014-05-14 14:45 ` Thomas Monjalon
2014-05-14 14:53 ` Helmut Sim
2014-05-14 15:44 ` Helmut Sim
2014-05-15 22:15 ` Thomas Monjalon
2014-05-18 14:07 ` Helmut Sim
2014-05-19 15:12 ` Thomas Monjalon
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='CAF8yGaGn_fjhPRYVVy_q5zv4SVpoR9uWKSoNP7atj3NK1Ru0=g@mail.gmail.com' \
--to=simhelmut@gmail.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).