test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH v1] test_plans: add vhost launching cmd in hotplug_mp_test_plan
@ 2020-04-02 15:49 Yinan
  0 siblings, 0 replies; only message in thread
From: Yinan @ 2020-04-02 15:49 UTC (permalink / raw)
  To: dts; +Cc: Wang Yinan

From: Wang Yinan <yinan.wang@intel.com>

Signed-off-by: Wang Yinan <yinan.wang@intel.com>
---
 test_plans/hotplug_mp_test_plan.rst | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/test_plans/hotplug_mp_test_plan.rst b/test_plans/hotplug_mp_test_plan.rst
index c4f149d..086f691 100644
--- a/test_plans/hotplug_mp_test_plan.rst
+++ b/test_plans/hotplug_mp_test_plan.rst
@@ -275,7 +275,11 @@ Repeat above attach and detach for 2 times
 Quit primary and secondary processes
 
 Test Case: Repeat to attach/detach virtio-user from primary or secondary
-========================================================================
+=======================================================================
+Launch vhost port with testpmd::
+
+    ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 2-3  --socket-mem 1024,1024 --legacy-mem     --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0'     -- -i --nb-cores=1
+
 Start sample code as primary then secondary::
 
      ./hotplug_mp --proc-type=auto
@@ -288,7 +292,7 @@ Check primary and secondary processes don't have any device::
 Attach a virtual device from primary or secondary, check primary and
 secondary processes attach the share device successfully::
 
-    example> attach net_virtio_user0,mac=00:01:02:03:04:05,path=/home/yinan/dpdk/vhost-net,packed_vq=1,mrg_rxbuf=1,in_order=0
+    example> attach net_virtio_user0,mac=00:01:02:03:04:05,path=vhost-net,packed_vq=1,mrg_rxbuf=1,in_order=0
     example> list
     list all etherdev
     0       net_virtio_user0
@@ -308,4 +312,4 @@ secondary processes fail to detach same device again
 
 Repeat above attach and detach for 2 times
 
-Quit primary and secondary processes
+Quit primary and secondary processes
\ No newline at end of file
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-02  8:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02 15:49 [dts] [PATCH v1] test_plans: add vhost launching cmd in hotplug_mp_test_plan Yinan

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