From: "Tu, LijuanX A" <lijuanx.a.tu@intel.com>
To: "gprathyusha@caviumnetworks.com" <gprathyusha@caviumnetworks.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
"Chen, WeichunX" <weichunx.chen@intel.com>,
"Liu, Yu Y" <yu.y.liu@intel.com>,
"Xu, Qian Q" <qian.q.xu@intel.com>,
"Liu, Yong" <yong.liu@intel.com>,
"Lu, PeipeiX" <peipeix.lu@intel.com>
Subject: [dpdk-dev] dpdk-devbind can't be used misc with kernel tools
Date: Wed, 26 Apr 2017 06:19:55 +0000 [thread overview]
Message-ID: <38D041F150D4184C8114E499040E62343DBC1438@SHSMSX103.ccr.corp.intel.com> (raw)
Hi Guduri,
I am a tester from intel dpdk team. I get a issues on usertools/dpdk-devbind.py
With the usertools/dpdk-devbind.py , I can't bind driver as expect.
I use the "dpdk-devbind.py" bind pci to igb_uio, then I using kernel tools bind pci to ixgbe,
I can bind pci to igb_uio successfully ,but it bind back to ixgbe failed..
Bind pci to igb_uio and then bind to ixgbe ,both use "dpdk-devbind.py", it works well.
Could you . have a look at this as soon as possible ,it block the daily regression test.
Thank you very much.
There are my test env and steps:
dpdk commit eba33e87ad37626604be7186e746751f99691084
Components: usertools/dpdk-devbind.py
kernel: 4.8.6-300.fc25.x86_64
driver: ixgbe
version: 5.0.4
firmware-version: 0x61bf0001
Expect: we can use dpdk-devbind.py to bind or unbind PCI-device, we also can use kernel tools to bind or unbind PCI-device, such as :
steps:
# ./dpdk-devbind.py --bind=igb_uio 0000:05:00.0
status:
0000:05:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' drv=igb_uio unused=
# echo "8086 10fd" >/sys/bus/pci/drivers/ixgbe/new_id
# echo "0000:05:00.0" >/sys/bus/pci/devices/0000\:05\:00.0/driver/unbind
# echo "0000:05:00.0" >/sys/bus/pci/drivers/ixgbe/
# echo "0000:05:00.0" >/sys/bus/pci/drivers/ixgbe/bind
-bash: echo: write error: No such device
status
0000:05:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' unused=ixgbe,igb_uio
Result:
It can't bind to ixgbe, expect it can bind to ixgbe.
I think the related commit are ::
commit 2fc3502935700243d9a6d903166e6fd11e429843
Author: Guduri Prathyusha <gprathyusha@caviumnetworks.com>
Date: Wed Mar 22 19:41:29 2017 +0530
usertools: use optimized driver override scheme to bind
commit c3ce205d5729867bd1c4c4429a80e01a528d5905
Author: Guduri Prathyusha <gprathyusha@caviumnetworks.com>
Date: Wed Mar 22 19:41:28 2017 +0530
usertools: optimize lspci invocation
next reply other threads:[~2017-04-26 6:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-26 6:19 Tu, LijuanX A [this message]
2017-04-26 9:26 ` Prathyusha, Guduri
2017-04-27 6:42 ` Tu, LijuanX A
2017-04-27 7:16 ` Tu, LijuanX A
2017-04-27 7:30 ` Prathyusha, Guduri
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=38D041F150D4184C8114E499040E62343DBC1438@SHSMSX103.ccr.corp.intel.com \
--to=lijuanx.a.tu@intel.com \
--cc=dev@dpdk.org \
--cc=gprathyusha@caviumnetworks.com \
--cc=peipeix.lu@intel.com \
--cc=qian.q.xu@intel.com \
--cc=weichunx.chen@intel.com \
--cc=yong.liu@intel.com \
--cc=yu.y.liu@intel.com \
/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).