[V1] tests/vhost_pmd_xstats: delete unbind dut port steps

Message ID 20220602023116.1189708-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/vhost_pmd_xstats: delete unbind dut port steps |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Ling, WeiX June 2, 2022, 2:31 a.m. UTC
  Currently, this suite start vhost testpmd with ports parameter,and start 
virtio testpmd with --no-pci parameter, so delete unbind dut port steps.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 tests/TestSuite_vhost_pmd_xstats.py | 3 ---
 1 file changed, 3 deletions(-)
  

Comments

Huang, ChenyuX June 2, 2022, 7:56 a.m. UTC | #1
> -----Original Message-----
> From: Wei Ling <weix.ling@intel.com>
> Sent: Thursday, June 2, 2022 10:31 AM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/vhost_pmd_xstats: delete unbind dut port steps
> 
> Currently, this suite start vhost testpmd with ports parameter,and start virtio
> testpmd with --no-pci parameter, so delete unbind dut port steps.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>
> ---
Tested-by: Chenyu Huang <chenyux.huang@intel.com>
  
He, Xingguang June 2, 2022, 8:04 a.m. UTC | #2
> -----Original Message-----
> From: Wei Ling <weix.ling@intel.com>
> Sent: Thursday, June 2, 2022 10:31 AM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/vhost_pmd_xstats: delete unbind dut port
> steps
> 
> Currently, this suite start vhost testpmd with ports parameter,and start virtio
> testpmd with --no-pci parameter, so delete unbind dut port steps.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>
> ---
Acked-by: Xingguang He<xingguang.he@intel.com>
  
Tu, Lijuan June 15, 2022, 8:36 a.m. UTC | #3
On Wed,  1 Jun 2022 22:31:16 -0400, Wei Ling <weix.ling@intel.com> wrote:
> Currently, this suite start vhost testpmd with ports parameter,and start 
> virtio testpmd with --no-pci parameter, so delete unbind dut port steps.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>


Applied, thanks
  

Patch

diff --git a/tests/TestSuite_vhost_pmd_xstats.py b/tests/TestSuite_vhost_pmd_xstats.py
index 46258924..ec95b7f1 100644
--- a/tests/TestSuite_vhost_pmd_xstats.py
+++ b/tests/TestSuite_vhost_pmd_xstats.py
@@ -29,9 +29,6 @@  class TestVhostPmdXstats(TestCase):
         Run at the start of each test suite.
         """
         self.dut_ports = self.dut.get_ports(self.nic)
-        self.unbind_ports = copy.deepcopy(self.dut_ports)
-        self.unbind_ports.remove(0)
-        self.dut.unbind_interfaces_linux(self.unbind_ports)
         txport = self.tester.get_local_port(self.dut_ports[0])
         self.txItf = self.tester.get_interface(txport)
         self.scapy_num = 0