[dts] [PATCH V1]tests/TestSuite_virtio_user_for_container_networking: remove redundant parameter single-file-segments if not 2M env

Xiao, QimaiX qimaix.xiao at intel.com
Fri Feb 28 03:36:45 CET 2020


Hi, Lijuan

I consulted lihong that single-file-segments parameter only required on virtio side in 2M env, vhost side doesn't need, so it's ok to remove it. 

Regards,
Xiao Qimai


> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Tu, Lijuan
> Sent: Tuesday, February 25, 2020 5:01 PM
> To: Zhao, HaiyangX <haiyangx.zhao at intel.com>; dts at dpdk.org
> Cc: Zhao, HaiyangX <haiyangx.zhao at intel.com>
> Subject: Re: [dts] [PATCH
> V1]tests/TestSuite_virtio_user_for_container_networking: remove
> redundant parameter single-file-segments if not 2M env
> 
> Remove single-file-segments, so what will happen, if 2M env ?
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Haiyang Zhao
> > Sent: Tuesday, February 25, 2020 4:35 PM
> > To: dts at dpdk.org
> > Cc: Zhao, HaiyangX <haiyangx.zhao at intel.com>
> > Subject: [dts] [PATCH
> > V1]tests/TestSuite_virtio_user_for_container_networking: remove
> > redundant parameter single-file-segments if not 2M env
> >
> > remove redundant parameter
> >
> > Signed-off-by: Haiyang Zhao <haiyangx.zhao at intel.com>
> > ---
> >  tests/TestSuite_virtio_user_for_container_networking.py | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tests/TestSuite_virtio_user_for_container_networking.py
> > b/tests/TestSuite_virtio_user_for_container_networking.py
> > index ba303b7..1f9a666 100644
> > --- a/tests/TestSuite_virtio_user_for_container_networking.py
> > +++ b/tests/TestSuite_virtio_user_for_container_networking.py
> > @@ -164,7 +164,7 @@ class TestVirtioUserForContainer(TestCase):
> >              command_line_user = 'docker run -i -t --privileged -v
> > %s/vhost- net:/tmp/vhost-net ' + \
> >                              '-v /mnt/huge:/dev/hugepages ' + \
> >                              '-v %s:%s %s .%s/%s/app/testpmd -c %s -n %d ' + \
> > -                            '-m 1024 --no-pci --file-prefix=container --single-file-
> > segments ' + \
> > +                            '-m 1024 --no-pci --file-prefix=container
> > + ' + \
> >                              '--
> > vdev=virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-
> net,queues=%d '
> > + \
> >                              '-- -i --rxq=%d --txq=%d --nb-cores=%d'
> >          command_line_user = command_line_user %
> > (self.container_base_dir,
> > --
> > 1.8.3.1



More information about the dts mailing list