test suite reviews and discussions
 help / color / mirror / Atom feed
From: xinfeng zhao <xinfengx.zhao@intel.com>
To: dts@dpdk.org
Cc: xinfeng zhao <xinfengx.zhao@intel.com>
Subject: [dts] [PATCH V1 3/4] conf: modify cryptodev virtio unit test plan
Date: Tue, 18 Aug 2020 15:52:54 +0800	[thread overview]
Message-ID: <20200818075255.19830-3-xinfengx.zhao@intel.com> (raw)
In-Reply-To: <20200818075255.19830-1-xinfengx.zhao@intel.com>

Signed-off-by: xinfeng zhao <xinfengx.zhao@intel.com>
---
 .../virtio_unit_cryptodev_func_test_plan.rst  | 23 ++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/test_plans/virtio_unit_cryptodev_func_test_plan.rst b/test_plans/virtio_unit_cryptodev_func_test_plan.rst
index 3615cb2..d08da69 100644
--- a/test_plans/virtio_unit_cryptodev_func_test_plan.rst
+++ b/test_plans/virtio_unit_cryptodev_func_test_plan.rst
@@ -51,10 +51,9 @@ Unit Test List
 Prerequisites
 =============
 
-qemu version >= 2.12
-in qemu enable vhost-user-crypto:
+qemu version >= 2.12 and enable vhost-user-crypto::
 
-./configure --target-list=x86_64-softmmu --enable-vhost-crypto --prefix=/root/qemu-2.12 && make && make install
+      ./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
 
@@ -71,13 +70,13 @@ Test Case Setup
 
 In Host:
 
-# Build DPDK and vhost_crypto app
+# Enable config item in dpdk:
 
       enable CONFIG_RTE_LIBRTE_VHOST in config/common_base
-      make install -j T=x86_64-native-linuxapp-gcc
-      make -C examples/vhost_crypto
 
-# Run the dpdk vhost sample
+# Build DPDK and app vhost_crypto
+
+# Run the dpdk vhost sample::
 
       ./examples/vhost_crypto/build/vhost-crypto --file-prefix="vhost_crypto_1"
           [EAL options]
@@ -85,11 +84,11 @@ In Host:
           -- --cdev-queue-id 0
           --socket-file THE PATH OF SOCKET FILE
 
-# bind vfio-pci
+# bind vf or pf with driver 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.12/bin/qemu-system-x86_64  -name vm0
           -enable-kvm -pidfile /tmp/.vm0.pid
@@ -108,16 +107,14 @@ In Host:
 
 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
       echo "1af4 1054" > /sys/bus/pci/drivers/uio_pci_generic/new_id
 
-# Build the guest DPDK and app/test
-
-# Manually verify the app/test by this command, as example, in your build folder:
+# Manually verify the app/test by this command, as example, in your build folder::
 
       ./app/test -c 1 -n 1
       RTE>> cryptodev_virtio_autotest
-- 
2.17.1


  parent reply	other threads:[~2020-08-18  7:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18  7:52 [dts] [PATCH V1 1/4] conf: modify cryptodev virtio perf " xinfeng zhao
2020-08-18  7:52 ` [dts] [PATCH V1 2/4] conf: modify cryptodev virtio ipsec " xinfeng zhao
2020-08-18  7:52 ` xinfeng zhao [this message]
2020-08-18  7:52 ` [dts] [PATCH V1 4/4] tests: remove unnecessary common_base modification and build xinfeng zhao
2020-08-18  7:59   ` Zhao, XinfengX
2020-08-21  3:39 ` [dts] [PATCH V1 1/4] conf: modify cryptodev virtio perf test plan Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200818075255.19830-3-xinfengx.zhao@intel.com \
    --to=xinfengx.zhao@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).