test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Zhao, XinfengX" <xinfengx.zhao@intel.com>,
	"dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhao, XinfengX" <xinfengx.zhao@intel.com>
Subject: Re: [dts] [PATCH] tests: modify the cmd of tester bind driver
Date: Wed, 4 Sep 2019 04:53:03 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB1ADB3@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1566518107-57554-1-git-send-email-xinfengx.zhao@intel.com>

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xinfeng Zhao
> 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


      parent reply	other threads:[~2019-09-04  4:53 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
2019-09-04  4:53 ` Tu, Lijuan [this message]

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=8CE3E05A3F976642AAB0F4675D0AD20E0BB1ADB3@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=xinfengx.zhao@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).