[dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get better performance in vm
Xiao, QimaiX
qimaix.xiao at intel.com
Fri Jun 12 11:23:15 CEST 2020
Tested-by: Xiao, QimaiX <qimaix.xiao at intel.com>
Regards,
Xiao Qimai
> -----Original Message-----
> From: Xiao, QimaiX <qimaix.xiao at intel.com>
> Sent: Friday, June 12, 2020 5:13 PM
> To: dts at dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestVhostDequeueZeroCopy.log
Type: application/octet-stream
Size: 1573385 bytes
Desc: TestVhostDequeueZeroCopy.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200612/e182940f/attachment.obj>
More information about the dts
mailing list