test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get better performance in vm
@ 2020-06-12  9:13 Xiao Qimai
  2020-06-12  9:23 ` Xiao, QimaiX
  2020-06-19  6:19 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xiao Qimai @ 2020-06-12  9:13 UTC (permalink / raw)
  To: dts; +Cc: Xiao Qimai

Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
 tests/TestSuite_vhost_dequeue_zero_copy.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/TestSuite_vhost_dequeue_zero_copy.py b/tests/TestSuite_vhost_dequeue_zero_copy.py
index 8beb1ba..0779edc 100644
--- a/tests/TestSuite_vhost_dequeue_zero_copy.py
+++ b/tests/TestSuite_vhost_dequeue_zero_copy.py
@@ -209,6 +209,11 @@ class TestVhostDequeueZeroCopy(TestCase):
         """
         self.vm = VM(self.dut, 'vm0', 'vhost_sample')
         self.vm.load_config()
+        # use igb_uio driver in vm to get better performance
+        for i in self.vm.params:
+            if 'def_driver' in i:
+                i['def_driver'] = [{'driver_name': 'igb_uio'}]
+                break
         vm_params = {}
         vm_params['driver'] = 'vhost-user'
         vm_params['opt_path'] = '%s/vhost-net' % self.base_dir
-- 
1.8.3.1


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

* Re: [dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get better performance in vm
  2020-06-12  9:13 [dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get better performance in vm Xiao Qimai
@ 2020-06-12  9:23 ` Xiao, QimaiX
  2020-06-19  6:19 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xiao, QimaiX @ 2020-06-12  9:23 UTC (permalink / raw)
  To: dts

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

Tested-by: Xiao, QimaiX <qimaix.xiao@intel.com>

Regards,
Xiao Qimai

> -----Original Message-----
> From: Xiao, QimaiX <qimaix.xiao@intel.com>
> Sent: Friday, June 12, 2020 5:13 PM
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts][PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to
> get better performance in vm
> 
> Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
> ---
>  tests/TestSuite_vhost_dequeue_zero_copy.py | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/tests/TestSuite_vhost_dequeue_zero_copy.py
> b/tests/TestSuite_vhost_dequeue_zero_copy.py
> index 8beb1ba..0779edc 100644
> --- a/tests/TestSuite_vhost_dequeue_zero_copy.py
> +++ b/tests/TestSuite_vhost_dequeue_zero_copy.py
> @@ -209,6 +209,11 @@ class TestVhostDequeueZeroCopy(TestCase):
>          """
>          self.vm = VM(self.dut, 'vm0', 'vhost_sample')
>          self.vm.load_config()
> +        # use igb_uio driver in vm to get better performance
> +        for i in self.vm.params:
> +            if 'def_driver' in i:
> +                i['def_driver'] = [{'driver_name': 'igb_uio'}]
> +                break
>          vm_params = {}
>          vm_params['driver'] = 'vhost-user'
>          vm_params['opt_path'] = '%s/vhost-net' % self.base_dir
> --
> 1.8.3.1


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

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

* Re: [dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get better performance in vm
  2020-06-12  9:13 [dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get better performance in vm Xiao Qimai
  2020-06-12  9:23 ` Xiao, QimaiX
@ 2020-06-19  6:19 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-06-19  6:19 UTC (permalink / raw)
  To: Xiao, QimaiX, dts; +Cc: Xiao, QimaiX

Applied, thanks


-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Xiao Qimai
Sent: 2020^[$BG/^[(B6^[$B7n^[(B12^[$BF|^[(B 17:13
To: dts@dpdk.org
Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
Subject: [dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get better performance in vm

Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
 tests/TestSuite_vhost_dequeue_zero_copy.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/TestSuite_vhost_dequeue_zero_copy.py b/tests/TestSuite_vhost_dequeue_zero_copy.py
index 8beb1ba..0779edc 100644
--- a/tests/TestSuite_vhost_dequeue_zero_copy.py
+++ b/tests/TestSuite_vhost_dequeue_zero_copy.py
@@ -209,6 +209,11 @@ class TestVhostDequeueZeroCopy(TestCase):
         """
         self.vm = VM(self.dut, 'vm0', 'vhost_sample')
         self.vm.load_config()
+        # use igb_uio driver in vm to get better performance
+        for i in self.vm.params:
+            if 'def_driver' in i:
+                i['def_driver'] = [{'driver_name': 'igb_uio'}]
+                break
         vm_params = {}
         vm_params['driver'] = 'vhost-user'
         vm_params['opt_path'] = '%s/vhost-net' % self.base_dir
-- 
1.8.3.1


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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-12  9:13 [dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get better performance in vm Xiao Qimai
2020-06-12  9:23 ` Xiao, QimaiX
2020-06-19  6:19 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox