DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v3] doc: fix parameter of virtio_user for container
@ 2017-03-08  7:45 Yong Wang
  2017-03-22  9:01 ` Yuanhan Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Yong Wang @ 2017-03-08  7:45 UTC (permalink / raw)
  To: john.mcnamara, yuanhan.liu; +Cc: dev, Yong Wang

Update the "Virtio_user for Container Networking" doc, add the
"--file-prefix" option to testpmd in host and container to avoid
hugepage config file conflict.

Fixes: 50665deebda0 ("doc: add guide to use virtio-user for container networking")

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
---
v3:
* Modify the commit message.

v2:
* Modify the fixline from two lines to one line.
* Remove the unnecessary "_" in "--file-prefix" option.

Acked-by: John McNamara <john.mcnamara@intel.com>

Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
---
 doc/guides/howto/virtio_user_for_container_networking.rst | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/guides/howto/virtio_user_for_container_networking.rst b/doc/guides/howto/virtio_user_for_container_networking.rst
index dbb9319..f71d071 100644
--- a/doc/guides/howto/virtio_user_for_container_networking.rst
+++ b/doc/guides/howto/virtio_user_for_container_networking.rst
@@ -111,7 +111,8 @@ some minor changes.
     .. code-block:: console
 
         $(testpmd) -l 0-1 -n 4 --socket-mem 1024,1024 \
-            --vdev 'eth_vhost0,iface=/tmp/sock0' --no-pci -- -i
+            --vdev 'eth_vhost0,iface=/tmp/sock0' \
+            --file-prefix=host --no-pci -- -i
 
 #. Start a container instance with a virtio-user port.
 
@@ -121,7 +122,8 @@ some minor changes.
             -v /dev/hugepages:/dev/hugepages \
             dpdk-app-testpmd testpmd -l 6-7 -n 4 -m 1024 --no-pci \
             --vdev=virtio_user0,path=/var/run/usvhost \
-	    -- -i --txqflags=0xf00 --disable-hw-vlan
+            --file-prefix=container \
+            -- -i --txqflags=0xf00 --disable-hw-vlan
 
 Note: If we run all above setup on the host, it's a shm-based IPC.
 
-- 
1.8.3.1

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

* Re: [dpdk-dev] [PATCH v3] doc: fix parameter of virtio_user for container
  2017-03-08  7:45 [dpdk-dev] [PATCH v3] doc: fix parameter of virtio_user for container Yong Wang
@ 2017-03-22  9:01 ` Yuanhan Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Yuanhan Liu @ 2017-03-22  9:01 UTC (permalink / raw)
  To: Yong Wang; +Cc: john.mcnamara, dev, Thomas Monjalon

On Wed, Mar 08, 2017 at 02:45:53AM -0500, Yong Wang wrote:
> Update the "Virtio_user for Container Networking" doc, add the
> "--file-prefix" option to testpmd in host and container to avoid
> hugepage config file conflict.
> 
> Fixes: 50665deebda0 ("doc: add guide to use virtio-user for container networking")
> 
> Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>

I'm just aware that this patch dispatched to me at patchwork, so
Applied to dpdk-next-virtio.

> ---
> v3:
> * Modify the commit message.
> 
> v2:
> * Modify the fixline from two lines to one line.
> * Remove the unnecessary "_" in "--file-prefix" option.
> 
> Acked-by: John McNamara <john.mcnamara@intel.com>
> 
> Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>

Note that you should move the Acked-by before '---': they are
part of the commit log, while the changes log are not.

	--yliu
> ---
>  doc/guides/howto/virtio_user_for_container_networking.rst | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/guides/howto/virtio_user_for_container_networking.rst b/doc/guides/howto/virtio_user_for_container_networking.rst
> index dbb9319..f71d071 100644
> --- a/doc/guides/howto/virtio_user_for_container_networking.rst
> +++ b/doc/guides/howto/virtio_user_for_container_networking.rst
> @@ -111,7 +111,8 @@ some minor changes.
>      .. code-block:: console
>  
>          $(testpmd) -l 0-1 -n 4 --socket-mem 1024,1024 \
> -            --vdev 'eth_vhost0,iface=/tmp/sock0' --no-pci -- -i
> +            --vdev 'eth_vhost0,iface=/tmp/sock0' \
> +            --file-prefix=host --no-pci -- -i
>  
>  #. Start a container instance with a virtio-user port.
>  
> @@ -121,7 +122,8 @@ some minor changes.
>              -v /dev/hugepages:/dev/hugepages \
>              dpdk-app-testpmd testpmd -l 6-7 -n 4 -m 1024 --no-pci \
>              --vdev=virtio_user0,path=/var/run/usvhost \
> -	    -- -i --txqflags=0xf00 --disable-hw-vlan
> +            --file-prefix=container \
> +            -- -i --txqflags=0xf00 --disable-hw-vlan
>  
>  Note: If we run all above setup on the host, it's a shm-based IPC.
>  
> -- 
> 1.8.3.1
> 

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

end of thread, other threads:[~2017-03-22  9:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-08  7:45 [dpdk-dev] [PATCH v3] doc: fix parameter of virtio_user for container Yong Wang
2017-03-22  9:01 ` Yuanhan Liu

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