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 1/4] conf: modify cryptodev virtio perf test plan
Date: Tue, 18 Aug 2020 15:52:52 +0800	[thread overview]
Message-ID: <20200818075255.19830-1-xinfengx.zhao@intel.com> (raw)

1. add the step to enable common_base items
2. Revise plan format

Signed-off-by: xinfeng zhao <xinfengx.zhao@intel.com>
---
 .../virtio_perf_cryptodev_func_test_plan.rst  | 26 ++++++++++++-------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/test_plans/virtio_perf_cryptodev_func_test_plan.rst b/test_plans/virtio_perf_cryptodev_func_test_plan.rst
index 3ad6543..3f58135 100644
--- a/test_plans/virtio_perf_cryptodev_func_test_plan.rst
+++ b/test_plans/virtio_perf_cryptodev_func_test_plan.rst
@@ -100,18 +100,17 @@ 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
 
-# Compile the latest qemu
+# Build DPDK and app vhost_crypto
+
 # 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 vf or pf with driver vfio-pci::
 
     usertools/dpdk-devbind.py --bind=vfio-pci 0000:60:00.0 0000:60:00.1
 
@@ -135,6 +134,11 @@ In Host:
 
 In VM:
 
+# enable config items in dpdk and compile dpdk:
+
+    enable CONFIG_RTE_EAL_IGB_UIO in config/common_base
+    enable CONFIG_RTE_LIBRTE_PMD_AESNI_MB in config/common_base
+
 # set virtio device::
 
     modprobe uio_pci_generic
@@ -142,9 +146,10 @@ In VM:
     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
 
-# Run the virtio performance test cases
+Test Case: Cryptodev AESNI_MB test
+==================================
 
-  1. The AESNI_MB case Command line Eg::
+command::
 
       ./build/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_aesni_mb_pmd  \
       -- --ptest throughput --devtype crypto_aesni_mb --optype cipher-then-auth  \
@@ -152,9 +157,12 @@ In VM:
       --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::
+Test Case: Cryptodev VIRTIO test
+================================
+
+command::
 
       ./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 \
+      --devtype crypto_virtio --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.17.1


             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 xinfeng zhao [this message]
2020-08-18  7:52 ` [dts] [PATCH V1 2/4] conf: modify cryptodev virtio ipsec " xinfeng zhao
2020-08-18  7:52 ` [dts] [PATCH V1 3/4] conf: modify cryptodev virtio unit " xinfeng zhao
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-1-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).