[V2] tests/TestSuite_pvp_virtio_bonding: Adapt dpdk updates
diff mbox series

Message ID 20201026100201.1281654-1-yux.jiang@intel.com
State Accepted
Headers show
Series
  • [V2] tests/TestSuite_pvp_virtio_bonding: Adapt dpdk updates
Related show

Commit Message

Jiang, YuX Oct. 26, 2020, 10:02 a.m. UTC
From: JiangYu <yux.jiang@intel.com>

For DPDK commit: b0b672aea, PMD_BOND has been defined by default, should not redefine.

Signed-off-by: JiangYu <yux.jiang@intel.com>
---
 tests/TestSuite_pvp_virtio_bonding.py | 12 ------------
 1 file changed, 12 deletions(-)

Comments

Jiang, YuX Oct. 26, 2020, 2:13 a.m. UTC | #1
Tested-by: JiangYuX <yux.jiang@intel.com>

    Best Regards
    Jiang yu


> -----Original Message-----
> From: JiangYuX [mailto:yux.jiang@intel.com]
> Sent: Monday, October 26, 2020 6:02 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V2] tests/TestSuite_pvp_virtio_bonding: Adapt dpdk
> updates
Ma, LihongX Oct. 29, 2020, 8:12 a.m. UTC | #2
Acked-by: Lihong Ma<lihongx.ma@intel.com>

Regards,
Ma,lihong

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of JiangYuX
> Sent: Monday, October 26, 2020 6:02 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V2] tests/TestSuite_pvp_virtio_bonding: Adapt dpdk
> updates
> 
> From: JiangYu <yux.jiang@intel.com>
> 
> For DPDK commit: b0b672aea, PMD_BOND has been defined by default, should
> not redefine.
> 
> Signed-off-by: JiangYu <yux.jiang@intel.com>
Tu, Lijuan Nov. 3, 2020, 2:21 a.m. UTC | #3
> > For DPDK commit: b0b672aea, PMD_BOND has been defined by default,
> > should not redefine.
> >
> > Signed-off-by: JiangYu <yux.jiang@intel.com>
> Acked-by: Lihong Ma<lihongx.ma@intel.com>

Applied

Patch
diff mbox series

diff --git a/tests/TestSuite_pvp_virtio_bonding.py b/tests/TestSuite_pvp_virtio_bonding.py
index 10cfe74..e6d0e61 100644
--- a/tests/TestSuite_pvp_virtio_bonding.py
+++ b/tests/TestSuite_pvp_virtio_bonding.py
@@ -210,23 +210,11 @@  class TestPVPVirtIOBonding(TestCase):
                 raise Exception("Set up VM ENV failed")
         except Exception as e:
             self.logger.error("ERROR: Failure for %s" % str(e))
-        if self.dut.build_type == 'meson':
-            self.build_pmd_bond(self.vm_dut)
-
-    def build_pmd_bond(self, user_dut):
-        user_dut.set_build_options({'RTE_LIBRTE_PMD_BOND': 'y'})
-        user_dut.build_install_dpdk(self.target)
-
-    def restore_env(self, user_dut):
-        user_dut.set_build_options({'RTE_LIBRTE_PMD_BOND': 'n'})
-        user_dut.build_install_dpdk(self.target)
 
     def stop_testpmd_and_vm(self):
         """
         quit testpmd on vhost and stop vm
         """
-        if self.dut.build_type == 'meson':
-            self.restore_env(self.vm_dut)
         self.vhost_testpmd.quit()
         self.vm.stop()