examples/vhost: fix guide
authorBernard Iremonger <bernard.iremonger@intel.com>
Thu, 10 Dec 2015 11:23:04 +0000 (11:23 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 14 Dec 2015 00:33:14 +0000 (01:33 +0100)
commit05632179a4587d9eb31e556c640fb0213c7f7d5b
tree56f8243b8646a8c2b99a8d16a4b27e71e3f7d928
parent0c83f820dba6a8ab8af8dfd6115290daa3be5407
examples/vhost: fix guide

Fix typos in sample console commands.
Remove "user@target:~$" prefixes in command lines.

Add --socket-mem 1024 to vhost-switch command lines.
Without the --socket-mem parameter all hugepages will be allocated
to vhost-switch, leaving no memory for the VM.

Add --disable-hw-vlan-filter parameter to testpmd command lines.
Without this parameter testpmd fails on startup in the VM.

Increase value of --sock-mem parameter to testpmd as original
value was too small.

Fixes: d0dff9ba445e ("doc: sample application user guide"
Fixes: 9bc23cb8209c ("doc: add vhost-user to sample guide")
Fixes: 43866bf71d58 ("doc: fix vhost sample parameter")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
doc/guides/sample_app_ug/vhost.rst