From: "Zhao, XinfengX" <xinfengx.zhao@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH] tests: modify the cmd of tester bind driver
Date: Fri, 23 Aug 2019 08:10:52 +0000 [thread overview]
Message-ID: <44051B25D8C8784BB77FFB604D6A70CA1207ED18@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1566518107-57554-1-git-send-email-xinfengx.zhao@intel.com>
Tested-by: Zhao, XinfengX <xinfengx.zhao@intel.com>
-----Original Message-----
From: Zhao, XinfengX
Sent: Friday, August 23, 2019 7:55 AM
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts][PATCH] tests: modify the cmd of tester bind driver
add "--force" in binding command to allow active links to be bind, and modify the bind back cmd
Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
---
tests/TestSuite_vf_port_start_stop.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vf_port_start_stop.py b/tests/TestSuite_vf_port_start_stop.py
index 7cb797b..2ff2d1c 100644
--- a/tests/TestSuite_vf_port_start_stop.py
+++ b/tests/TestSuite_vf_port_start_stop.py
@@ -85,7 +85,7 @@ class TestVfPortStartStop(TestCase):
self.tester_tx_pci = self.tester.ports_info[self.tester_tx_port]['pci']
port = self.tester.ports_info[self.tester_tx_port]['port']
self.tester_port_driver = port.get_nic_driver()
- self.tester.send_expect("./dpdk-devbind.py --bind=igb_uio %s" % self.tester_tx_pci, "#")
+ self.tester.send_expect("./dpdk-devbind.py --force
+ --bind=igb_uio %s" % self.tester_tx_pci, "#")
src_mac = self.tester.get_mac(self.tester_tx_port)
if src_mac == 'N/A':
@@ -245,7 +245,7 @@ class TestVfPortStartStop(TestCase):
self.pktgen_kill()
if getattr(self, 'tester_port_driver', None) and \
getattr(self, 'tester_tx_pci', None):
- self.tester.send_expect("./dpdk_nic_bind.py --bind=%s %s" \
+ self.tester.send_expect("./dpdk-devbind.py --bind=%s %s" \
%(self.tester_port_driver, self.tester_tx_pci), "#")
tx_interface = self.tester.get_interface(self.tester_tx_port)
self.tester.send_expect("ifconfig %s up" % tx_interface, "#")
--
2.17.1
next prev parent reply other threads:[~2019-08-23 8:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-22 23:55 Xinfeng Zhao
2019-08-23 8:10 ` Zhao, XinfengX [this message]
2019-09-04 4:53 ` Tu, Lijuan
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=44051B25D8C8784BB77FFB604D6A70CA1207ED18@shsmsx102.ccr.corp.intel.com \
--to=xinfengx.zhao@intel.com \
--cc=dts@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).