test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Zhao, XinfengX" <xinfengx.zhao@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH 4/4] conf: modify the config files for cryptodev virtio test suites
Date: Tue, 3 Mar 2020 08:33:31 +0000	[thread overview]
Message-ID: <275f740a75fd4035a8a5e752bc5b9eda@intel.com> (raw)
In-Reply-To: <20200302225836.26508-4-xinfengx.zhao@intel.com>

Tested-by:  Zhao, Xinfeng<xinfengx.zhao@intel.com>

-----Original Message-----
From: Zhao, XinfengX 
Sent: Tuesday, March 3, 2020 6:59 AM
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts][PATCH 4/4] conf: modify the config files for cryptodev virtio test suites

Signed-off-by: xinfengx <xinfengx.zhao@intel.com>
---
 conf/virtio_ipsec_cryptodev_func.cfg | 27 +++++++++++----------------  conf/virtio_perf_cryptodev_func.cfg  | 17 +++++------------  conf/virtio_unit_cryptodev_func.cfg  | 16 +++++-----------
 3 files changed, 21 insertions(+), 39 deletions(-)

diff --git a/conf/virtio_ipsec_cryptodev_func.cfg b/conf/virtio_ipsec_cryptodev_func.cfg
index 0b51b7d..de6724d 100644
--- a/conf/virtio_ipsec_cryptodev_func.cfg
+++ b/conf/virtio_ipsec_cryptodev_func.cfg
@@ -2,20 +2,17 @@
 # Cryptodev common options qat device id  crypto_dev_id="37c9"
 
-# PCI Pass-through
-vfio_pci="0000:60:00.0 0000:60:00.1 0000:3b:00.0 0000:3b:00.1"
-
 # default crypto device and sw device config -w="0000:1a:01.0"
 vdev="crypto_aesni_mb_pmd_1 --vdev crypto_aesni_mb_pmd_2"
+w="0000:00:00.0"
 
 [vm0]
 qemu =
-    path=/root/qemu-2/bin/qemu-system-x86_64;
+    path=/opt/qemu-2.12.0/bin/qemu-system-x86_64;
 cpu =
     model=host,number=4,cpupin=11 12 13 14;  mem =
-    size=5120,hugepage=yes;
+    size=4096,hugepage=yes;
 crypto =
     enable=yes,opt_num=2;
 daemon =
@@ -23,20 +20,19 @@ daemon =
 login =
     user=root,password=tester;
 disk =
-    file=/root/VMs/virtio_crypto_test_710_1.img;
+    file=/home/image/ubuntu16-0.img;
 vnc =
     displayNum=1;
-device =
-    driver=vfio-pci,opt_host=0000:3b:00.0;
-    driver=vfio-pci,opt_host=0000:3b:00.1;
+start =
+    wait_seconds=200;
 
 [vm1]
 qemu =
-    path=/root/qemu-2/bin/qemu-system-x86_64;
+    path=/opt/qemu-2.12.0/bin/qemu-system-x86_64;
 cpu =
     model=host,number=4,cpupin=15 16 17 18;  mem =
-    size=5120,hugepage=yes;
+    size=4096,hugepage=yes;
 crypto =
     enable=yes,opt_num=2;
 daemon =
@@ -44,9 +40,8 @@ daemon =
 login =
     user=root,password=tester;
 disk =
-    file=/root/VMs/virtio_crypto_test_710_2.img;
+    file=/home/image/ubuntu16-1.img;
 vnc =
     displayNum=2;
-device =
-    driver=vfio-pci,opt_host=0000:60:00.0;
-    driver=vfio-pci,opt_host=0000:60:00.1;
+start =
+    wait_seconds=200;
diff --git a/conf/virtio_perf_cryptodev_func.cfg b/conf/virtio_perf_cryptodev_func.cfg
index cdadf31..0cd766b 100644
--- a/conf/virtio_perf_cryptodev_func.cfg
+++ b/conf/virtio_perf_cryptodev_func.cfg
@@ -2,12 +2,9 @@
 # Cryptodev common options qat device id  crypto_dev_id="37c9"
 
-# PCI Pass-through
-vfio_pci="0000:60:00.0 0000:60:00.1"
-
-# Vhost-crypto option config
-w="0000:1a:01.0"
+# default crypto device and sw device config
 vdev="crypto_aesni_mb_pmd_1"
+w="0000:00:00.0"
 
 [test_aesni_mb_aes_cbc_sha1_hmac]
 buffer-sz="64,128,256,512,1024,2048"
@@ -30,7 +27,6 @@ total-ops=100000
 buffer-sz="64,128,256,512,1024,2048"
 l="0,1"
 socket-mem="512,0"
-w="00:05.0"
 optype="cipher-then-auth"
 devtype="crypto_virtio"
 cipher-algo="aes-cbc"
@@ -45,11 +41,11 @@ total-ops=100000
 
 [vm0]
 qemu =
-    path=/root/qemu-2/bin/qemu-system-x86_64;
+    path=/opt/qemu-2.12.0/bin/qemu-system-x86_64;
 cpu =
     model=host,number=4,cpupin=11 12 13 14;  mem =
-    size=5120,hugepage=yes;
+    size=4096,hugepage=yes;
 crypto =
     enable=yes,opt_num=2;
 daemon =
@@ -57,9 +53,6 @@ daemon =
 login =
     user=root,password=tester;
 disk =
-    file=/root/VMs/virtio_crypto_test_710_1.img;
+    file=/home/image/ubuntu16-0.img;
 vnc =
     displayNum=1;
-device =
-    driver=vfio-pci,opt_host=0000:60:00.0;
-    driver=vfio-pci,opt_host=0000:60:00.1;
diff --git a/conf/virtio_unit_cryptodev_func.cfg b/conf/virtio_unit_cryptodev_func.cfg
index f8165bd..53611e3 100644
--- a/conf/virtio_unit_cryptodev_func.cfg
+++ b/conf/virtio_unit_cryptodev_func.cfg
@@ -2,20 +2,17 @@
 # Cryptodev common options qat device id  crypto_dev_id="37c9"
 
-# PCI Pass-through
-vfio_pci="0000:60:00.0 0000:60:00.1"
-
-# Vhost-crypto option config
-w="0000:1a:01.0"
+# default crypto device and sw device config
 vdev="crypto_aesni_mb_pmd_1"
+w="0000:00:00.0"
 
 [vm0]
 qemu =
-    path=/root/qemu-2/bin/qemu-system-x86_64;
+    path=/opt/qemu-2.12.0/bin/qemu-system-x86_64;
 cpu =
     model=host,number=4,cpupin=11 12 13 14;  mem =
-    size=5120,hugepage=yes;
+    size=4096,hugepage=yes;
 crypto =
     enable=yes,opt_num=2;
 daemon =
@@ -23,9 +20,6 @@ daemon =
 login =
     user=root,password=tester;
 disk =
-    file=/root/VMs/virtio_crypto_test_710_1.img;
+    file=/home/image/ubuntu16-0.img;
 vnc =
     displayNum=1;
-device =
-    driver=vfio-pci,opt_host=0000:60:00.0;
-    driver=vfio-pci,opt_host=0000:60:00.1;
--
2.17.1


  reply	other threads:[~2020-03-03  8:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 22:58 [dts] [PATCH 1/4] tests: modify the suite of cryptodev virtio unit-test xinfengx
2020-03-02 22:58 ` [dts] [PATCH 2/4] tests: modify the suite of cryptodev virtio perf test xinfengx
2020-03-02 22:58 ` [dts] [PATCH 3/4] tests: modify the suite of cryptodev virtio ipsec test xinfengx
2020-03-02 22:58 ` [dts] [PATCH 4/4] conf: modify the config files for cryptodev virtio test suites xinfengx
2020-03-03  8:33   ` Zhao, XinfengX [this message]
2020-03-11  4:31 ` [dts] [PATCH 1/4] tests: modify the suite of cryptodev virtio unit-test 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=275f740a75fd4035a8a5e752bc5b9eda@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).