[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
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
> -----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>
> -----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>
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
@@ -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