test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology
@ 2019-04-30  7:46 Wenjie Li
  2019-04-30  7:46 ` [dts] [PATCH V1 2/3] test_plans: fix build error/warning Wenjie Li
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Wenjie Li @ 2019-04-30  7:46 UTC (permalink / raw)
  To: dts; +Cc: Wenjie Li

use a PNG file to show the topology

Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
---
 .../image/virtio_ipsec_cryptodev_func_test_plan.png      | Bin 0 -> 2867 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 test_plans/image/virtio_ipsec_cryptodev_func_test_plan.png

diff --git a/test_plans/image/virtio_ipsec_cryptodev_func_test_plan.png b/test_plans/image/virtio_ipsec_cryptodev_func_test_plan.png
new file mode 100644
index 0000000000000000000000000000000000000000..d1439977a287ce10a091316f46cf2b408985aaa3
GIT binary patch
literal 2867
zcmbVOdpy&7AOBHuBy>3Eags~t6i%t+$Zd>Vay_hAMloHSlH0_XF-E+ogu+sxS&rQA
zxz5a~j!|MI<T8?@HM6ZXmzZtO$dl(huT$r|o<Dw<@9+2hd_LdL`*V9=KH_30w^?N~
z0043h_BO5nAekb5zx$P>_<ryH)@<=ZBFxp!3aIQ+Wr!CW&sjQK0zgf=?D8oo@meOt
z-ZKmU6p<^J#MoJlNC4Q}>0o0CjfAskEc6ISaTE2$)J3oKvJ3i+H@#wI6}NeQZQm1T
zLZ_H#*vocqi9=0!kC0<G0E_m1K&QRchC{ZBD!@+}RN&h6#7%KmcO3+LcM&9Z?39rM
zwmJO$780H+iiyEs1V&)OMaKpg>G=AkOiL?@Th{<%N3|BA>X7D%qJ;L_iEWa&z&v@$
z0J`?<0=>!^Ki((TYQOq#_>T6&9z3D3$Pm)qKZXgPQ1W2TNWru#ZwUL#Qg{~D<DEEC
zu`d(3)gzM%%g?Cjvpnf+<rD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<
zbREJZ$)}60Gd@h3c>;e0ATXhAHJ>b(mHRGC32cSD#!lngr1rKBXK(agkIa-cNtSEZ
z1R3GP_-<a3zpbGbpFDPKy@P@54F`PJhs}S1J`V8%UKxL$x`=s6>{zhwN}x6l{D4&-
zF1i1Ah>NFuQG)Lo=Ns$Iy3ew9-H}yFW3mO?9Qu&Fh&n%6_Wc^W@vUptYTOwhU(WRQ
zwqa4%+Ts_Z`<J%XS&e~AjMUoEl~e%Zv@bKWC<}t%M$#HZN?A_TbSeBiU*ah(@p*&y
zdO3_u@LyNCR8Vi`DS9t;#4ShrjX$ET<(*7<`258(C76?Fy8rh@JOS~?WBC8eIsPHT
dG$&(43cp0uvvm>Cd@<1l91gqKR9c<9_-|z#e;xn;

literal 0
HcmV?d00001

-- 
1.8.3.1


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

* [dts] [PATCH V1 2/3] test_plans: fix build error/warning
  2019-04-30  7:46 [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology Wenjie Li
@ 2019-04-30  7:46 ` Wenjie Li
  2019-04-30  7:47   ` Li, WenjieX A
  2019-04-30  7:46 ` [dts] [PATCH V1 3/3] test_plans/index: fix build warning Wenjie Li
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Wenjie Li @ 2019-04-30  7:46 UTC (permalink / raw)
  To: dts; +Cc: Wenjie Li

fix build error/warning

Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
---
 test_plans/vhost_enqueue_interrupt_test_plan.rst   | 14 +++--
 test_plans/vhost_event_idx_interrupt_test_plan.rst | 16 ++---
 .../vhost_virtio_pmd_interrupt_test_plan.rst       | 14 ++---
 .../virtio_ipsec_cryptodev_func_test_plan.rst      | 72 ++++++++++++++--------
 .../virtio_perf_cryptodev_func_test_plan.rst       | 44 ++++++++-----
 5 files changed, 99 insertions(+), 61 deletions(-)

diff --git a/test_plans/vhost_enqueue_interrupt_test_plan.rst b/test_plans/vhost_enqueue_interrupt_test_plan.rst
index de482b3..93ff7cb 100644
--- a/test_plans/vhost_enqueue_interrupt_test_plan.rst
+++ b/test_plans/vhost_enqueue_interrupt_test_plan.rst
@@ -50,9 +50,10 @@ Test Case1:  Wake up vhost-user core with l3fwd-power sample
 
 1. Launch virtio-user with server mode::
 
-  ./testpmd -l 7-8 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=1 -- -i
+    ./testpmd -l 7-8 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci --file-prefix=virtio \
+    --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=1 -- -i
 
-2.  Build l3fwd-power sample and launch l3fwd-power with a virtual vhost device::
+2. Build l3fwd-power sample and launch l3fwd-power with a virtual vhost device::
 
     ./l3fwd-power -l 0-3 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci \
     --vdev 'eth_vhost0,iface=/tmp/sock0,queues=1,client=1' -- -p 0x1 --parse-ptype 1 --config "(0,0,2)"
@@ -69,12 +70,13 @@ Test Case2:  Wake up vhost-user cores with l3fwd-power sample when multi queues
 
 1. Launch virtio-user with server mode::
 
-  ./testpmd -l 1-5 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=4 -- -i --rxq=4 --txq=4 --rss-ip
+    ./testpmd -l 1-5 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci --file-prefix=virtio \
+    --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=4 -- -i --rxq=4 --txq=4 --rss-ip
 
-2.  Build l3fwd-power sample and launch l3fwd-power with a virtual vhost device::
+2. Build l3fwd-power sample and launch l3fwd-power with a virtual vhost device::
 
-    ./l3fwd-power -l 9-12 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci\
-    --log-level=9 --vdev 'eth_vhost0,iface=/tmp/sock0,queues=4,client=1' -- -p 0x1 --parse-ptype 1 \
+    ./l3fwd-power -l 9-12 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci --log-level=9 \
+    --vdev 'eth_vhost0,iface=/tmp/sock0,queues=4,client=1' -- -p 0x1 --parse-ptype 1 \
     --config "(0,0,9),(0,1,10),(0,2,11),(0,3,12)"
 
 3. Send packet by testpmd, check vhost-user multi-cores will keep wakeup status::
diff --git a/test_plans/vhost_event_idx_interrupt_test_plan.rst b/test_plans/vhost_event_idx_interrupt_test_plan.rst
index af75c33..e785755 100644
--- a/test_plans/vhost_event_idx_interrupt_test_plan.rst
+++ b/test_plans/vhost_event_idx_interrupt_test_plan.rst
@@ -77,14 +77,14 @@ Test Case 1: wake up vhost-user core with event idx interrupt mode
     --parse-ptype 1 \
     --config "(0,0,1)"
 
-3.  On VM, set ip for virtio device and send packets to vhost by cmds::
+4. On VM, set ip for virtio device and send packets to vhost by cmds::
 
     ifconfig [ens3] 1.1.1.2
     #[ens3] is the virtual device name
     ping 1.1.1.3
     #send packets to vhost
 
-4. Check vhost related core is waked up by reading l3fwd-power log.
+5. Check vhost related core is waked up by reading l3fwd-power log.
 
 Test Case 2: wake up vhost-user cores with event idx interrupt mode 16 queues test
 ==================================================================================
@@ -119,12 +119,12 @@ Test Case 2: wake up vhost-user cores with event idx interrupt mode 16 queues te
     --parse-ptype 1 \
     --config "(0,0,1),(0,1,2),(0,2,3),(0,3,4),(0,4,5),(0,5,6),(0,6,7),(0,7,8),(0,8,9),(0,9,10),(0,10,11),(0,11,12),(0,12,13),(0,13,14),(0,14,15),(0,15,16)"
 
-3.  Set vitio-net with 16 quques and give vitio-net ip address::
+4. Set vitio-net with 16 quques and give vitio-net ip address::
 
     ethtool -L [ens3] combined 16    # [ens3] is the name of virtio-net
     ifconfig [ens3] 1.1.1.1
 
-4.  Send packets with different IPs from virtio-net, notice to bind each vcpu to different send packets process::
+5. Send packets with different IPs from virtio-net, notice to bind each vcpu to different send packets process::
 
     taskset -c 0 ping 1.1.1.2
     taskset -c 1 ping 1.1.1.3
@@ -143,11 +143,11 @@ Test Case 2: wake up vhost-user cores with event idx interrupt mode 16 queues te
     taskset -c 14 ping 1.1.1.2
     taskset -c 15 ping 1.1.1.2
 
-5.  Check vhost related cores are waked up with l3fwd-power log, such as following::
+6. Check vhost related cores are waked up with l3fwd-power log, such as following::
 
     L3FWD_POWER: lcore 0 is waked up from rx interrupt on port 0 queue 0
-    .....
-    .....
+    ...
+    ...
     L3FWD_POWER: lcore 15 is waked up from rx interrupt on port 0 queue 15
 
 Test Case 3: wake up vhost-user cores by multi virtio-net in VMs with event idx interrupt mode
@@ -193,7 +193,7 @@ Test Case 3: wake up vhost-user cores by multi virtio-net in VMs with event idx
     --parse-ptype 1 \
     --config "(0,0,1),(1,0,2)"
 
-4.  On VM1, set ip for virtio device and send packets to vhost::
+4. On VM1, set ip for virtio device and send packets to vhost::
 
     ifconfig [ens3] 1.1.1.2
     #[ens3] is the virtual device name
diff --git a/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst b/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst
index b928748..03f4d50 100644
--- a/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst
+++ b/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst
@@ -68,13 +68,13 @@ Test Case 1: Basic virtio interrupt test with 4 queues
 
 3. Bind virtio port to vfio-pci::
 
-	  modprobe vfio enable_unsafe_noiommu_mode=1
-	  modprobe vfio-pci
+	modprobe vfio enable_unsafe_noiommu_mode=1
+	modprobe vfio-pci
     ./usertools/dpdk-devbind.py --bind=vfio-pci xx:xx.x
 
 4. In VM, launch l3fwd-power sample::
 
-  ./l3fwd-power -c 0xf -n 4 --log-level='user1,7' -- -p 1 -P --config="(0,0,0),(0,1,1),(0,2,2),(0,3,3)" --no-numa --parse-ptype
+    ./l3fwd-power -c 0xf -n 4 --log-level='user1,7' -- -p 1 -P --config="(0,0,0),(0,1,1),(0,2,2),(0,3,3)" --no-numa --parse-ptype
 
 5. Send random dest ip address packets to host nic with packet generator, packets will distribute to all queues, check l3fwd-power log that all related cores are waked up.
 
@@ -101,7 +101,7 @@ Test Case 2: Basic virtio interrupt test with 16 queues
      -device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet2,mrg_rxbuf=on,csum=on,mq=on,vectors=40  \
      -vnc :11 -daemonize
 
-3   Bind virtio port to vfio-pci::
+3. Bind virtio port to vfio-pci::
 
     modprobe vfio enable_unsafe_noiommu_mode=1
     modprobe vfio-pci
@@ -109,7 +109,7 @@ Test Case 2: Basic virtio interrupt test with 16 queues
 
 4. In VM, launch l3fwd-power sample::
 
-  ./l3fwd-power -c 0x0ffff -n 4 --log-level='user1,7' -- -p 1 -P  --config '(0,0,0),(0,1,1),(0,2,2),(0,3,3)(0,4,4),(0,5,5),(0,6,6),(0,7,7)(0,8,8),(0,9,9),(0,10,10),(0,11,11)(0,12,12),(0,13,13),(0,14,14),(0,15,15)' --no-numa  --parse-ptype
+    ./l3fwd-power -c 0x0ffff -n 4 --log-level='user1,7' -- -p 1 -P  --config '(0,0,0),(0,1,1),(0,2,2),(0,3,3)(0,4,4),(0,5,5),(0,6,6),(0,7,7)(0,8,8),(0,9,9),(0,10,10),(0,11,11)(0,12,12),(0,13,13),(0,14,14),(0,15,15)' --no-numa  --parse-ptype
 
 5. Send random dest ip address packets to host nic with packet generator, packets will distribute to all queues, check l3fwd-power log that all related cores are waked up.
 
@@ -136,7 +136,7 @@ Test Case 3: Basic virtio-1.0 interrupt test with 4 queues
      -device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet2,disable-modern=false,mrg_rxbuf=on,csum=on,mq=on,vectors=15  \
      -vnc :11 -daemonize
 
-3   Bind virtio port to vfio-pci::
+3. Bind virtio port to vfio-pci::
 
     modprobe vfio enable_unsafe_noiommu_mode=1
     modprobe vfio-pci
@@ -144,7 +144,7 @@ Test Case 3: Basic virtio-1.0 interrupt test with 4 queues
 
 4. In VM, launch l3fwd-power sample::
 
-  ./l3fwd-power -c 0xf -n 4 --log-level='user1,7' -- -p 1 -P --config="(0,0,0),(0,1,1),(0,2,2),(0,3,3)" --no-numa --parse-ptype
+    ./l3fwd-power -c 0xf -n 4 --log-level='user1,7' -- -p 1 -P --config="(0,0,0),(0,1,1),(0,2,2),(0,3,3)" --no-numa --parse-ptype
 
 5. Send random dest ip address packets to host nic with packet generator, packets will distribute to all queues, check l3fwd-power log that all related cores are waked up.
 
diff --git a/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst b/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst
index 74842ac..47dc332 100644
--- a/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst
+++ b/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst
@@ -30,9 +30,9 @@
    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
    OF THE POSSIBILITY OF SUCH DAMAGE.
 
-=======================================
+========================================
 Cryptodev virtio ipsec Application Tests
-=======================================
+========================================
 
 
 Description
@@ -80,13 +80,15 @@ Prerequisites
 =============
 
 qemu version >= 2.12
-in qemu enable vhost-user-crypto:
+in qemu enable vhost-user-crypto::
+
     ./configure --target-list=x86_64-softmmu --enable-vhost-crypto --prefix=/root/qemu-2.12 && make && make install
+
 the bin is in /root/qemu-2.12 folder, which is your specified
 
-The options of ipsec-secgw is below:
+The options of ipsec-secgw is below::
 
-   ./build/ipsec-secgw [EAL options] --
+    ./build/ipsec-secgw [EAL options] --
                         -p PORTMASK -P -u PORTMASK -j FRAMESIZE
                         -l -w REPLAY_WINOW_SIZE -e -a
                         --config (port,queue,lcore)[,(port,queue,lcore]
@@ -109,28 +111,37 @@ payload in packet by using algorithm setting in VM. the packet back to tester.
 Use TCPDump to capture the received packet on tester. Then tester parses the payload
 and compare the payload with correct answer pre-stored in scripts:
 
-   +----------+              +----------------------------------+
-   |          |              |   +--------+        +--------+   |
-   |          | -------------|-->|   VM0  | -----> |        |   |
-   |  Tester  |              |   +--------+        |   VM1  |   |
-   |          | <------------|-------------------> |        |   |
-   |          |              |                     +--------+   |
-   +----------+              +----------------------------------+
+.. figure:: image/virtio_ipsec_cryptodev_func_test_plan.png
 
 In Host:
-# Build DPDK and vhost_crypto app
-      enable CONFIG_RTE_LIBRTE_VHOST in config/common_base
-      make install -j T=x86_64-native-linuxapp-gcc
-      make -C examples/vhost_crypto
+
+# Build DPDK and vhost_crypto app::
+
+    enable CONFIG_RTE_LIBRTE_VHOST in config/common_base
+    make install -j T=x86_64-native-linuxapp-gcc
+    make -C examples/vhost_crypto
 
 # Compile the latest qemu
-# Run the dpdk vhost sample
-    ./examples/vhost_crypto/build/vhost-crypto --socket-mem 2048,0 --legacy-mem -w 1a:01.0 -w 1c:01.0 -w 1e:01.0 --vdev crypto_scheduler_pmd_1,slave=0000:1a:01.0_qat_sym,slave=0000:1c:01.0_qat_sym,slave=0000:1e:01.0_qat_sym,mode=round-robin,ordering=enable -l 8,9,10,11,12 -n 6  -- --config "(9,0,0),(10,0,0),(11,0,0),(12,0,0)" --socket-file 9,/tmp/vm0_crypto0.sock --socket-file=10,/tmp/vm0_crypto1.sock --socket-file=11,/tmp/vm1_crypto0.sock --socket-file=12,/tmp/vm1_crypto1.sock
 
-# bind vfio-pci
+# Run the dpdk vhost sample::
+
+    ./examples/vhost_crypto/build/vhost-crypto \
+    --socket-mem 2048,0 --legacy-mem \
+    -w 1a:01.0 -w 1c:01.0 -w 1e:01.0 \
+    --vdev crypto_scheduler_pmd_1,slave=0000:1a:01.0_qat_sym,slave=0000:1c:01.0_qat_sym,slave=0000:1e:01.0_qat_sym,mode=round-robin,ordering=enable \
+    -l 8,9,10,11,12 -n 6 \
+    -- --config "(9,0,0),(10,0,0),(11,0,0),(12,0,0)" \
+    --socket-file 9,/tmp/vm0_crypto0.sock  \
+    --socket-file=10,/tmp/vm0_crypto1.sock \
+    --socket-file=11,/tmp/vm1_crypto0.sock \
+    --socket-file=12,/tmp/vm1_crypto1.sock
+
+# bind vfio-pci::
+
     usertools/dpdk-devbind.py --bind=vfio-pci 0000:60:00.0 0000:60:00.1 0000:3b:00.0 0000:3b:00.1
 
-# Start VM0 by the qemu
+# Start VM0 by the qemu::
+
     taskset -c 11,12,13,14 /root/qemu-2/bin/qemu-system-x86_64  -name vm0 -enable-kvm -pidfile /tmp/.vm0.pid
         -daemonize -monitor unix:/tmp/vm0_monitor.sock,server,nowait
         -net nic,vlan=0,macaddr=00:00:00:42:65:aa,model=e1000,addr=1f -net user,vlan=0,hostfwd=tcp:10.67.111.126:6000-:22
@@ -143,7 +154,8 @@ In Host:
         -device vfio-pci,host=0000:3b:00.0,id=pt_0
         -device vfio-pci,host=0000:3b:00.1,id=pt_1
 
-# Start VM1 by the qemu
+# Start VM1 by the qemu::
+
     taskset -c 15,16,17,18 /root/qemu-2/bin/qemu-system-x86_64  -name vm1 -enable-kvm -pidfile /tmp/.vm1.pid
         -daemonize -monitor unix:/tmp/vm1_monitor.sock,server,nowait
         -net nic,vlan=0,macaddr=00:00:00:db:2e:f9,model=e1000,addr=1f -net user,vlan=0,hostfwd=tcp:10.67.111.126:6001-:22
@@ -157,7 +169,9 @@ In Host:
         -device vfio-pci,host=0000:60:00.1,id=pt_1
 
 In VM
-# set virtio device
+
+# set virtio device::
+
     modprobe uio_pci_generic
     echo -n 0000:00:04.0 > /sys/bus/pci/drivers/virtio-pci/unbind
     echo -n 0000:00:05.0 > /sys/bus/pci/drivers/virtio-pci/unbind
@@ -166,13 +180,19 @@ In VM
 # Run the ipsec test cases cmd
 
     1. AESNI_MB case Command line Eg:
-    In vm0:
+    In vm0::
+
     ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -w 0000:00:06.0 -w 0000:00:07.0 --vdev crypto_aesni_mb_pmd_1 --vdev crypto_aesni_mb_pmd_2 -l 1,2,3 -n 4  -- -P  --config "(0,0,2),(1,0,3)" -u 0x1 -p 0x3 -f /root/ipsec_test0.cfg
-    In vm1:
+
+    In vm1::
+
     ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -w 0000:00:06.0 -w 0000:00:07.0 --vdev crypto_aesni_mb_pmd_1 --vdev crypto_aesni_mb_pmd_2 -l 1,2,3 -n 4  -- -P  --config "(0,0,2),(1,0,3)" -u 0x1 -p 0x3 -f /root/ipsec_test1.cfg
 
     2. VIRTIO case Command line Eg:
-    In vm0:
+    In vm0::
+
     ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -w 0000:00:06.0 -w 0000:00:07.0 -w 00:04.0 -w 00:05.0 -l 1,2,3 -n 4  -- -P  --config "(0,0,2),(1,0,3)" -u 0x1 -p 0x3 -f /root/ipsec_test0.cfg
-    In vm1:
+
+    In vm1::
+
     ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -w 0000:00:06.0 -w 0000:00:07.0 -w 00:04.0 -w 00:05.0 -l 1,2,3 -n 4  -- -P  --config "(0,0,2),(1,0,3)" -u 0x1 -p 0x3 -f /root/ipsec_test1.cfg
diff --git a/test_plans/virtio_perf_cryptodev_func_test_plan.rst b/test_plans/virtio_perf_cryptodev_func_test_plan.rst
index 74d38f6..3ad6543 100644
--- a/test_plans/virtio_perf_cryptodev_func_test_plan.rst
+++ b/test_plans/virtio_perf_cryptodev_func_test_plan.rst
@@ -30,9 +30,9 @@
    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
    OF THE POSSIBILITY OF SUCH DAMAGE.
 
-=======================================
+==============================================
 Cryptodev virtio Performance Application Tests
-=======================================
+==============================================
 
 
 Description
@@ -55,7 +55,7 @@ Part of the algorithms are not supported currently.
 +-----------+-------------------+---------------------------------------------------------------------------+
 | sha       |                   | sha1, sha2-224, sha2-384, sha2-256, sha2-512                              |
 +-----------+-------------------+---------------------------------------------------------------------------+
-| hmac      |                   | Support sha implementations sha1, sha2-224, sha2-256,             |
+| hmac      |                   | Support sha implementations sha1, sha2-224, sha2-256,                     |
 |           |                   |                                                                           |
 |           |                   | sha2-384, sha2-512                                                        |
 +-----------+-------------------+---------------------------------------------------------------------------+
@@ -71,7 +71,7 @@ Part of the algorithms are not supported currently.
 +-----------+-------------------+---------------------------------------------------------------------------+
 | sha       |                   | sha1, sha2-224, sha2-384, sha2-256, sha2-512                              |
 +-----------+-------------------+---------------------------------------------------------------------------+
-| hmac      |                   | Support sha implementations sha1, sha2-224, sha2-256,             |
+| hmac      |                   | Support sha implementations sha1, sha2-224, sha2-256,                     |
 |           |                   |                                                                           |
 |           |                   | sha2-384, sha2-512                                                        |
 +-----------+-------------------+---------------------------------------------------------------------------+
@@ -81,8 +81,10 @@ Prerequisites
 =============
 
 qemu version >= 2.12
-in qemu enable vhost-user-crypto:
+in qemu enable vhost-user-crypto::
+
     ./configure --target-list=x86_64-softmmu --enable-vhost-crypto --prefix=/root/qemu-2.12 && make && make install
+
 the bin is in /root/qemu-2.12 folder, which is your specified
 
 Test case setup:
@@ -97,19 +99,24 @@ Test case setup:
     +--------------+
 
 In Host:
-# Build DPDK and vhost_crypto app
+
+# Build DPDK and vhost_crypto app::
+
       enable CONFIG_RTE_LIBRTE_VHOST in config/common_base
       make install -j T=x86_64-native-linuxapp-gcc
       make -C examples/vhost_crypto
 
 # Compile the latest qemu
-# Run the dpdk vhost sample
+# Run the dpdk vhost sample::
+
     ./examples/vhost_crypto/build/vhost-crypto --socket-mem 2048,0 --legacy-mem --vdev crypto_aesni_mb_pmd_1 -l 8,9,10 -n 4  -- --config "(9,0,0),(10,0,0)" --socket-file 9,/tmp/vm0_crypto0.sock --socket-file=10,/tmp/vm0_crypto1.sock
 
-# bind vfio-pci
+# bind vfio-pci::
+
     usertools/dpdk-devbind.py --bind=vfio-pci 0000:60:00.0 0000:60:00.1
 
-# Start VM by the qemu
+# Start VM by the qemu::
+
     taskset -c 11,12,13,14 /root/qemu-2/bin/qemu-system-x86_64  -name vm0
         -enable-kvm -pidfile /tmp/.vm0.pid
         -cpu host -smp 4
@@ -127,7 +134,9 @@ In Host:
         -device vfio-pci,host=0000:60:00.1,id=pt_1
 
 In VM:
-# set virtio device
+
+# set virtio device::
+
     modprobe uio_pci_generic
     echo -n 0000:00:04.0 > /sys/bus/pci/drivers/virtio-pci/unbind
     echo -n 0000:00:05.0 > /sys/bus/pci/drivers/virtio-pci/unbind
@@ -135,10 +144,17 @@ In VM:
 
 # Run the virtio performance test cases
 
-    1. The AESNI_MB case Command line Eg:
+  1. The AESNI_MB case Command line Eg::
 
-    ./build/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_aesni_mb_pmd  -- --ptest throughput --devtype crypto_aesni_mb --optype cipher-then-auth  --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16 --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 --auth-aad-sz 0 --auth-digest-sz 20 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
+      ./build/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_aesni_mb_pmd  \
+      -- --ptest throughput --devtype crypto_aesni_mb --optype cipher-then-auth  \
+      --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16 \
+      --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 --auth-aad-sz 0 \
+      --auth-digest-sz 20 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
 
-    2. The VIRTIO case Command line Eg:
+  2. The VIRTIO case Command line Eg::
 
-    ./build/app/dpdk-test-crypto-perf -c 0xf  -w 00:05.0 -- --ptest throughput --devtype crypto_qat --optype cipher-then-auth  --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16 --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 --auth-aad-sz 0 --auth-digest-sz 20 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
+      ./build/app/dpdk-test-crypto-perf -c 0xf  -w 00:05.0 -- --ptest throughput \
+      --devtype crypto_qat --optype cipher-then-auth  --cipher-algo aes-cbc --cipher-op encrypt \
+      --cipher-key-sz 16 --cipher-iv-sz 16 --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 \
+      --auth-aad-sz 0 --auth-digest-sz 20 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
-- 
1.8.3.1


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

* [dts] [PATCH V1 3/3] test_plans/index: fix build warning
  2019-04-30  7:46 [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology Wenjie Li
  2019-04-30  7:46 ` [dts] [PATCH V1 2/3] test_plans: fix build error/warning Wenjie Li
@ 2019-04-30  7:46 ` Wenjie Li
  2019-04-30  7:47   ` Li, WenjieX A
  2019-04-30  7:47 ` [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology Li, WenjieX A
  2019-05-13  7:46 ` Tu, Lijuan
  3 siblings, 1 reply; 7+ messages in thread
From: Wenjie Li @ 2019-04-30  7:46 UTC (permalink / raw)
  To: dts; +Cc: Wenjie Li

fix build warning

Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
---
 test_plans/index.rst | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/test_plans/index.rst b/test_plans/index.rst
index e6005da..2cbcdd5 100644
--- a/test_plans/index.rst
+++ b/test_plans/index.rst
@@ -42,7 +42,7 @@ The following are the test plans for the DPDK DTS automated test system.
     checksum_offload_test_plan
     cloud_filter_test_plan
     coremask_test_plan
-    cryptodev_perf_crypto-perf_test_plan
+    crypto_perf_cryptodev_perf_test_plan
     ddp_gtp_qregion_test_plan
     ddp_gtp_test_plan
     ddp_mpls_test_plan
@@ -117,7 +117,7 @@ The following are the test plans for the DPDK DTS automated test system.
     shutdown_api_test_plan
     sriov_kvm_test_plan
     stability_test_plan
-    sw_eventdev_pipeline_sample_test_plan
+    eventdev_pipeline_test_plan
     tso_test_plan
     tx_preparation_test_plan
     uni_pkt_test_plan
@@ -125,6 +125,12 @@ The following are the test plans for the DPDK DTS automated test system.
     vlan_ethertype_config_test_plan
     vlan_test_plan
     vxlan_test_plan
+    af_xdp_test_plan
+    l2fwd_jobstats_test_plan
+    loadbalancer_test_plan
+    loopback_multi_queues_test_plan
+    telemetry_test_plan
+
     veb_switch_test_plan
     vf_daemon_test_plan
     vf_interrupt_pmd_test_plan
@@ -143,10 +149,20 @@ The following are the test plans for the DPDK DTS automated test system.
     vhost_qemu_mtu_test_plan
     vhost_tso_test_plan
     vhost_user_live_migration_test_plan
-    virtio_1.0_test_plan
     vm_power_manager_test_plan
     vmdq_test_plan
 
+    virtio_1.0_test_plan
+    vhost_enqueue_interrupt_test_plan
+    vhost_event_idx_interrupt_test_plan
+    vhost_virtio_pmd_interrupt_test_plan
+    vhost_virtio_user_interrupt_test_plan
+    virtio_event_idx_interrupt_test_plan
+    virtio_ipsec_cryptodev_func_test_plan
+    virtio_perf_cryptodev_func_test_plan
+    vm2vm_virtio_net_perf_test_plan
+    vm2vm_virtio_pmd_test_plan
+
     unit_tests_cmdline_test_plan
     unit_tests_crc_test_plan
     unit_tests_cryptodev_func_test_plan
-- 
1.8.3.1


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

* Re: [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology
  2019-04-30  7:46 [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology Wenjie Li
  2019-04-30  7:46 ` [dts] [PATCH V1 2/3] test_plans: fix build error/warning Wenjie Li
  2019-04-30  7:46 ` [dts] [PATCH V1 3/3] test_plans/index: fix build warning Wenjie Li
@ 2019-04-30  7:47 ` Li, WenjieX A
  2019-05-13  7:46 ` Tu, Lijuan
  3 siblings, 0 replies; 7+ messages in thread
From: Li, WenjieX A @ 2019-04-30  7:47 UTC (permalink / raw)
  To: dts; +Cc: Li, WenjieX A

Tested-by: Li, WenjieX A <wenjiex.a.li@intel.com>

> -----Original Message-----
> From: Li, WenjieX A
> Sent: Tuesday, April 30, 2019 3:46 PM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts][PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG
> file to show the topology
> 
> use a PNG file to show the topology
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
>  .../image/virtio_ipsec_cryptodev_func_test_plan.png      | Bin 0 -> 2867 bytes
>  1 file changed, 0 insertions(+), 0 deletions(-)  create mode 100644
> test_plans/image/virtio_ipsec_cryptodev_func_test_plan.png
> 
> diff --git a/test_plans/image/virtio_ipsec_cryptodev_func_test_plan.png
> b/test_plans/image/virtio_ipsec_cryptodev_func_test_plan.png
> new file mode 100644
> index
> 0000000000000000000000000000000000000000..d1439977a287ce10a091316f
> 46cf2b408985aaa3
> GIT binary patch
> literal 2867
> zcmbVOdpy&7AOBHuBy>3Eags~t6i%t+$Zd>Vay_hAMloHSlH0_XF-
> E+ogu+sxS&rQA
> zxz5a~j!|MI<T8?@HM6ZXmzZtO$dl(huT$r|o<Dw<@9+2hd_LdL`*V9=KH_30w^?
> N~
> z0043h_BO5nAekb5zx$P>_<ryH)@<=ZBFxp!3aIQ+Wr!CW&sjQK0zgf=?D8oo@me
> Ot
> z-ZKmU6p<^J#MoJlNC4Q}>0o0CjfAskEc6ISaTE2$)J3oKvJ3i+H@#wI6}NeQZQm1T
> zLZ_H#*vocqi9=0!kC0<G0E_m1K&QRchC{ZBD!@+}RN&h6#7%KmcO3+LcM&9Z?
> 39rM
> zwmJO$780H+iiyEs1V&)OMaKpg>G=AkOiL?@Th{<%N3|BA>X7D%qJ;L_iEWa&z&
> v@$
> z0J`?<0=>!^Ki((TYQOq#_>T6&9z3D3$Pm)qKZXgPQ1W2TNWru#ZwUL#Qg{~D<DE
> EC
> zu`d(3)gzM%%g?Cjvpnf+<rDwWT4&-WAZ_PAJ8{8+(l7!vnzAN2zQlkIix>M#6Wm=K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vVX^;<
> zbREJZ$)}60Gd@h3c>;e0ATXhAHJ>b(mHRGC32cSD#!lngr1rKBXK(agkIa-cNtSEZ
> z1R3GP_-<a3zpbGbpFDPKy@P@54F`PJhs}S1J`V8%UKxL$x`=s6>{zhwN}x6l{D4&-
> zF1i1Ah>NFuQG)Lo=Ns$Iy3ew9-
> H}yFW3mO?9Qu&Fh&n%6_Wc^W@vUptYTOwhU(WRQ
> zwqa4%+Ts_Z`<J%XS&e~AjMUoEl~e%Zv@bKWC<}t%M$#HZN?A_TbSeBiU*ah(@
> p*&y
> zdO3_u@LyNCR8Vi`DS9t;#4ShrjX$ET<(*7<`258(C76?Fy8rh@JOS~?WBC8eIsPHT
> dG$&(43cp0uvvm>Cd@<1l91gqKR9c<9_-|z#e;xn;
> 
> literal 0
> HcmV?d00001
> 
> --
> 1.8.3.1


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

* Re: [dts] [PATCH V1 3/3] test_plans/index: fix build warning
  2019-04-30  7:46 ` [dts] [PATCH V1 3/3] test_plans/index: fix build warning Wenjie Li
@ 2019-04-30  7:47   ` Li, WenjieX A
  0 siblings, 0 replies; 7+ messages in thread
From: Li, WenjieX A @ 2019-04-30  7:47 UTC (permalink / raw)
  To: dts; +Cc: Li, WenjieX A

Tested-by: Li, WenjieX A <wenjiex.a.li@intel.com>

> -----Original Message-----
> From: Li, WenjieX A
> Sent: Tuesday, April 30, 2019 3:46 PM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts][PATCH V1 3/3] test_plans/index: fix build warning
> 
> fix build warning
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
>  test_plans/index.rst | 22 +++++++++++++++++++---
>  1 file changed, 19 insertions(+), 3 deletions(-)
> 
> diff --git a/test_plans/index.rst b/test_plans/index.rst index e6005da..2cbcdd5
> 100644
> --- a/test_plans/index.rst
> +++ b/test_plans/index.rst
> @@ -42,7 +42,7 @@ The following are the test plans for the DPDK DTS
> automated test system.
>      checksum_offload_test_plan
>      cloud_filter_test_plan
>      coremask_test_plan
> -    cryptodev_perf_crypto-perf_test_plan
> +    crypto_perf_cryptodev_perf_test_plan
>      ddp_gtp_qregion_test_plan
>      ddp_gtp_test_plan
>      ddp_mpls_test_plan
> @@ -117,7 +117,7 @@ The following are the test plans for the DPDK DTS
> automated test system.
>      shutdown_api_test_plan
>      sriov_kvm_test_plan
>      stability_test_plan
> -    sw_eventdev_pipeline_sample_test_plan
> +    eventdev_pipeline_test_plan
>      tso_test_plan
>      tx_preparation_test_plan
>      uni_pkt_test_plan
> @@ -125,6 +125,12 @@ The following are the test plans for the DPDK DTS
> automated test system.
>      vlan_ethertype_config_test_plan
>      vlan_test_plan
>      vxlan_test_plan
> +    af_xdp_test_plan
> +    l2fwd_jobstats_test_plan
> +    loadbalancer_test_plan
> +    loopback_multi_queues_test_plan
> +    telemetry_test_plan
> +
>      veb_switch_test_plan
>      vf_daemon_test_plan
>      vf_interrupt_pmd_test_plan
> @@ -143,10 +149,20 @@ The following are the test plans for the DPDK DTS
> automated test system.
>      vhost_qemu_mtu_test_plan
>      vhost_tso_test_plan
>      vhost_user_live_migration_test_plan
> -    virtio_1.0_test_plan
>      vm_power_manager_test_plan
>      vmdq_test_plan
> 
> +    virtio_1.0_test_plan
> +    vhost_enqueue_interrupt_test_plan
> +    vhost_event_idx_interrupt_test_plan
> +    vhost_virtio_pmd_interrupt_test_plan
> +    vhost_virtio_user_interrupt_test_plan
> +    virtio_event_idx_interrupt_test_plan
> +    virtio_ipsec_cryptodev_func_test_plan
> +    virtio_perf_cryptodev_func_test_plan
> +    vm2vm_virtio_net_perf_test_plan
> +    vm2vm_virtio_pmd_test_plan
> +
>      unit_tests_cmdline_test_plan
>      unit_tests_crc_test_plan
>      unit_tests_cryptodev_func_test_plan
> --
> 1.8.3.1


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

* Re: [dts] [PATCH V1 2/3] test_plans: fix build error/warning
  2019-04-30  7:46 ` [dts] [PATCH V1 2/3] test_plans: fix build error/warning Wenjie Li
@ 2019-04-30  7:47   ` Li, WenjieX A
  0 siblings, 0 replies; 7+ messages in thread
From: Li, WenjieX A @ 2019-04-30  7:47 UTC (permalink / raw)
  To: dts; +Cc: Li, WenjieX A

Tested-by: Li, WenjieX A <wenjiex.a.li@intel.com>

> -----Original Message-----
> From: Li, WenjieX A
> Sent: Tuesday, April 30, 2019 3:46 PM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts][PATCH V1 2/3] test_plans: fix build error/warning
> 
> fix build error/warning
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
>  test_plans/vhost_enqueue_interrupt_test_plan.rst   | 14 +++--
>  test_plans/vhost_event_idx_interrupt_test_plan.rst | 16 ++---
>  .../vhost_virtio_pmd_interrupt_test_plan.rst       | 14 ++---
>  .../virtio_ipsec_cryptodev_func_test_plan.rst      | 72 ++++++++++++++--------
>  .../virtio_perf_cryptodev_func_test_plan.rst       | 44 ++++++++-----
>  5 files changed, 99 insertions(+), 61 deletions(-)
> 
> diff --git a/test_plans/vhost_enqueue_interrupt_test_plan.rst
> b/test_plans/vhost_enqueue_interrupt_test_plan.rst
> index de482b3..93ff7cb 100644
> --- a/test_plans/vhost_enqueue_interrupt_test_plan.rst
> +++ b/test_plans/vhost_enqueue_interrupt_test_plan.rst
> @@ -50,9 +50,10 @@ Test Case1:  Wake up vhost-user core with l3fwd-power
> sample
> 
>  1. Launch virtio-user with server mode::
> 
> -  ./testpmd -l 7-8 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci --file-
> prefix=virtio --
> vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queu
> es=1 -- -i
> +    ./testpmd -l 7-8 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci --file-
> prefix=virtio \
> +
> + --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1
> + ,queues=1 -- -i
> 
> -2.  Build l3fwd-power sample and launch l3fwd-power with a virtual vhost
> device::
> +2. Build l3fwd-power sample and launch l3fwd-power with a virtual vhost
> device::
> 
>      ./l3fwd-power -l 0-3 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci \
>      --vdev 'eth_vhost0,iface=/tmp/sock0,queues=1,client=1' -- -p 0x1 --parse-
> ptype 1 --config "(0,0,2)"
> @@ -69,12 +70,13 @@ Test Case2:  Wake up vhost-user cores with l3fwd-
> power sample when multi queues
> 
>  1. Launch virtio-user with server mode::
> 
> -  ./testpmd -l 1-5 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci --file-
> prefix=virtio --
> vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queu
> es=4 -- -i --rxq=4 --txq=4 --rss-ip
> +    ./testpmd -l 1-5 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci --file-
> prefix=virtio \
> +
> + --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1
> + ,queues=4 -- -i --rxq=4 --txq=4 --rss-ip
> 
> -2.  Build l3fwd-power sample and launch l3fwd-power with a virtual vhost
> device::
> +2. Build l3fwd-power sample and launch l3fwd-power with a virtual vhost
> device::
> 
> -    ./l3fwd-power -l 9-12 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci\
> -    --log-level=9 --vdev 'eth_vhost0,iface=/tmp/sock0,queues=4,client=1' -- -p
> 0x1 --parse-ptype 1 \
> +    ./l3fwd-power -l 9-12 -n 4 --socket-mem 1024,1024 --legacy-mem --no-pci --
> log-level=9 \
> +    --vdev 'eth_vhost0,iface=/tmp/sock0,queues=4,client=1' -- -p 0x1
> + --parse-ptype 1 \
>      --config "(0,0,9),(0,1,10),(0,2,11),(0,3,12)"
> 
>  3. Send packet by testpmd, check vhost-user multi-cores will keep wakeup
> status::
> diff --git a/test_plans/vhost_event_idx_interrupt_test_plan.rst
> b/test_plans/vhost_event_idx_interrupt_test_plan.rst
> index af75c33..e785755 100644
> --- a/test_plans/vhost_event_idx_interrupt_test_plan.rst
> +++ b/test_plans/vhost_event_idx_interrupt_test_plan.rst
> @@ -77,14 +77,14 @@ Test Case 1: wake up vhost-user core with event idx
> interrupt mode
>      --parse-ptype 1 \
>      --config "(0,0,1)"
> 
> -3.  On VM, set ip for virtio device and send packets to vhost by cmds::
> +4. On VM, set ip for virtio device and send packets to vhost by cmds::
> 
>      ifconfig [ens3] 1.1.1.2
>      #[ens3] is the virtual device name
>      ping 1.1.1.3
>      #send packets to vhost
> 
> -4. Check vhost related core is waked up by reading l3fwd-power log.
> +5. Check vhost related core is waked up by reading l3fwd-power log.
> 
>  Test Case 2: wake up vhost-user cores with event idx interrupt mode 16 queues
> test
> =================================================================
> =================
> @@ -119,12 +119,12 @@ Test Case 2: wake up vhost-user cores with event idx
> interrupt mode 16 queues te
>      --parse-ptype 1 \
>      --config
> "(0,0,1),(0,1,2),(0,2,3),(0,3,4),(0,4,5),(0,5,6),(0,6,7),(0,7,8),(0,8,9),(0,9,10),(0,10,1
> 1),(0,11,12),(0,12,13),(0,13,14),(0,14,15),(0,15,16)"
> 
> -3.  Set vitio-net with 16 quques and give vitio-net ip address::
> +4. Set vitio-net with 16 quques and give vitio-net ip address::
> 
>      ethtool -L [ens3] combined 16    # [ens3] is the name of virtio-net
>      ifconfig [ens3] 1.1.1.1
> 
> -4.  Send packets with different IPs from virtio-net, notice to bind each vcpu to
> different send packets process::
> +5. Send packets with different IPs from virtio-net, notice to bind each vcpu to
> different send packets process::
> 
>      taskset -c 0 ping 1.1.1.2
>      taskset -c 1 ping 1.1.1.3
> @@ -143,11 +143,11 @@ Test Case 2: wake up vhost-user cores with event idx
> interrupt mode 16 queues te
>      taskset -c 14 ping 1.1.1.2
>      taskset -c 15 ping 1.1.1.2
> 
> -5.  Check vhost related cores are waked up with l3fwd-power log, such as
> following::
> +6. Check vhost related cores are waked up with l3fwd-power log, such as
> following::
> 
>      L3FWD_POWER: lcore 0 is waked up from rx interrupt on port 0 queue 0
> -    .....
> -    .....
> +    ...
> +    ...
>      L3FWD_POWER: lcore 15 is waked up from rx interrupt on port 0 queue 15
> 
>  Test Case 3: wake up vhost-user cores by multi virtio-net in VMs with event idx
> interrupt mode @@ -193,7 +193,7 @@ Test Case 3: wake up vhost-user cores
> by multi virtio-net in VMs with event idx
>      --parse-ptype 1 \
>      --config "(0,0,1),(1,0,2)"
> 
> -4.  On VM1, set ip for virtio device and send packets to vhost::
> +4. On VM1, set ip for virtio device and send packets to vhost::
> 
>      ifconfig [ens3] 1.1.1.2
>      #[ens3] is the virtual device name
> diff --git a/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst
> b/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst
> index b928748..03f4d50 100644
> --- a/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst
> +++ b/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst
> @@ -68,13 +68,13 @@ Test Case 1: Basic virtio interrupt test with 4 queues
> 
>  3. Bind virtio port to vfio-pci::
> 
> -	  modprobe vfio enable_unsafe_noiommu_mode=1
> -	  modprobe vfio-pci
> +	modprobe vfio enable_unsafe_noiommu_mode=1
> +	modprobe vfio-pci
>      ./usertools/dpdk-devbind.py --bind=vfio-pci xx:xx.x
> 
>  4. In VM, launch l3fwd-power sample::
> 
> -  ./l3fwd-power -c 0xf -n 4 --log-level='user1,7' -- -p 1 -P --
> config="(0,0,0),(0,1,1),(0,2,2),(0,3,3)" --no-numa --parse-ptype
> +    ./l3fwd-power -c 0xf -n 4 --log-level='user1,7' -- -p 1 -P
> + --config="(0,0,0),(0,1,1),(0,2,2),(0,3,3)" --no-numa --parse-ptype
> 
>  5. Send random dest ip address packets to host nic with packet generator,
> packets will distribute to all queues, check l3fwd-power log that all related cores
> are waked up.
> 
> @@ -101,7 +101,7 @@ Test Case 2: Basic virtio interrupt test with 16 queues
>       -device virtio-net-
> pci,mac=52:54:00:00:00:02,netdev=mynet2,mrg_rxbuf=on,csum=on,mq=on,vec
> tors=40  \
>       -vnc :11 -daemonize
> 
> -3   Bind virtio port to vfio-pci::
> +3. Bind virtio port to vfio-pci::
> 
>      modprobe vfio enable_unsafe_noiommu_mode=1
>      modprobe vfio-pci
> @@ -109,7 +109,7 @@ Test Case 2: Basic virtio interrupt test with 16 queues
> 
>  4. In VM, launch l3fwd-power sample::
> 
> -  ./l3fwd-power -c 0x0ffff -n 4 --log-level='user1,7' -- -p 1 -P  --config
> '(0,0,0),(0,1,1),(0,2,2),(0,3,3)(0,4,4),(0,5,5),(0,6,6),(0,7,7)(0,8,8),(0,9,9),(0,10,10),
> (0,11,11)(0,12,12),(0,13,13),(0,14,14),(0,15,15)' --no-numa  --parse-ptype
> +    ./l3fwd-power -c 0x0ffff -n 4 --log-level='user1,7' -- -p 1 -P
> + --config
> + '(0,0,0),(0,1,1),(0,2,2),(0,3,3)(0,4,4),(0,5,5),(0,6,6),(0,7,7)(0,8,8)
> + ,(0,9,9),(0,10,10),(0,11,11)(0,12,12),(0,13,13),(0,14,14),(0,15,15)'
> + --no-numa  --parse-ptype
> 
>  5. Send random dest ip address packets to host nic with packet generator,
> packets will distribute to all queues, check l3fwd-power log that all related cores
> are waked up.
> 
> @@ -136,7 +136,7 @@ Test Case 3: Basic virtio-1.0 interrupt test with 4 queues
>       -device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet2,disable-
> modern=false,mrg_rxbuf=on,csum=on,mq=on,vectors=15  \
>       -vnc :11 -daemonize
> 
> -3   Bind virtio port to vfio-pci::
> +3. Bind virtio port to vfio-pci::
> 
>      modprobe vfio enable_unsafe_noiommu_mode=1
>      modprobe vfio-pci
> @@ -144,7 +144,7 @@ Test Case 3: Basic virtio-1.0 interrupt test with 4 queues
> 
>  4. In VM, launch l3fwd-power sample::
> 
> -  ./l3fwd-power -c 0xf -n 4 --log-level='user1,7' -- -p 1 -P --
> config="(0,0,0),(0,1,1),(0,2,2),(0,3,3)" --no-numa --parse-ptype
> +    ./l3fwd-power -c 0xf -n 4 --log-level='user1,7' -- -p 1 -P
> + --config="(0,0,0),(0,1,1),(0,2,2),(0,3,3)" --no-numa --parse-ptype
> 
>  5. Send random dest ip address packets to host nic with packet generator,
> packets will distribute to all queues, check l3fwd-power log that all related cores
> are waked up.
> 
> diff --git a/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst
> b/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst
> index 74842ac..47dc332 100644
> --- a/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst
> +++ b/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst
> @@ -30,9 +30,9 @@
>     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
>     OF THE POSSIBILITY OF SUCH DAMAGE.
> 
> -=======================================
> +========================================
>  Cryptodev virtio ipsec Application Tests -
> =======================================
> +========================================
> 
> 
>  Description
> @@ -80,13 +80,15 @@ Prerequisites
>  =============
> 
>  qemu version >= 2.12
> -in qemu enable vhost-user-crypto:
> +in qemu enable vhost-user-crypto::
> +
>      ./configure --target-list=x86_64-softmmu --enable-vhost-crypto --
> prefix=/root/qemu-2.12 && make && make install
> +
>  the bin is in /root/qemu-2.12 folder, which is your specified
> 
> -The options of ipsec-secgw is below:
> +The options of ipsec-secgw is below::
> 
> -   ./build/ipsec-secgw [EAL options] --
> +    ./build/ipsec-secgw [EAL options] --
>                          -p PORTMASK -P -u PORTMASK -j FRAMESIZE
>                          -l -w REPLAY_WINOW_SIZE -e -a
>                          --config (port,queue,lcore)[,(port,queue,lcore]
> @@ -109,28 +111,37 @@ payload in packet by using algorithm setting in VM.
> the packet back to tester.
>  Use TCPDump to capture the received packet on tester. Then tester parses the
> payload  and compare the payload with correct answer pre-stored in scripts:
> 
> -   +----------+              +----------------------------------+
> -   |          |              |   +--------+        +--------+   |
> -   |          | -------------|-->|   VM0  | -----> |        |   |
> -   |  Tester  |              |   +--------+        |   VM1  |   |
> -   |          | <------------|-------------------> |        |   |
> -   |          |              |                     +--------+   |
> -   +----------+              +----------------------------------+
> +.. figure:: image/virtio_ipsec_cryptodev_func_test_plan.png
> 
>  In Host:
> -# Build DPDK and vhost_crypto app
> -      enable CONFIG_RTE_LIBRTE_VHOST in config/common_base
> -      make install -j T=x86_64-native-linuxapp-gcc
> -      make -C examples/vhost_crypto
> +
> +# Build DPDK and vhost_crypto app::
> +
> +    enable CONFIG_RTE_LIBRTE_VHOST in config/common_base
> +    make install -j T=x86_64-native-linuxapp-gcc
> +    make -C examples/vhost_crypto
> 
>  # Compile the latest qemu
> -# Run the dpdk vhost sample
> -    ./examples/vhost_crypto/build/vhost-crypto --socket-mem 2048,0 --legacy-
> mem -w 1a:01.0 -w 1c:01.0 -w 1e:01.0 --vdev
> crypto_scheduler_pmd_1,slave=0000:1a:01.0_qat_sym,slave=0000:1c:01.0_qat
> _sym,slave=0000:1e:01.0_qat_sym,mode=round-robin,ordering=enable -l
> 8,9,10,11,12 -n 6  -- --config "(9,0,0),(10,0,0),(11,0,0),(12,0,0)" --socket-file
> 9,/tmp/vm0_crypto0.sock --socket-file=10,/tmp/vm0_crypto1.sock --socket-
> file=11,/tmp/vm1_crypto0.sock --socket-file=12,/tmp/vm1_crypto1.sock
> 
> -# bind vfio-pci
> +# Run the dpdk vhost sample::
> +
> +    ./examples/vhost_crypto/build/vhost-crypto \
> +    --socket-mem 2048,0 --legacy-mem \
> +    -w 1a:01.0 -w 1c:01.0 -w 1e:01.0 \
> +    --vdev
> crypto_scheduler_pmd_1,slave=0000:1a:01.0_qat_sym,slave=0000:1c:01.0_qat
> _sym,slave=0000:1e:01.0_qat_sym,mode=round-robin,ordering=enable \
> +    -l 8,9,10,11,12 -n 6 \
> +    -- --config "(9,0,0),(10,0,0),(11,0,0),(12,0,0)" \
> +    --socket-file 9,/tmp/vm0_crypto0.sock  \
> +    --socket-file=10,/tmp/vm0_crypto1.sock \
> +    --socket-file=11,/tmp/vm1_crypto0.sock \
> +    --socket-file=12,/tmp/vm1_crypto1.sock
> +
> +# bind vfio-pci::
> +
>      usertools/dpdk-devbind.py --bind=vfio-pci 0000:60:00.0 0000:60:00.1
> 0000:3b:00.0 0000:3b:00.1
> 
> -# Start VM0 by the qemu
> +# Start VM0 by the qemu::
> +
>      taskset -c 11,12,13,14 /root/qemu-2/bin/qemu-system-x86_64  -name vm0 -
> enable-kvm -pidfile /tmp/.vm0.pid
>          -daemonize -monitor unix:/tmp/vm0_monitor.sock,server,nowait
>          -net nic,vlan=0,macaddr=00:00:00:42:65:aa,model=e1000,addr=1f -net
> user,vlan=0,hostfwd=tcp:10.67.111.126:6000-:22
> @@ -143,7 +154,8 @@ In Host:
>          -device vfio-pci,host=0000:3b:00.0,id=pt_0
>          -device vfio-pci,host=0000:3b:00.1,id=pt_1
> 
> -# Start VM1 by the qemu
> +# Start VM1 by the qemu::
> +
>      taskset -c 15,16,17,18 /root/qemu-2/bin/qemu-system-x86_64  -name vm1 -
> enable-kvm -pidfile /tmp/.vm1.pid
>          -daemonize -monitor unix:/tmp/vm1_monitor.sock,server,nowait
>          -net nic,vlan=0,macaddr=00:00:00:db:2e:f9,model=e1000,addr=1f -net
> user,vlan=0,hostfwd=tcp:10.67.111.126:6001-:22
> @@ -157,7 +169,9 @@ In Host:
>          -device vfio-pci,host=0000:60:00.1,id=pt_1
> 
>  In VM
> -# set virtio device
> +
> +# set virtio device::
> +
>      modprobe uio_pci_generic
>      echo -n 0000:00:04.0 > /sys/bus/pci/drivers/virtio-pci/unbind
>      echo -n 0000:00:05.0 > /sys/bus/pci/drivers/virtio-pci/unbind
> @@ -166,13 +180,19 @@ In VM
>  # Run the ipsec test cases cmd
> 
>      1. AESNI_MB case Command line Eg:
> -    In vm0:
> +    In vm0::
> +
>      ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -w
> 0000:00:06.0 -w 0000:00:07.0 --vdev crypto_aesni_mb_pmd_1 --vdev
> crypto_aesni_mb_pmd_2 -l 1,2,3 -n 4  -- -P  --config "(0,0,2),(1,0,3)" -u 0x1 -p
> 0x3 -f /root/ipsec_test0.cfg
> -    In vm1:
> +
> +    In vm1::
> +
>      ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -w
> 0000:00:06.0 -w 0000:00:07.0 --vdev crypto_aesni_mb_pmd_1 --vdev
> crypto_aesni_mb_pmd_2 -l 1,2,3 -n 4  -- -P  --config "(0,0,2),(1,0,3)" -u 0x1 -p
> 0x3 -f /root/ipsec_test1.cfg
> 
>      2. VIRTIO case Command line Eg:
> -    In vm0:
> +    In vm0::
> +
>      ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -w
> 0000:00:06.0 -w 0000:00:07.0 -w 00:04.0 -w 00:05.0 -l 1,2,3 -n 4  -- -P  --config
> "(0,0,2),(1,0,3)" -u 0x1 -p 0x3 -f /root/ipsec_test0.cfg
> -    In vm1:
> +
> +    In vm1::
> +
>      ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -w
> 0000:00:06.0 -w 0000:00:07.0 -w 00:04.0 -w 00:05.0 -l 1,2,3 -n 4  -- -P  --config
> "(0,0,2),(1,0,3)" -u 0x1 -p 0x3 -f /root/ipsec_test1.cfg diff --git
> a/test_plans/virtio_perf_cryptodev_func_test_plan.rst
> b/test_plans/virtio_perf_cryptodev_func_test_plan.rst
> index 74d38f6..3ad6543 100644
> --- a/test_plans/virtio_perf_cryptodev_func_test_plan.rst
> +++ b/test_plans/virtio_perf_cryptodev_func_test_plan.rst
> @@ -30,9 +30,9 @@
>     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
>     OF THE POSSIBILITY OF SUCH DAMAGE.
> 
> -=======================================
> +==============================================
>  Cryptodev virtio Performance Application Tests -
> =======================================
> +==============================================
> 
> 
>  Description
> @@ -55,7 +55,7 @@ Part of the algorithms are not supported currently.
>  +-----------+-------------------+--------------------------------------------------------------
> -------------+
>  | sha       |                   | sha1, sha2-224, sha2-384, sha2-256, sha2-512
> |
>  +-----------+-------------------+--------------------------------------------------------------
> -------------+
> -| hmac      |                   | Support sha implementations sha1, sha2-224, sha2-256,
> |
> +| hmac      |                   | Support sha implementations sha1, sha2-224, sha2-256,
> |
>  |           |                   |                                                                           |
>  |           |                   | sha2-384, sha2-512                                                        |
>  +-----------+-------------------+--------------------------------------------------------------
> -------------+
> @@ -71,7 +71,7 @@ Part of the algorithms are not supported currently.
>  +-----------+-------------------+--------------------------------------------------------------
> -------------+
>  | sha       |                   | sha1, sha2-224, sha2-384, sha2-256, sha2-512
> |
>  +-----------+-------------------+--------------------------------------------------------------
> -------------+
> -| hmac      |                   | Support sha implementations sha1, sha2-224, sha2-256,
> |
> +| hmac      |                   | Support sha implementations sha1, sha2-224, sha2-256,
> |
>  |           |                   |                                                                           |
>  |           |                   | sha2-384, sha2-512                                                        |
>  +-----------+-------------------+--------------------------------------------------------------
> -------------+
> @@ -81,8 +81,10 @@ Prerequisites
>  =============
> 
>  qemu version >= 2.12
> -in qemu enable vhost-user-crypto:
> +in qemu enable vhost-user-crypto::
> +
>      ./configure --target-list=x86_64-softmmu --enable-vhost-crypto --
> prefix=/root/qemu-2.12 && make && make install
> +
>  the bin is in /root/qemu-2.12 folder, which is your specified
> 
>  Test case setup:
> @@ -97,19 +99,24 @@ Test case setup:
>      +--------------+
> 
>  In Host:
> -# Build DPDK and vhost_crypto app
> +
> +# Build DPDK and vhost_crypto app::
> +
>        enable CONFIG_RTE_LIBRTE_VHOST in config/common_base
>        make install -j T=x86_64-native-linuxapp-gcc
>        make -C examples/vhost_crypto
> 
>  # Compile the latest qemu
> -# Run the dpdk vhost sample
> +# Run the dpdk vhost sample::
> +
>      ./examples/vhost_crypto/build/vhost-crypto --socket-mem 2048,0 --legacy-
> mem --vdev crypto_aesni_mb_pmd_1 -l 8,9,10 -n 4  -- --config "(9,0,0),(10,0,0)"
> --socket-file 9,/tmp/vm0_crypto0.sock --socket-file=10,/tmp/vm0_crypto1.sock
> 
> -# bind vfio-pci
> +# bind vfio-pci::
> +
>      usertools/dpdk-devbind.py --bind=vfio-pci 0000:60:00.0 0000:60:00.1
> 
> -# Start VM by the qemu
> +# Start VM by the qemu::
> +
>      taskset -c 11,12,13,14 /root/qemu-2/bin/qemu-system-x86_64  -name vm0
>          -enable-kvm -pidfile /tmp/.vm0.pid
>          -cpu host -smp 4
> @@ -127,7 +134,9 @@ In Host:
>          -device vfio-pci,host=0000:60:00.1,id=pt_1
> 
>  In VM:
> -# set virtio device
> +
> +# set virtio device::
> +
>      modprobe uio_pci_generic
>      echo -n 0000:00:04.0 > /sys/bus/pci/drivers/virtio-pci/unbind
>      echo -n 0000:00:05.0 > /sys/bus/pci/drivers/virtio-pci/unbind
> @@ -135,10 +144,17 @@ In VM:
> 
>  # Run the virtio performance test cases
> 
> -    1. The AESNI_MB case Command line Eg:
> +  1. The AESNI_MB case Command line Eg::
> 
> -    ./build/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_aesni_mb_pmd  -- --
> ptest throughput --devtype crypto_aesni_mb --optype cipher-then-auth  --
> cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16 --
> auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 --auth-aad-sz 0 --
> auth-digest-sz 20 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
> +      ./build/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_aesni_mb_pmd  \
> +      -- --ptest throughput --devtype crypto_aesni_mb --optype cipher-then-auth
> \
> +      --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16
> \
> +      --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 --auth-aad-sz 0
> \
> +      --auth-digest-sz 20 --total-ops 10000000 --burst-sz 32
> + --buffer-sz 1024
> 
> -    2. The VIRTIO case Command line Eg:
> +  2. The VIRTIO case Command line Eg::
> 
> -    ./build/app/dpdk-test-crypto-perf -c 0xf  -w 00:05.0 -- --ptest throughput --
> devtype crypto_qat --optype cipher-then-auth  --cipher-algo aes-cbc --cipher-op
> encrypt --cipher-key-sz 16 --cipher-iv-sz 16 --auth-algo sha1-hmac --auth-op
> generate --auth-key-sz 64 --auth-aad-sz 0 --auth-digest-sz 20 --total-ops
> 10000000 --burst-sz 32 --buffer-sz 1024
> +      ./build/app/dpdk-test-crypto-perf -c 0xf  -w 00:05.0 -- --ptest throughput \
> +      --devtype crypto_qat --optype cipher-then-auth  --cipher-algo aes-cbc --
> cipher-op encrypt \
> +      --cipher-key-sz 16 --cipher-iv-sz 16 --auth-algo sha1-hmac --auth-op
> generate --auth-key-sz 64 \
> +      --auth-aad-sz 0 --auth-digest-sz 20 --total-ops 10000000
> + --burst-sz 32 --buffer-sz 1024
> --
> 1.8.3.1


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

* Re: [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology
  2019-04-30  7:46 [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology Wenjie Li
                   ` (2 preceding siblings ...)
  2019-04-30  7:47 ` [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology Li, WenjieX A
@ 2019-05-13  7:46 ` Tu, Lijuan
  3 siblings, 0 replies; 7+ messages in thread
From: Tu, Lijuan @ 2019-05-13  7:46 UTC (permalink / raw)
  To: Li, WenjieX A, dts; +Cc: Li, WenjieX A

Applied the series. thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li
> Sent: Tuesday, April 30, 2019 3:46 PM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a
> PNG file to show the topology
> 
> use a PNG file to show the topology
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
>  .../image/virtio_ipsec_cryptodev_func_test_plan.png      | Bin 0 -> 2867
> bytes
>  1 file changed, 0 insertions(+), 0 deletions(-)  create mode 100644
> test_plans/image/virtio_ipsec_cryptodev_func_test_plan.png
> 
> diff --git a/test_plans/image/virtio_ipsec_cryptodev_func_test_plan.png
> b/test_plans/image/virtio_ipsec_cryptodev_func_test_plan.png
> new file mode 100644
> index
> 0000000000000000000000000000000000000000..d1439977a287ce10a091316f
> 46cf2b408985aaa3
> GIT binary patch
> literal 2867
> zcmbVOdpy&7AOBHuBy>3Eags~t6i%t+$Zd>Vay_hAMloHSlH0_XF-
> E+ogu+sxS&rQA
> zxz5a~j!|MI<T8?@HM6ZXmzZtO$dl(huT$r|o<Dw<@9+2hd_LdL`*V9=KH_30w^
> ?N~
> z0043h_BO5nAekb5zx$P>_<ryH)@<=ZBFxp!3aIQ+Wr!CW&sjQK0zgf=?D8oo@
> meOt
> z-
> ZKmU6p<^J#MoJlNC4Q}>0o0CjfAskEc6ISaTE2$)J3oKvJ3i+H@#wI6}NeQZQm1T
> zLZ_H#*vocqi9=0!kC0<G0E_m1K&QRchC{ZBD!@+}RN&h6#7%KmcO3+LcM&9Z
> ?39rM
> zwmJO$780H+iiyEs1V&)OMaKpg>G=AkOiL?@Th{<%N3|BA>X7D%qJ;L_iEWa&z
> &v@$
> z0J`?<0=>!^Ki((TYQOq#_>T6&9z3D3$Pm)qKZXgPQ1W2TNWru#ZwUL#Qg{~D<D
> EEC
> zu`d(3)gzM%%g?Cjvpnf+<rDwWT4&-
> WAZ_PAJ8{8+(l7!vnzAN2zQlkIix>M#6Wm=K
> z3>-_3`lFH^-$w2kYKd47;fig=-
> &pJ;GHMXb6N79aS+W1e65A4*+8)AWi7#`QCW75n
> z(d_@Ro@lL!G{Xhbn$?zt%k>Oibjt*O_0R7x>(z6L4dhG)YdG-
> ;NK%<Bzt}e@%auhX
> z|M1s(yor2~BedXGmBI*Aabj9gMnwQh<a60S3tI4kEsvvep|#<lugV?X>Kyqq$j5!
> H
> zHUO0CpAF?(LE^lAe)Q3<fy3d|&A2}2$R(z=hEJapz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a4%+Ts_Z`<J%XS&e~AjMUoEl~e%Zv@bKWC<}t%M$#HZN?A_TbSeBiU*ah(
> @p*&y
> zdO3_u@LyNCR8Vi`DS9t;#4ShrjX$ET<(*7<`258(C76?Fy8rh@JOS~?WBC8eIsPHT
> dG$&(43cp0uvvm>Cd@<1l91gqKR9c<9_-|z#e;xn;
> 
> literal 0
> HcmV?d00001
> 
> --
> 1.8.3.1


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

end of thread, other threads:[~2019-05-13  7:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-30  7:46 [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology Wenjie Li
2019-04-30  7:46 ` [dts] [PATCH V1 2/3] test_plans: fix build error/warning Wenjie Li
2019-04-30  7:47   ` Li, WenjieX A
2019-04-30  7:46 ` [dts] [PATCH V1 3/3] test_plans/index: fix build warning Wenjie Li
2019-04-30  7:47   ` Li, WenjieX A
2019-04-30  7:47 ` [dts] [PATCH V1 1/3] test_plans/virtio_ipsec_cryptodev_func: use a PNG file to show the topology Li, WenjieX A
2019-05-13  7:46 ` Tu, Lijuan

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