test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/TestSuite_perf_vm2vm_virtio_net_perf: Adapt dpdk changes
  2020-10-27 11:33 [dts] [PATCH V1] tests/TestSuite_perf_vm2vm_virtio_net_perf: Adapt dpdk changes JiangYuX
@ 2020-10-27  3:39 ` Jiang, YuX
  2020-10-29  7:37 ` Ma, LihongX
  1 sibling, 0 replies; 4+ messages in thread
From: Jiang, YuX @ 2020-10-27  3:39 UTC (permalink / raw)
  To: Jiang, YuX, dts

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

Tested-by: JiangYuX <yux.jiang@intel.com>

    Best Regards
    Jiang yu


> -----Original Message-----
> From: JiangYuX [mailto:yux.jiang@intel.com]
> Sent: Tuesday, October 27, 2020 7:33 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_perf_vm2vm_virtio_net_perf:
> Adapt dpdk changes

[-- Attachment #2: TestPerfVM2VMVirtioNetPerf.log --]
[-- Type: application/octet-stream, Size: 505269 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts] [PATCH V1] tests/TestSuite_perf_vm2vm_virtio_net_perf: Adapt dpdk changes
@ 2020-10-27 11:33 JiangYuX
  2020-10-27  3:39 ` Jiang, YuX
  2020-10-29  7:37 ` Ma, LihongX
  0 siblings, 2 replies; 4+ messages in thread
From: JiangYuX @ 2020-10-27 11:33 UTC (permalink / raw)
  To: dts; +Cc: JiangYu

From: JiangYu <yux.jiang@intel.com>

Based on DPDK commit e8a83681f: Enable MEMCPY_AVX512 as before.

Signed-off-by: JiangYu <yux.jiang@intel.com>
---
 tests/TestSuite_perf_vm2vm_virtio_net_perf.py | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tests/TestSuite_perf_vm2vm_virtio_net_perf.py b/tests/TestSuite_perf_vm2vm_virtio_net_perf.py
index 4bf86c5..7116eec 100644
--- a/tests/TestSuite_perf_vm2vm_virtio_net_perf.py
+++ b/tests/TestSuite_perf_vm2vm_virtio_net_perf.py
@@ -76,6 +76,8 @@ class TestPerfVM2VMVirtioNetPerf(TestCase):
         self.json_obj = dict()
         self.save_result_flag = True
         self.path=self.dut.apps_name['test-pmd']
+        if self.dut.build_type == 'meson':
+            self.build_pmd_bond(self.dut)
 
     def set_up(self):
         """
@@ -91,6 +93,13 @@ class TestPerfVM2VMVirtioNetPerf(TestCase):
         self.table_header = ['Mode', 'Type', 'TXD/RXD', 'Throughput', 'Expected Throughput',
                              'Throughput Difference']
 
+    def build_pmd_bond(self, user_dut):
+        user_dut.set_build_options({'RTE_MEMCPY_AVX512': 'y'})
+        user_dut.build_install_dpdk(self.target)
+
+    def restore_env(self, user_dut):
+        user_dut.build_install_dpdk(self.target)
+
     def handle_expected(self):
         """
         Update expected numbers to configurate file: conf/$suite_name.cfg
@@ -364,5 +373,7 @@ class TestPerfVM2VMVirtioNetPerf(TestCase):
         Run after each test suite.
 
         """
+        if self.dut.build_type == 'meson':
+            self.restore_env(self.dut)
         if getattr(self, 'vhost', None):
             self.dut.close_session(self.vhost)
-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/TestSuite_perf_vm2vm_virtio_net_perf: Adapt dpdk changes
  2020-10-27 11:33 [dts] [PATCH V1] tests/TestSuite_perf_vm2vm_virtio_net_perf: Adapt dpdk changes JiangYuX
  2020-10-27  3:39 ` Jiang, YuX
@ 2020-10-29  7:37 ` Ma, LihongX
  2020-11-03  2:22   ` Tu, Lijuan
  1 sibling, 1 reply; 4+ messages in thread
From: Ma, LihongX @ 2020-10-29  7:37 UTC (permalink / raw)
  To: Jiang, YuX, dts; +Cc: Jiang, YuX

Acked-by: Lihong Ma<lihongx.ma@intel.com>

Regards,
Ma,lihong

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of JiangYuX
> Sent: Tuesday, October 27, 2020 7:33 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_perf_vm2vm_virtio_net_perf: Adapt
> dpdk changes
> 
> From: JiangYu <yux.jiang@intel.com>
> 
> Based on DPDK commit e8a83681f: Enable MEMCPY_AVX512 as before.
> 
> Signed-off-by: JiangYu <yux.jiang@intel.com>
> ---


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/TestSuite_perf_vm2vm_virtio_net_perf: Adapt dpdk changes
  2020-10-29  7:37 ` Ma, LihongX
@ 2020-11-03  2:22   ` Tu, Lijuan
  0 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-11-03  2:22 UTC (permalink / raw)
  To: Ma, LihongX, Jiang, YuX, dts; +Cc: Jiang, YuX

> > Based on DPDK commit e8a83681f: Enable MEMCPY_AVX512 as before.
> >
> > Signed-off-by: JiangYu <yux.jiang@intel.com>
> Acked-by: Lihong Ma<lihongx.ma@intel.com>

Applied

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-03  2:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27 11:33 [dts] [PATCH V1] tests/TestSuite_perf_vm2vm_virtio_net_perf: Adapt dpdk changes JiangYuX
2020-10-27  3:39 ` Jiang, YuX
2020-10-29  7:37 ` Ma, LihongX
2020-11-03  2:22   ` Tu, Lijuan

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).