[dts] [PATCH V5] tests/port_control:modify vm vf bind default driver

Tu, Lijuan lijuan.tu at intel.com
Fri Feb 21 03:03:24 CET 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Zeng Xiaoxiao
> Sent: Thursday, February 20, 2020 3:19 PM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V5] tests/port_control:modify vm vf bind default driver
> 
> Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
> ---
>  tests/TestSuite_port_control.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_port_control.py b/tests/TestSuite_port_control.py
> index 2b16c82..7af19a5 100644
> --- a/tests/TestSuite_port_control.py
> +++ b/tests/TestSuite_port_control.py
> @@ -156,7 +156,7 @@ class TestPortControl(TestCase):
>          vf_pci = re.findall(r"(\d+.\d+.\d+.\d+)", drive_info.split("kernel")[1])
>          terminal.send_expect("ifconfig %s hw ether %s" % (vf_if[1], self.vf_mac),
> "#")
>          terminal.send_expect("ifconfig %s up" % vf_if[1], "#")
> -        terminal.send_expect("./usertools/dpdk-devbind.py -b %s %s" %
> (self.pf_default_driver, vf_pci[1]), "#")
> +        terminal.send_expect("./usertools/dpdk-devbind.py -b igb_uio
> + %s" % vf_pci[1], "#")
>          cmd = "./%s/app/testpmd -n 1 -w %s -- -i" % (self.target, vf_pci[1])
>          terminal.send_expect(cmd, "testpmd>", 10)
> 
> --
> 1.8.3.1



More information about the dts mailing list