test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1 0/3] test_plans/cryptodev_fips_l2fwd_ipsec_*: fix dpdk app/examples name to adapt meson build
@ 2021-12-10  3:49 Yu Jiang
  2021-12-10  3:49 ` [dts][PATCH V1 1/3] test_plans/virtio_*_cryptodev_func: " Yu Jiang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yu Jiang @ 2021-12-10  3:49 UTC (permalink / raw)
  To: lijuan.tu, dts; +Cc: Yu Jiang

*** BLURB HERE ***

Yu Jiang (3):
  test_plans/virtio_*_cryptodev_func: fix dpdk app/examples name to
    adapt meson build
  test_plans/compressdev_isal/qat_zlib_pmd: fix dpdk app/examples name
    to adapt meson build
  test_plans/crypto_fips_ipsec_l2fwd_cryptodev: fix dpdk app/examples
    name to adapt meson build

 test_plans/compressdev_isal_pmd_test_plan.rst      | 44 +++++++++++----
 test_plans/compressdev_qat_pmd_test_plan.rst       | 58 +++++++++++++------
 test_plans/compressdev_zlib_pmd_test_plan.rst      | 38 +++++++++++--
 .../crypto_perf_cryptodev_perf_test_plan.rst       | 66 ++++++++++++++--------
 test_plans/fips_cryptodev_test_plan.rst            | 45 +++++++--------
 test_plans/ipsec_gw_cryptodev_func_test_plan.rst   | 41 +++++++++++---
 test_plans/l2fwd_cryptodev_func_test_plan.rst      | 51 +++++++++++++----
 test_plans/unit_tests_cryptodev_func_test_plan.rst | 10 +++-
 .../virtio_ipsec_cryptodev_func_test_plan.rst      | 31 +++++-----
 .../virtio_perf_cryptodev_func_test_plan.rst       | 20 ++++---
 .../virtio_unit_cryptodev_func_test_plan.rst       | 14 +++--
 11 files changed, 294 insertions(+), 124 deletions(-)

-- 
2.7.4


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

* [dts][PATCH V1 1/3] test_plans/virtio_*_cryptodev_func: fix dpdk app/examples name to adapt meson build
  2021-12-10  3:49 [dts][PATCH V1 0/3] test_plans/cryptodev_fips_l2fwd_ipsec_*: fix dpdk app/examples name to adapt meson build Yu Jiang
@ 2021-12-10  3:49 ` Yu Jiang
  2021-12-10  3:49 ` [dts][PATCH V1 2/3] test_plans/compressdev_isal/qat_zlib_pmd: " Yu Jiang
  2021-12-10  3:49 ` [dts][PATCH V1 3/3] test_plans/crypto_fips_ipsec_l2fwd_cryptodev: " Yu Jiang
  2 siblings, 0 replies; 5+ messages in thread
From: Yu Jiang @ 2021-12-10  3:49 UTC (permalink / raw)
  To: lijuan.tu, dts; +Cc: Yu Jiang

fix dpdk app/examples name to adapt meson build

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 .../virtio_ipsec_cryptodev_func_test_plan.rst      | 31 +++++++++++++---------
 .../virtio_perf_cryptodev_func_test_plan.rst       | 20 ++++++++------
 .../virtio_unit_cryptodev_func_test_plan.rst       | 14 ++++++----
 3 files changed, 39 insertions(+), 26 deletions(-)

diff --git a/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst b/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst
index 58267ba..15e1a79 100644
--- a/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst
+++ b/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst
@@ -88,7 +88,7 @@ the bin is in /root/qemu-2.12 folder, which is your specified
 
 The options of ipsec-secgw is below::
 
-    ./build/ipsec-secgw [EAL options] --
+    ./build/examples/dpdk-ipsec-secgw [EAL options] --
                         -p PORTMASK -P -u PORTMASK -j FRAMESIZE
                         -l -a REPLAY_WINOW_SIZE -e -a
                         --config (port,queue,lcore)[,(port,queue,lcore]
@@ -115,15 +115,19 @@ and compare the payload with correct answer pre-stored in scripts:
 
 In Host:
 
-# Enable config item in dpdk:
+# Enable config item by default in dpdk::
 
-      enable CONFIG_RTE_LIBRTE_VHOST in config/common_base
+# Build DPDK and app vhost_crypto::
 
-# Build DPDK and app vhost_crypto
+      CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+      ninja -C x86_64-native-linuxapp-gcc -j 110
+
+      meson configure -Dexamples=vhost_crypto x86_64-native-linuxapp-gcc
+      ninja -C x86_64-native-linuxapp-gcc
 
 # Run the dpdk vhost sample::
 
-    ./examples/vhost_crypto/build/vhost-crypto \
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-vhost_crypto \
     --socket-mem 2048,0 --legacy-mem \
     -a 1a:01.0 -a 1c:01.0 -a 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 \
@@ -168,11 +172,12 @@ In Host:
 
 In VM:
 
-# enable config items, compile dpdk and app:
+# enable config items, compile dpdk and app ipsec-secgw:
 
-    enable CONFIG_RTE_EAL_IGB_UIO in config/common_base
-    enable CONFIG_RTE_LIBRTE_PMD_AESNI_MB in config/common_base
-    compile dpdk and compile test app "ipsec-secgw"
+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc -j 10
+    meson configure -Dexamples=ipsec-secgw x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc
 
 # set virtio device::
 
@@ -186,11 +191,11 @@ Test Case: Cryptodev AESNI_MB test
 
 In vm0::
 
-    ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -a 0000:00:06.0 -a 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
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-ipsec-secgw --socket-mem 1024,0  -a 0000:00:06.0 -a 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::
 
-    ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -a 0000:00:06.0 -a 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
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-ipsec-secgw --socket-mem 1024,0  -a 0000:00:06.0 -a 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
 
 send packets and verify
 
@@ -199,10 +204,10 @@ Test Case: Cryptodev VIRTIO test
 
 In vm0::
 
-    ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 1024,0  -a 0000:00:06.0 -a 0000:00:07.0 -a 00:04.0 -a 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
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-ipsec-secgw --socket-mem 1024,0  -a 0000:00:06.0 -a 0000:00:07.0 -a 00:04.0 -a 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::
 
-    ./examples/ipsec-secgw/ibuild/ipsec-secgw --socket-mem 1024,0  -a 0000:00:06.0 -a 0000:00:07.0 -a 00:04.0 -a 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
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-ipsec-secgw --socket-mem 1024,0  -a 0000:00:06.0 -a 0000:00:07.0 -a 00:04.0 -a 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
 
 send packets and verify
diff --git a/test_plans/virtio_perf_cryptodev_func_test_plan.rst b/test_plans/virtio_perf_cryptodev_func_test_plan.rst
index 816425b..93dad99 100644
--- a/test_plans/virtio_perf_cryptodev_func_test_plan.rst
+++ b/test_plans/virtio_perf_cryptodev_func_test_plan.rst
@@ -100,15 +100,19 @@ Test case setup:
 
 In Host:
 
-# Enable config item in dpdk:
+# Enable config item(RTE_LIB_VHOST) by default in dpdk:
 
-      enable CONFIG_RTE_LIBRTE_VHOST in config/common_base
+# Build DPDK and app vhost_crypto::
 
-# Build DPDK and app vhost_crypto
+      CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+      ninja -C x86_64-native-linuxapp-gcc -j 110
+
+      meson configure -Dexamples=vhost_crypto x86_64-native-linuxapp-gcc
+      ninja -C x86_64-native-linuxapp-gcc
 
 # 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
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-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 vf or pf with driver vfio-pci::
 
@@ -136,8 +140,8 @@ 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
+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc -j 10
 
 # set virtio device::
 
@@ -151,7 +155,7 @@ Test Case: Cryptodev AESNI_MB test
 
 command::
 
-      ./build/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_aesni_mb_pmd  \
+      ./x86_64-native-linuxapp-gcc/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 \
@@ -162,7 +166,7 @@ Test Case: Cryptodev VIRTIO test
 
 command::
 
-      ./build/app/dpdk-test-crypto-perf -c 0xf  -a 00:05.0 -- --ptest throughput \
+      ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -c 0xf  -a 00:05.0 -- --ptest throughput \
       --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
diff --git a/test_plans/virtio_unit_cryptodev_func_test_plan.rst b/test_plans/virtio_unit_cryptodev_func_test_plan.rst
index d08da69..e7d23a5 100644
--- a/test_plans/virtio_unit_cryptodev_func_test_plan.rst
+++ b/test_plans/virtio_unit_cryptodev_func_test_plan.rst
@@ -70,15 +70,19 @@ Test Case Setup
 
 In Host:
 
-# Enable config item in dpdk:
-
-      enable CONFIG_RTE_LIBRTE_VHOST in config/common_base
+# Enable config item by default in dpdk:
 
 # Build DPDK and app vhost_crypto
 
+      CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+      ninja -C x86_64-native-linuxapp-gcc -j 110
+
+      meson configure -Dexamples=vhost_crypto x86_64-native-linuxapp-gcc
+      ninja -C x86_64-native-linuxapp-gcc
+
 # Run the dpdk vhost sample::
 
-      ./examples/vhost_crypto/build/vhost-crypto --file-prefix="vhost_crypto_1"
+      ./x86_64-native-linuxapp-gcc/examples/dpdk-vhost_crypto --file-prefix="vhost_crypto_1"
           [EAL options]
           [Cryptodev PMD]
           -- --cdev-queue-id 0
@@ -116,7 +120,7 @@ In VM:
 
 # Manually verify the app/test by this command, as example, in your build folder::
 
-      ./app/test -c 1 -n 1
+      ./x86_64-native-linuxapp-gcc/app/test/dpdk-test -c 1 -n 1 --log-level 6 -- -l 1,2,3 --vdev crypto_virtio
       RTE>> cryptodev_virtio_autotest
 
 Expected all tests could pass in testing.
-- 
2.7.4


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

* [dts][PATCH V1 2/3] test_plans/compressdev_isal/qat_zlib_pmd: fix dpdk app/examples name to adapt meson build
  2021-12-10  3:49 [dts][PATCH V1 0/3] test_plans/cryptodev_fips_l2fwd_ipsec_*: fix dpdk app/examples name to adapt meson build Yu Jiang
  2021-12-10  3:49 ` [dts][PATCH V1 1/3] test_plans/virtio_*_cryptodev_func: " Yu Jiang
@ 2021-12-10  3:49 ` Yu Jiang
  2021-12-10  3:49 ` [dts][PATCH V1 3/3] test_plans/crypto_fips_ipsec_l2fwd_cryptodev: " Yu Jiang
  2 siblings, 0 replies; 5+ messages in thread
From: Yu Jiang @ 2021-12-10  3:49 UTC (permalink / raw)
  To: lijuan.tu, dts; +Cc: Yu Jiang

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 17381 bytes --]

fix dpdk app/examples name to adapt meson build

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 test_plans/compressdev_isal_pmd_test_plan.rst | 44 ++++++++++++++------
 test_plans/compressdev_qat_pmd_test_plan.rst  | 58 +++++++++++++++++++--------
 test_plans/compressdev_zlib_pmd_test_plan.rst | 38 +++++++++++++++---
 3 files changed, 105 insertions(+), 35 deletions(-)

diff --git a/test_plans/compressdev_isal_pmd_test_plan.rst b/test_plans/compressdev_isal_pmd_test_plan.rst
index 6ea21b8..54f8c62 100644
--- a/test_plans/compressdev_isal_pmd_test_plan.rst
+++ b/test_plans/compressdev_isal_pmd_test_plan.rst
@@ -45,27 +45,47 @@ The supported Compression/Decompression algorithm:
     DEFLATE - using Fixed and Dynamic Huffman encoding
 
 For more details, please reference to dpdk online programming guide.
+http://doc.dpdk.org/guides/compressdevs/isal.html
 
 Prerequisites
 ----------------------
-In order to enable this virtual compression PMD, user must:
 
-    Set CONFIG_RTE_LIBRTE_PMD_ISAL=y in config/common_base.
+A compress performance test app is added into DPDK to test CompressDev.
+RTE_COMPRESS_ISAL and RTE_LIB_COMPRESSDEV is enabled by default in meson  build.
+Calgary corpus is a collection of text and binary data files, commonly used
+for comparing data compression algorithms.
 
-and enable compressdev unit test:
+Software
+--------
 
-    Set CONFIG_RTE_COMPRESSDEV_TEST=y in config/common_base.
+dpdk: http://dpdk.org/git/dpdk
+multi-buffer library: https://github.com/01org/intel-ipsec-mb
+Intel QuickAssist Technology Driver: https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches
+Intel’s ISA-L library: https://github.com/01org/isa-l
 
-A compress performance test app is added into DPDK to test CompressDev.
+General set up
+--------------
+1, Compile DPDK::
 
-Calgary corpus is a collection of text and binary data files, commonly used
-for comparing data compression algorithms.
+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc -j 110
+
+2, Get the pci device id of QAT::
+
+   ./dpdk/usertools/dpdk-devbind.py --status-dev crypto
+
+3, Bind QAT VF port to dpdk::
+
+   ./dpdk/usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:1a:01.0 0000:1a:01.1
+
+Test case
+=========
 
 Test Case: Compressdev ISA-L PMD Unit test
 ----------------------------------------------------------------
 Start test application and run isal pmd unit test::
 
-    ./app/test -l1 -n1 -a vdev_bus_id --vdev=compress_isal
+    ./x86_64-native-linuxapp-gcc/app/test/dpdk-test -l1 -n1 -a vdev_bus_id --vdev=compress_isal
     RTE>>compressdev_autotest
 
 Verify all test cases passed in the test.
@@ -74,7 +94,7 @@ Test Case: Compressdev ISA-L PMD fixed function test
 ---------------------------------------------------------
 Run Compressdev isal pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
     --vdev=compress_isal -- --driver-name compress_isal --input-file file_name \
     --compress-level level --num-iter number --huffman-enc fixed
 
@@ -86,7 +106,7 @@ Test Case: Compressdev ISA-L PMD dynamic function test
 ---------------------------------------------------------
 Run Compressdev isal pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
     --vdev=compress_isal -- --driver-name compress_isal --input-file file_name \
     --compress-level level --num-iter number --huffman-enc dynamic
 
@@ -98,7 +118,7 @@ Test Case: Compressdev ISA-L PMD fixed performance test
 -----------------------------------------------------------
 Run Compressdev isal pmd performance test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
     --vdev=compress_isal -- --driver-name compress_isal --input-file file_name \
     --compress-level level --seg-sz size --num-iter number --huffman-enc fixed
 
@@ -110,7 +130,7 @@ Test Case: Compressdev ISA-L PMD dynamic performance test
 ----------------------------------------------------------------
 Run Compressdev isal pmd performance test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
     --vdev=compress_isal -- --driver-name compress_isal --input-file file_name \
     --compress-level level --seg-sz size --num-iter number --huffman-enc dynamic
 
diff --git a/test_plans/compressdev_qat_pmd_test_plan.rst b/test_plans/compressdev_qat_pmd_test_plan.rst
index a23be22..61fb2ee 100644
--- a/test_plans/compressdev_qat_pmd_test_plan.rst
+++ b/test_plans/compressdev_qat_pmd_test_plan.rst
@@ -50,25 +50,49 @@ The supported Compression/Decompression algorithm:
     DEFLATE - using Fixed and Dynamic Huffman encoding
 
 For more details, please reference to dpdk online programming guide.
+http://doc.dpdk.org/guides/compressdevs/qat_comp.html
 
 Prerequisites
 ----------------------
 Intel QAT devices should be available in the platform.
-
-enable compressdev unit test:
-
-    Set CONFIG_RTE_COMPRESSDEV_TEST=y in config/common_base.
+The QAT compression PMD is built by default with a standard DPDK build
+It depends on a QAT kernel driver.
 
 A compress performance test app is added into DPDK to test CompressDev.
 
 Calgary corpus is a collection of text and binary data files,commonly used
 for comparing data compression algorithms.
 
+Software
+--------
+
+dpdk: http://dpdk.org/git/dpdk
+Intel QuickAssist Technology Driver: https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches
+
+General set up
+--------------
+
+1, Compile DPDK::
+
+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc -j 110
+
+2, Get the pci device id of QAT::
+
+   ./dpdk/usertools/dpdk-devbind.py --status-dev crypto
+
+3, Bind QAT VF port to dpdk::
+
+   ./dpdk/usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:1a:01.0 0000:1a:01.1
+
+Test case
+=========
+
 Test Case: Compressdev QAT PMD Unit test
 ----------------------------------------------------------------
 Start test application and run qat pmd unit test::
 
-    ./app/test -l1 -n1 -a qat_device_bus_id --log-level=qat:8
+    ./x86_64-native-linuxapp-gcc/app/test/dpdk-test -l1 -n1 -a qat_device_bus_id --log-level=qat:8
     RTE>>compressdev_autotest
 
 Verify all test cases passed in the test.
@@ -77,7 +101,7 @@ Test Case: Compressdev QAT PMD fixed function test
 ----------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name \
     --compress-level level --num-iter number --huffman-enc fixed
 
@@ -89,7 +113,7 @@ Test Case: Compressdev QAT PMD dynamic function test
 -----------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name \
     --compress-level level --num-iter number --huffman-enc dynamic
 
@@ -101,7 +125,7 @@ Test Case: Compressdev QAT PMD big sgl fixed function test
 --------------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name --seg-sz segsize \
     --compress-level level --num-iter number --extended-input-sz size \
     --max-num-sgl-segs seg --huffman-enc fixed
@@ -114,7 +138,7 @@ Test Case: Compressdev QAT PMD big sgl dynamic function test
 --------------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name --seg-sz segsize \
     --compress-level level --num-iter number --extended-input-sz size \
     --max-num-sgl-segs seg --huffman-enc dynamic
@@ -127,7 +151,7 @@ Test Case: Compressdev QAT PMD big seg-sz fixed function test
 --------------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name --seg-sz segsize \
     --compress-level level --num-iter number --extended-input-sz size \
     --max-num-sgl-segs seg --huffman-enc fixed
@@ -140,7 +164,7 @@ Test Case: Compressdev QAT PMD big seg-sz dynamic function test
 ---------------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name --seg-sz segsize \
     --compress-level level --num-iter number --extended-input-sz size \
     --max-num-sgl-segs seg --huffman-enc dynamic
@@ -153,7 +177,7 @@ Test Case: Compressdev QAT PMD external mbufs fixed function test
 -------------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name \
     --compress-level level --num-iter number --external-mbufs \
     --huffman-enc fixed
@@ -166,7 +190,7 @@ Test Case: Compressdev QAT PMD external mbufs dynamic function test
 --------------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name \
     --compress-level level --num-iter number --external-mbufs \
     --huffman-enc dynamic
@@ -179,7 +203,7 @@ Test Case: Compressdev QAT PMD im buffer split op fixed function test
 -------------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name \
     --compress-level level --num-iter number --seg-sz segsize \
     --max-num-sgl-segs seg --extended-input-sz size \
@@ -193,7 +217,7 @@ Test Case: Compressdev QAT PMD im buffer split op dynamic function test
 --------------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name \
     --compress-level level --num-iter number --seg-sz segsize \
     --max-num-sgl-segs seg --extended-input-sz size \
@@ -207,7 +231,7 @@ Test Case: Compressdev QAT PMD fixed performance test
 --------------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name \
     --compress-level level --num-iter number --huffman-enc fixed
 
@@ -219,7 +243,7 @@ Test Case: Compressdev QAT PMD dynamic performance test
 ---------------------------------------------------------------------------
 Run Compressdev qat pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a qat_device_bus_id -l 4 \
     -- --driver-name compress_qat --input-file file_name \
     --compress-level level --num-iter number --huffman-enc dynamic
 
diff --git a/test_plans/compressdev_zlib_pmd_test_plan.rst b/test_plans/compressdev_zlib_pmd_test_plan.rst
index f42ef32..5d20dc6 100644
--- a/test_plans/compressdev_zlib_pmd_test_plan.rst
+++ b/test_plans/compressdev_zlib_pmd_test_plan.rst
@@ -36,6 +36,7 @@ CompressDev ZLIB PMD Tests
 
 Description
 -------------------
+
 The ZLIB PMD (librte_pmd_zlib) provides poll mode compression & decompression
 driver based on SW zlib library.
 
@@ -44,6 +45,7 @@ The supported Compression/Decompression algorithm:
     DEFLATE - using Fixed and Dynamic Huffman encoding
 
 For more details, please reference to dpdk online programming guide.
+http://doc.dpdk.org/guides/compressdevs/zlib.html
 
 Prerequisites
 ----------------------
@@ -56,15 +58,39 @@ and enable compressdev unit test:
     Set CONFIG_RTE_COMPRESSDEV_TEST=y in config/common_base.
 
 A compress performance test app is added into DPDK to test CompressDev.
-
+RTE_COMPRESS_ZLIB and RTE_LIB_COMPRESSDEV is enabled by default in meson  build.
 Calgary corpus is a collection of text and binary data files, commonly used
 for comparing data compression algorithms.
 
+Software
+--------
+
+dpdk: http://dpdk.org/git/dpdk
+ZLIB library: zlib sources from http://zlib.net/
+
+General set up
+--------------
+1, Compile DPDK::
+
+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc -j 110
+
+2, Get the pci device id of QAT::
+
+   ./dpdk/usertools/dpdk-devbind.py --status-dev crypto
+
+3, Bind QAT VF port to dpdk::
+
+   ./dpdk/usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:1a:01.0 0000:1a:01.1
+
+Test case
+=========
+
 Test Case: Compressdev ZLIB PMD Unit test
 ----------------------------------------------------------------
 Start test application and run zlib pmd unit test::
 
-    ./app/test -l1 -n1 -a vdev_bus_id --vdev=compress_zlib
+    ./x86_64-native-linuxapp-gcc/app/test/dpdk-test -l1 -n1 -a vdev_bus_id --vdev=compress_zlib
     RTE>>compressdev_autotest
 
 Verify all test cases passed in the test.
@@ -73,7 +99,7 @@ Test Case: Compressdev ZLIB PMD fixed function test
 -------------------------------------------------------------
 Run Compressdev zlib pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
     --vdev=compress_zlib -- --driver-name compress_zlib --input-file file_name \
     --compress-level level --num-iter number --huffman-enc fixed
 
@@ -85,7 +111,7 @@ Test Case: Compressdev ZLIB PMD dynamic function test
 -------------------------------------------------------------
 Run Compressdev zlib pmd test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
     --vdev=compress_zlib -- --driver-name compress_zlib --input-file file_name \
     --compress-level level --num-iter number --huffman-enc dynamic
 
@@ -97,7 +123,7 @@ Test Case: Compressdev ZLIB PMD fixed performance test
 ----------------------------------------------------------------------------
 Run Compressdev zlib pmd performance test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
     --vdev=compress_zlib -- --driver-name compress_zlib --input-file file_name \
     --compress-level level --seg-sz size --num-iter number --huffman-enc fixed
 
@@ -109,7 +135,7 @@ Test Case: Compressdev ZLIB PMD dynamic performance test
 ---------------------------------------------------------------------------
 Run Compressdev zlib pmd performance test with below sample commands::
 
-    ./app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-compress-perf  -a vdev_bus_id -l 4 \
     --vdev=compress_zlib -- --driver-name compress_zlib --input-file file_name \
     --compress-level level --seg-sz size --num-iter number --huffman-enc dynamic
 
-- 
2.7.4


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

* [dts][PATCH V1 3/3] test_plans/crypto_fips_ipsec_l2fwd_cryptodev: fix dpdk app/examples name to adapt meson build
  2021-12-10  3:49 [dts][PATCH V1 0/3] test_plans/cryptodev_fips_l2fwd_ipsec_*: fix dpdk app/examples name to adapt meson build Yu Jiang
  2021-12-10  3:49 ` [dts][PATCH V1 1/3] test_plans/virtio_*_cryptodev_func: " Yu Jiang
  2021-12-10  3:49 ` [dts][PATCH V1 2/3] test_plans/compressdev_isal/qat_zlib_pmd: " Yu Jiang
@ 2021-12-10  3:49 ` Yu Jiang
  2021-12-16 11:12   ` Tu, Lijuan
  2 siblings, 1 reply; 5+ messages in thread
From: Yu Jiang @ 2021-12-10  3:49 UTC (permalink / raw)
  To: lijuan.tu, dts; +Cc: Yu Jiang

fix dpdk app/examples name to adapt meson build

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 .../crypto_perf_cryptodev_perf_test_plan.rst       | 66 ++++++++++++++--------
 test_plans/fips_cryptodev_test_plan.rst            | 45 +++++++--------
 test_plans/ipsec_gw_cryptodev_func_test_plan.rst   | 41 +++++++++++---
 test_plans/l2fwd_cryptodev_func_test_plan.rst      | 51 +++++++++++++----
 test_plans/unit_tests_cryptodev_func_test_plan.rst | 10 +++-
 5 files changed, 150 insertions(+), 63 deletions(-)

diff --git a/test_plans/crypto_perf_cryptodev_perf_test_plan.rst b/test_plans/crypto_perf_cryptodev_perf_test_plan.rst
index 331720f..0762ee8 100644
--- a/test_plans/crypto_perf_cryptodev_perf_test_plan.rst
+++ b/test_plans/crypto_perf_cryptodev_perf_test_plan.rst
@@ -270,12 +270,10 @@ The table below contains ZUC algorithms which are supported in crypto perf.
 Prerequisites
 =============
 
-To test Cryptodev performance, an application
-test_crypto_perf is added into DPDK.
+To test Cryptodev performance, an application dpdk-test-crypto-perf is added into DPDK.
+The test commands of dpdk-test-crypto-perf is below::
 
-The test commands of test_crypto_perf is below::
-
-    ./build/app/dpdk-test-crypto-perf -c COREMASK --vdev (AESNI_MB|QAT|AESNI_GCM|OPENSSL|SNOW3G|KASUMI|ZUC|NULL) -a (PCI:DEVICE:FUNCTION) -a (PCI:DEVICE:FUNCTION) -- --ptest (throughput|latency) --devtype (crypto_aesni_mb|crypto_qat|crypto_aes_gcm|crypto_openssl|crypto_snow3g|crypto_kasumi|crypto_zuc|crypto_null) --optype (aead|cipher-only|auth-only|cipher-then-auth|auth-then-cipher)  --cipher-algo (ALGO) --cipher-op (encrypt|decrypt) --cipher-key-sz (key_size) --cipher-iv-sz (iv_size) --auth-algo (ALGO) --auth-op (generate|verify) --auth-key-sz (key_size) --auth-aad-sz (aad_size) --auth-digest-sz (digest_size) --total-ops (ops_number) --burst-sz (burst_size) --buffer-sz (buffer_size)
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -c COREMASK --vdev (AESNI_MB|QAT|AESNI_GCM|OPENSSL|SNOW3G|KASUMI|ZUC|NULL) -a (PCI:DEVICE:FUNCTION) -a (PCI:DEVICE:FUNCTION) -- --ptest (throughput|latency) --devtype (crypto_aesni_mb|crypto_qat|crypto_aes_gcm|crypto_openssl|crypto_snow3g|crypto_kasumi|crypto_zuc|crypto_null) --optype (aead|cipher-only|auth-only|cipher-then-auth|auth-then-cipher)  --cipher-algo (ALGO) --cipher-op (encrypt|decrypt) --cipher-key-sz (key_size) --cipher-iv-sz (iv_size) --auth-algo (ALGO) --auth-op (generate|verify) --auth-key-sz (key_size) --auth-aad-sz (aad_size) --auth-digest-sz (digest_size) --total-ops (ops_number) --burst-sz (burst_size) --buffer-sz (buffer_size)
 
 Common::
 
@@ -285,37 +283,61 @@ Common::
 
     --optype (aead|cipher-only|auth-only|cipher-then-auth|auth-then-cipher): if cipher-algo is aes-gcm or gmac this value must be set to aead. Otherwise, it will be set to others. Notice, null algorithm only support cipher-only test.
 
-    --ptest (throughput/latency/verify) set test type. 
+    --ptest (throughput/latency/verify) set test type.
 
 Other parameters please reference above table's parameter.
 
+Software
+--------
+
+dpdk: http://dpdk.org/git/dpdk
+multi-buffer library: https://github.com/01org/intel-ipsec-mb
+Intel QuickAssist Technology Driver: https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches
+
+General set up
+--------------
+1, Compile DPDK::
+
+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc -j 110
+
+2, Get the pci device id of QAT::
+
+   ./dpdk/usertools/dpdk-devbind.py --status-dev crypto
+
+3, Bind QAT VF port to dpdk::
+
+   ./dpdk/usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:1a:01.0
+
+Test case
+=========
 
 Test Case 01: Cryptodev Thoughput Performance Test
 ==================================================
 
 QAT PMD command line::
 
-    ./build/app/test-crypto-perf/dpdk-test-crypto-perf -c 0xf -a 0000:1a:01.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
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -c 0xf -a 0000:1a:01.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
 
 AESNI_MB PMD command line::
 
-    ./build/app/test-crypto-perf/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
+    ./x86_64-native-linuxapp-gcc/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
 
 AESNI_GCM PMD command line::
 
-    ./build/app/test-crypto-perf/dpdk-test-crypto-perf -c 0xf --vdev crypto_aesni_gcm_pmd  -- --ptest throughput --devtype crypto_aesni_gcm  --optype aead  --cipher-algo aes-gcm --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 12 --auth-algo aes-gcm --auth-op generate --auth-key-sz 16 --auth-aad-sz 4 --auth-digest-sz 12 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_aesni_gcm_pmd  -- --ptest throughput --devtype crypto_aesni_gcm  --optype aead  --cipher-algo aes-gcm --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 12 --auth-algo aes-gcm --auth-op generate --auth-key-sz 16 --auth-aad-sz 4 --auth-digest-sz 12 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
 
 KASUMI PMD command line::
 
-    ./build/app/test-crypto-perf/dpdk-test-crypto-perf -c 0xf --vdev crypto_kasumi_pmd  -- --ptest throughput --devtype crypto_kasumi --optype cipher-then-auth  --cipher-algo kasumi-f8 --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 8 --auth-algo kasumi-f9 --auth-op generate --auth-key-sz 16 --auth-aad-sz 8 --auth-digest-sz 4 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_kasumi_pmd  -- --ptest throughput --devtype crypto_kasumi --optype cipher-then-auth  --cipher-algo kasumi-f8 --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 8 --auth-algo kasumi-f9 --auth-op generate --auth-key-sz 16 --auth-aad-sz 8 --auth-digest-sz 4 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
 
 SNOW3G PMD command line::
 
-    ./build/app/test-crypto-perf/dpdk-test-crypto-perf -c 0xf --vdev crypto_snow3g_pmd  -- --ptest throughput --devtype crypto_snow3g --optype cipher-then-auth  --cipher-algo snow3g-uea2 --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16 --auth-algo snow3g-uia2 --auth-op generate --auth-key-sz 16 --auth-aad-sz 16 --auth-digest-sz 4 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_snow3g_pmd  -- --ptest throughput --devtype crypto_snow3g --optype cipher-then-auth  --cipher-algo snow3g-uea2 --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16 --auth-algo snow3g-uia2 --auth-op generate --auth-key-sz 16 --auth-aad-sz 16 --auth-digest-sz 4 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
 
 ZUC PMD command line::
 
-    ./build/app/test-crypto-perf/dpdk-test-crypto-perf -c 0xf --vdev crypto_zuc_pmd  -- --ptest throughput --devtype crypto_zuc_mb --optype cipher-then-auth  --cipher-algo zuc-eea3 --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16 --auth-algo zuc-eia3  --auth-op generate --auth-key-sz 16 --auth-aad-sz 16 --auth-digest-sz 4 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
+    ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_zuc_pmd  -- --ptest throughput --devtype crypto_zuc_mb --optype cipher-then-auth  --cipher-algo zuc-eea3 --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16 --auth-algo zuc-eia3  --auth-op generate --auth-key-sz 16 --auth-aad-sz 16 --auth-digest-sz 4 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024
 
 
 Test Case 02: Cryptodev Latency Performance Test
@@ -323,23 +345,23 @@ Test Case 02: Cryptodev Latency Performance Test
 
 AESNI_MB PMD command line::
 
-  ./build/app/test-crypto-perf/dpdk-test-crypto-perf -l 9,10,11,12 -n 4 --vdev crypto_aesni_mb1 --vdev crypto_aesni_mb2 -a 0000:1a:01.0 -- --devtype crypto_aesni_mb --cipher-algo aes-cbc --cipher-key-sz 16 --cipher-iv-sz 16 --cipher-op encrypt --optype cipher-only --silent --ptest latency --total-ops 10
+  ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -l 9,10,11,12 -n 4 --vdev crypto_aesni_mb1 --vdev crypto_aesni_mb2 -a 0000:1a:01.0 -- --devtype crypto_aesni_mb --cipher-algo aes-cbc --cipher-key-sz 16 --cipher-iv-sz 16 --cipher-op encrypt --optype cipher-only --silent --ptest latency --total-ops 10
 
-  ./build/app/test-crypto-perf/dpdk-test-crypto-perf -l 9,10,11,12 -n 4 --vdev crypto_aesni_mb1 --vdev crypto_aesni_mb2 -a 0000:1a:01.0 -- --ptest latency --devtype crypto_aesni_mb --optype cipher-then-auth --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 --digest-sz 12 --total-ops 10000000 --burst-sz 32 --buffer-sz 64
+  ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -l 9,10,11,12 -n 4 --vdev crypto_aesni_mb1 --vdev crypto_aesni_mb2 -a 0000:1a:01.0 -- --ptest latency --devtype crypto_aesni_mb --optype cipher-then-auth --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 --digest-sz 12 --total-ops 10000000 --burst-sz 32 --buffer-sz 64
 
 
 AESNI_GCM PMD command line::
 
-  ./build/app/test-crypto-perf/dpdk-test-crypto-perf -l 10,11 -n 4 --vdev crypto_aesni_gcm_pmd_1 -- --aead-key-sz 16 --buffer-sz 64 --optype aead --ptest latency --aead-aad-sz 16 --devtype crypto_aesni_gcm --aead-op encrypt --burst-sz 32 --total-ops 10000000 --silent  --digest-sz 16 --aead-algo aes-gcm --aead-iv-sz 12 
+  ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -l 10,11 -n 4 --vdev crypto_aesni_gcm_pmd_1 -- --aead-key-sz 16 --buffer-sz 64 --optype aead --ptest latency --aead-aad-sz 16 --devtype crypto_aesni_gcm --aead-op encrypt --burst-sz 32 --total-ops 10000000 --silent  --digest-sz 16 --aead-algo aes-gcm --aead-iv-sz 12
 
 
 QAT PMD command line::
 
-  ./build/app/test-crypto-perf/dpdk-test-crypto-perf -l 9,10,11,12 -n 4  -a 0000:1a:01.0  -a 0000:1a:01.1  -a 0000:1a:01.2 -- --devtype crypto_qat --cipher-algo aes-cbc --cipher-key-sz 16 --cipher-iv-sz 16 --cipher-op encrypt --optype cipher-only --silent --ptest latency --total-ops 10
+  ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -l 9,10,11,12 -n 4  -a 0000:1a:01.0  -a 0000:1a:01.1  -a 0000:1a:01.2 -- --devtype crypto_qat --cipher-algo aes-cbc --cipher-key-sz 16 --cipher-iv-sz 16 --cipher-op encrypt --optype cipher-only --silent --ptest latency --total-ops 10
 
-	./build/app/test-crypto-perf/dpdk-test-crypto-perf -l 9,10,11,12 -n 4  -a 0000:1a:01.0  -a 0000:1a:01.1  -a 0000:1a:01.2 -- --ptest latency --devtype crypto_qat --optype cipher-then-auth --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 --digest-sz 12 --total-ops 10000000 --burst-sz 32 --buffer-sz 64
+	./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -l 9,10,11,12 -n 4  -a 0000:1a:01.0  -a 0000:1a:01.1  -a 0000:1a:01.2 -- --ptest latency --devtype crypto_qat --optype cipher-then-auth --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 --digest-sz 12 --total-ops 10000000 --burst-sz 32 --buffer-sz 64
 	
-	./build/app/test-crypto-perf/dpdk-test-crypto-perf -l 10,11 -n 4 -a 0000:1a:01.0 -- --aead-key-sz 16 --buffer-sz 64 --optype aead --ptest latency --aead-aad-sz 16 --devtype crypto_qat --aead-op encrypt --burst-sz 32 --total-ops 10000000 --silent  --digest-sz 16 --aead-algo aes-gcm --aead-iv-sz 12
+	./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -l 10,11 -n 4 -a 0000:1a:01.0 -- --aead-key-sz 16 --buffer-sz 64 --optype aead --ptest latency --aead-aad-sz 16 --devtype crypto_qat --aead-op encrypt --burst-sz 32 --total-ops 10000000 --silent  --digest-sz 16 --aead-algo aes-gcm --aead-iv-sz 12
 
 
 Test Case 03: Cryptodev Verify Performance Test
@@ -349,17 +371,17 @@ For verify operation, you need to specify a vector file by --test-file option. P
 
 AESNI_MB PMD command line::
 
-  ./build/app/test-crypto-perf/dpdk-test-crypto-perf --vdev crypto_aesni_mb_pmd_1 -l 9,10 -n 6  -- --buffer-sz 32 --optype cipher-then-auth --ptest verify --auth-key-sz 64 --cipher-key-sz 32 --devtype crypto_aesni_mb --cipher-iv-sz 16 --auth-op generate --burst-sz 32 --total-ops 10000000 --silent  --digest-sz 12 --auth-algo sha1-hmac --cipher-algo aes-cbc --cipher-op encrypt --test-name sha1_hmac_buff_32  --test-file test_aes_cbc.data
+  ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf --vdev crypto_aesni_mb_pmd_1 -l 9,10 -n 6  -- --buffer-sz 32 --optype cipher-then-auth --ptest verify --auth-key-sz 64 --cipher-key-sz 32 --devtype crypto_aesni_mb --cipher-iv-sz 16 --auth-op generate --burst-sz 32 --total-ops 10000000 --silent  --digest-sz 12 --auth-algo sha1-hmac --cipher-algo aes-cbc --cipher-op encrypt --test-name sha1_hmac_buff_32  --test-file test_aes_cbc.data
 
 QAT PMD command line::
 
-	./build/app/test-crypto-perf/dpdk-test-crypto-perf -a 0000:1a:01.0 -l 9,10 -n 6  -- --buffer-sz 32 --optype cipher-then-auth --ptest verify --auth-key-sz 64 --cipher-key-sz 32 --devtype crypto_qat --cipher-iv-sz 16 --auth-op generate --burst-sz 32 --total-ops 30000000 --silent  --digest-sz 20 --auth-algo sha1-hmac --cipher-algo aes-cbc --cipher-op encrypt --test-name sha1_hmac_buff_32  --test-file test_aes_cbc.data
+	./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -a 0000:1a:01.0 -l 9,10 -n 6  -- --buffer-sz 32 --optype cipher-then-auth --ptest verify --auth-key-sz 64 --cipher-key-sz 32 --devtype crypto_qat --cipher-iv-sz 16 --auth-op generate --burst-sz 32 --total-ops 30000000 --silent  --digest-sz 20 --auth-algo sha1-hmac --cipher-algo aes-cbc --cipher-op encrypt --test-name sha1_hmac_buff_32  --test-file test_aes_cbc.data
 
 OPENSSL PMD and QAT PMD command line::
 	
-  ./build/app/test-crypto-perf/dpdk-test-crypto-perf -l 9,10,11,12 -n 4 --vdev crypto_openssl -a 0000:1a:01.0 -- --devtype crypto_openssl --aead-algo aes-gcm --aead-key-sz 16 --aead-iv-sz 12 --aead-op encrypt --aead-aad-sz 16 --digest-sz 16 --optype aead --silent --ptest verify --burst-sz 32 --buffer-sz 32 --total-ops 10 --test-name aes_gcm_buff_32 --test-file test_aes_gcm.data
+  ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -l 9,10,11,12 -n 4 --vdev crypto_openssl -a 0000:1a:01.0 -- --devtype crypto_openssl --aead-algo aes-gcm --aead-key-sz 16 --aead-iv-sz 12 --aead-op encrypt --aead-aad-sz 16 --digest-sz 16 --optype aead --silent --ptest verify --burst-sz 32 --buffer-sz 32 --total-ops 10 --test-name aes_gcm_buff_32 --test-file test_aes_gcm.data
 
 OPENSSL PMD command line::
 
-  ./build/app/test-crypto-perf/dpdk-test-crypto-perf -l 9,10,11,12 -n 4 --vdev crypto_openssl -- --devtype crypto_openssl --aead-algo aes-gcm --aead-key-sz 16 --aead-iv-sz 12 --aead-op encrypt --aead-aad-sz 16 --digest-sz 16 --optype aead --silent --ptest verify --burst-sz 32 --buffer-sz 32 --total-ops 10 --test-name aes_gcm_buff_32 --test-file test_aes_gcm.data
+  ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -l 9,10,11,12 -n 4 --vdev crypto_openssl -- --devtype crypto_openssl --aead-algo aes-gcm --aead-key-sz 16 --aead-iv-sz 12 --aead-op encrypt --aead-aad-sz 16 --digest-sz 16 --optype aead --silent --ptest verify --burst-sz 32 --buffer-sz 32 --total-ops 10 --test-name aes_gcm_buff_32 --test-file test_aes_gcm.data
 
diff --git a/test_plans/fips_cryptodev_test_plan.rst b/test_plans/fips_cryptodev_test_plan.rst
index 754c05a..9958a73 100644
--- a/test_plans/fips_cryptodev_test_plan.rst
+++ b/test_plans/fips_cryptodev_test_plan.rst
@@ -67,7 +67,7 @@ Get/install FIPS Object Module::
 
   wget https://www.openssl.org/source/openssl-fips-2.0.16.tar.gz
 
-  cd openssl-fips-2.0.16
+  cd openssl-fips-2.0.16; ./config
 
   make
 
@@ -89,7 +89,8 @@ Get/install the OpenSSL library::
 
 Build FIPS validation application(in DPDK examples directory)::
 
-  make -C examples/fips_validation
+  meson configure -Dexamples=fips_validation x86_64-native-linuxapp-gcc
+  ninja -C x86_64-native-linuxapp-gcc
 
 
 Test Case Common Step
@@ -97,7 +98,7 @@ Test Case Common Step
 
 Launch fips validation application command::
 
-  ./fips_validation [EAL options]
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation [EAL options]
    -- --req-file FILE_PATH/FOLDER_PATH
    --rsp-file FILE_PATH/FOLDER_PATH
    [--cryptodev DEVICE_NAME] [--cryptodev-id ID] [--path-is-folder]
@@ -117,7 +118,7 @@ Test Case 01: fips_aesni_mb_aes_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/AES/req --rsp-file /root/FIPS/AES/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/AES/req --rsp-file /root/FIPS/AES/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 02: fips_aesni_mb_3des_test
@@ -125,7 +126,7 @@ Test Case 02: fips_aesni_mb_3des_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/TDES/req --rsp-file /root/FIPS/TDES/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/TDES/req --rsp-file /root/FIPS/TDES/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 03: fips_aesni_mb_hmac_test
@@ -133,7 +134,7 @@ Test Case 03: fips_aesni_mb_hmac_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/HMAC/req --rsp-file /root/FIPS/HMAC/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/HMAC/req --rsp-file /root/FIPS/HMAC/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 04: fips_aesni_mb_ccm_test
@@ -141,7 +142,7 @@ Test Case 04: fips_aesni_mb_ccm_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/CCM/req --rsp-file /root/FIPS/CCM/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/CCM/req --rsp-file /root/FIPS/CCM/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 05: fips_aesni_mb_cmac_test
@@ -149,7 +150,7 @@ Test Case 05: fips_aesni_mb_cmac_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/CMAC/req --rsp-file /root/FIPS/CMAC/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/CMAC/req --rsp-file /root/FIPS/CMAC/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 06: fips_qat_gcm_test
@@ -157,7 +158,7 @@ Test Case 06: fips_qat_gcm_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/GCM/req --rsp-file /root/FIPS/GCM/resp --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/GCM/req --rsp-file /root/FIPS/GCM/resp --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 07: fips_qat_aes_test
@@ -165,7 +166,7 @@ Test Case 07: fips_qat_aes_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/AES/req --rsp-file /root/FIPS/AES/resp --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/AES/req --rsp-file /root/FIPS/AES/resp --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 08: fips_qat_3des_test
@@ -173,7 +174,7 @@ Test Case 08: fips_qat_3des_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/TDES/req --rsp-file /root/FIPS/TDES/resp --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/TDES/req --rsp-file /root/FIPS/TDES/resp --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 09: fips_qat_hmac_test
@@ -181,7 +182,7 @@ Test Case 09: fips_qat_hmac_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/HMAC/req --rsp-file /root/FIPS/HMAC/resp --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/HMAC/req --rsp-file /root/FIPS/HMAC/resp --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 10: fips_qat_ccm_test
@@ -189,7 +190,7 @@ Test Case 10: fips_qat_ccm_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/CCM/req --rsp-file /root/FIPS/CCM/resp --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/CCM/req --rsp-file /root/FIPS/CCM/resp --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 11: fips_qat_cmac_test
@@ -197,7 +198,7 @@ Test Case 11: fips_qat_cmac_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/CMAC/req --rsp-file /root/FIPS/CMAC/resp --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 -a 0000:1a:01.0 -- --req-file /root/FIPS/CMAC/req --rsp-file /root/FIPS/CMAC/resp --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 12: fips_openssl_gcm_test
@@ -205,7 +206,7 @@ Test Case 12: fips_openssl_gcm_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_openssl_pmd_1 -- --req-file /root/FIPS/GCM/req --rsp-file /root/FIPS/GCM/resp --cryptodev crypto_openssl_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_openssl_pmd_1 -- --req-file /root/FIPS/GCM/req --rsp-file /root/FIPS/GCM/resp --cryptodev crypto_openssl_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 13: fips_openssl_aes_test
@@ -213,7 +214,7 @@ Test Case 13: fips_openssl_aes_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_openssl_pmd_1 -- --req-file /root/FIPS/AES/req --rsp-file /root/FIPS/AES/resp --cryptodev crypto_openssl_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_openssl_pmd_1 -- --req-file /root/FIPS/AES/req --rsp-file /root/FIPS/AES/resp --cryptodev crypto_openssl_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 14: fips_openssl_3des_test
@@ -221,7 +222,7 @@ Test Case 14: fips_openssl_3des_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_openssl_pmd_1 -- --req-file /root/FIPS/TDES/req --rsp-file /root/FIPS/TDES/resp --cryptodev crypto_openssl_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_openssl_pmd_1 -- --req-file /root/FIPS/TDES/req --rsp-file /root/FIPS/TDES/resp --cryptodev crypto_openssl_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 15: fips_openssl_hmac_test
@@ -229,7 +230,7 @@ Test Case 15: fips_openssl_hmac_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_openssl_pmd_1 -- --req-file /root/FIPS/HMAC/req --rsp-file /root/FIPS/HMAC/resp --cryptodev crypto_openssl_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_openssl_pmd_1 -- --req-file /root/FIPS/HMAC/req --rsp-file /root/FIPS/HMAC/resp --cryptodev crypto_openssl_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 16: fips_openssl_ccm_test
@@ -237,7 +238,7 @@ Test Case 16: fips_openssl_ccm_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_openssl_pmd_1 -- --req-file /root/FIPS/CCM/req --rsp-file /root/FIPS/CCM/resp --cryptodev crypto_openssl_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_openssl_pmd_1 -- --req-file /root/FIPS/CCM/req --rsp-file /root/FIPS/CCM/resp --cryptodev crypto_openssl_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 17: fips_aesni_gcm_gcm_test
@@ -245,7 +246,7 @@ Test Case 17: fips_aesni_gcm_gcm_test
 
 Test Command::
 
-  ./fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_gcm_pmd_1 -- --req-file /root/FIPS/GCM/req --rsp-file /root/FIPS/GCM/resp --cryptodev crypto_aesni_gcm_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6 --vdev crypto_aesni_gcm_pmd_1 -- --req-file /root/FIPS/GCM/req --rsp-file /root/FIPS/GCM/resp --cryptodev crypto_aesni_gcm_pmd_1 --path-is-folder --cryptodev-id 0 --self-test
 
 
 Test Case 18: fips_self-test
@@ -253,7 +254,7 @@ Test Case 18: fips_self-test
 
 Test Command::
 
-  ./fips_validation -a 0000:1a:01.0 --socket-mem 2048,0 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/AES/req --rsp-file ./root/FIPS/AES/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --self-test
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation -a 0000:1a:01.0 --socket-mem 2048,0 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/AES/req --rsp-file ./root/FIPS/AES/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --self-test
 
 
 Test Case 19: fips_broken-test
@@ -261,5 +262,5 @@ Test Case 19: fips_broken-test
 
 Test Command::
 
-  ./fips_validation -a 0000:1a:01.0--socket-mem 2048,0 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/AES/req --rsp-file ./root/FIPS/AES/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --self-test --broken-test-id 15 --broken-test-dir dec
+  ./x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation -a 0000:1a:01.0--socket-mem 2048,0 --vdev crypto_aesni_mb_pmd_1 -- --req-file /root/FIPS/AES/req --rsp-file ./root/FIPS/AES/resp --cryptodev crypto_aesni_mb_pmd_1 --path-is-folder --self-test --broken-test-id 15 --broken-test-dir dec
 
diff --git a/test_plans/ipsec_gw_cryptodev_func_test_plan.rst b/test_plans/ipsec_gw_cryptodev_func_test_plan.rst
index 19a9836..7239f46 100644
--- a/test_plans/ipsec_gw_cryptodev_func_test_plan.rst
+++ b/test_plans/ipsec_gw_cryptodev_func_test_plan.rst
@@ -129,7 +129,7 @@ To test CryptoDev API, an example ipsec-secgw is added into DPDK.
 The test commands of ipsec-secgw is below::
 
 
-    ./build/ipsec-secgw [EAL options] --
+    ./build/examples/dpdk-l2fwd-crypto [EAL options] --
         -p PORTMASK -P -u PORTMASK -j FRAMESIZE
         -l -a REPLAY_WINOW_SIZE -e -a
         --config (port,queue,lcore)[,(port,queue,lcore]
@@ -140,8 +140,8 @@ The test commands of ipsec-secgw is below::
 
 compile the applications::
 
-    make -C ./examples/ipsec-secgw
-
+      meson configure -Dexamples=ipsec-secgw x86_64-native-linuxapp-gcc
+      ninja -C x86_64-native-linuxapp-gcc
 
 Configuration File Syntax:
 
@@ -151,6 +151,33 @@ Configuration File Syntax:
     the configuration file will be explained in DPDK code directory
     dpdk/doc/guides/sample_app_ug/ipsec_secgw.rst.
 
+Software
+--------
+
+dpdk: http://dpdk.org/git/dpdk
+multi-buffer library: https://github.com/01org/intel-ipsec-mb
+Intel QuickAssist Technology Driver: https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches
+
+General set up
+--------------
+1, Compile DPDK::
+
+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc -j 110
+
+2, Build App::
+      meson configure -Dexamples=ipsec-secgw x86_64-native-linuxapp-gcc
+      ninja -C x86_64-native-linuxapp-gcc
+
+3, Get the pci device id of QAT and NIC::
+
+   ./dpdk/usertools/dpdk-devbind.py --status-dev crypto
+   ./dpdk/usertools/dpdk-devbind.py --status-dev net
+
+4, Bind QAT VF ports and NICs to dpdk::
+
+   ./dpdk/usertools/dpdk-devbind.py --force --bind=vfio-pci 000:1a:01.0
+   ./dpdk/usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:60:00.0 0000:60:00.2
 
 QAT/AES-NI installation
 =======================
@@ -200,7 +227,7 @@ Cryptodev AES-NI algorithm validation matrix is showed in table below.
 
 example::
 
-    ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 2048,0 --legacy-mem -a 0000:60:00.0 -a 0000:60:00.2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-ipsec-secgw --socket-mem 2048,0 --legacy-mem -a 0000:60:00.0 -a 0000:60:00.2
     --vdev crypto_aesni_mb_pmd_1 --vdev=crypto_aesni_mb_pmd_2 -l 9,10,11 -n 6  -- -P  --config "(0,0,10),(1,0,11)"
     -u 0x1 -p 0x3 -f /root/dts/local_conf/ipsec_test.cfg
 
@@ -231,7 +258,7 @@ Cryptodev QAT algorithm validation matrix is showed in table below.
 
 example::
 
-    ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 2048,0 --legacy-mem -a 0000:60:00.0 -a 0000:60:00.2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-ipsec-secgw --socket-mem 2048,0 --legacy-mem -a 0000:60:00.0 -a 0000:60:00.2
     -a 0000:1a:01.0 -l 9,10,11 -n 6  -- -P  --config "(0,0,10),(1,0,11)" -u 0x1 -p 0x3
     -f /root/dts/local_conf/ipsec_test.cfg
 
@@ -248,7 +275,7 @@ Cryptodev AES-GCM algorithm validation matrix is showed in table below.
 
 example::
 
-    ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 2048,0 --legacy-mem -a 0000:60:00.0 -a 0000:60:00.2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-ipsec-secgw --socket-mem 2048,0 --legacy-mem -a 0000:60:00.0 -a 0000:60:00.2
     --vdev crypto_aesni_gcm_pmd_1 --vdev=crypto_aesni_gcm_pmd_2 -l 9,10,11 -n 6  -- -P  --config "(0,0,10),(1,0,11)"
     -u 0x1 -p 0x3 -f /root/dts/local_conf/ipsec_test.cfg
 
@@ -265,6 +292,6 @@ Cryptodev NULL algorithm validation matrix is showed in table below.
 
 example::
 
-    ./examples/ipsec-secgw/build/ipsec-secgw --socket-mem 2048,0 --legacy-mem -a 0000:60:00.0 -a 0000:60:00.2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-ipsec-secgw --socket-mem 2048,0 --legacy-mem -a 0000:60:00.0 -a 0000:60:00.2
     --vdev crypto_null_pmd_1 --vdev=crypto_null_pmd_2 -l 9,10,11 -n 6  -- -P  --config "(0,0,10),(1,0,11)"
     -u 0x1 -p 0x3 -f /root/dts/local_conf/ipsec_test.cfg
diff --git a/test_plans/l2fwd_cryptodev_func_test_plan.rst b/test_plans/l2fwd_cryptodev_func_test_plan.rst
index 4176770..9ace53d 100644
--- a/test_plans/l2fwd_cryptodev_func_test_plan.rst
+++ b/test_plans/l2fwd_cryptodev_func_test_plan.rst
@@ -291,6 +291,29 @@ The test commands of l2fwd-crypto is below::
     [--digest size SIZE] [--sessionless] [--cryptodev_mask MASK] /
     [--mac-updating] [--no-mac-updating]
 
+Software
+--------
+
+dpdk: http://dpdk.org/git/dpdk
+multi-buffer library: https://github.com/01org/intel-ipsec-mb
+Intel QuickAssist Technology Driver: https://01.org/packet-processing/intel%C2%AE-quickassist-technology-drivers-and-patches
+
+General set up
+--------------
+1, Compile DPDK::
+
+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc -j 110
+
+2, Get the pci device id of QAT and NIC::
+
+   ./dpdk/usertools/dpdk-devbind.py --status-dev crypto
+   ./dpdk/usertools/dpdk-devbind.py --status-dev net
+
+3, Bind QAT VF ports and  NICs  to dpdk::
+
+   ./dpdk/usertools/dpdk-devbind.py --force --bind=vfio-pci 000:1a:01.0
+   ./dpdk/usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:60:00.0 0000:65:00.2
 
 QAT/AES-NI installation
 =======================
@@ -336,8 +359,8 @@ and compare the payload with correct answer pre-stored in scripts::
 
 compile the applications::
 
-    make -C ./examples/l2fwd-crypto
-
+    meson configure -Dexamples=l2fwd-crypto x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc
 
 Sub-case: AES-NI test case
 --------------------------
@@ -378,7 +401,8 @@ Cryptodev AES-NI algorithm validation matrix is showed in table below.
 
 example::
 
-    ./examples/l2fwd-crypto/build/l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    -a 0000:60:00.0 -a 0000:60:00.2
     --vdev crypto_aesni_mb --vdev crypto_aesni_mb -- -p 0x1 --chain CIPHER_ONLY --cdev_type SW
     --cipher_algo aes-cbc --cipher_op ENCRYPT --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
     --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --no-mac-updating
@@ -438,7 +462,8 @@ Cryptodev QAT algorithm validation matrix is showed in table below.
 
 example::
 
-    ./examples/l2fwd-crypto/build/l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    -a 0000:60:00.0 -a 0000:60:00.2 -a 000:1a:01.0
     -- -p 0x1 --chain CIPHER_ONLY --cdev_type HW --cipher_algo aes-cbc --cipher_op ENCRYPT
     --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
     --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --no-mac-updating
@@ -482,7 +507,8 @@ Cryptodev OPENSSL algorithm validation matrix is showed in table below.
 
 example::
 
-    ./examples/l2fwd-crypto/build/l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    -a 0000:60:00.0 -a 0000:60:00.2
     --vdev crypto_openssl_pmd --vdev crypto_openssl_pmd -- -p 0x1 --chain CIPHER_ONLY
     --cdev_type SW --cipher_algo aes-cbc --cipher_op ENCRYPT
     --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
@@ -508,7 +534,8 @@ Cipher only, hash-only and chaining functionality is supported for Snow3g.
 
 example::
 
-    ./examples/l2fwd-crypto/build/l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    -a 0000:60:00.0 -a 0000:60:00.2 [-a 000:1a:01.0]
     -- -p 0x1 --chain HASH_ONLY --cdev_type HW --auth_algo snow3g-uia2 --auth_op GENERATE
     --auth_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
     --auth_iv 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 --digest 4 --no-mac-updating
@@ -533,7 +560,8 @@ Cipher only, hash-only and chaining functionality is supported for Kasumi.
 
 example::
 
-    ./examples/l2fwd-crypto/build/l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    -a 0000:60:00.0 -a 0000:60:00.2 [-a 000:1a:01.0]
     --vdev crypto_kasumi_pmd --vdev crypto_kasumi_pmd -- -p 0x1 --chain HASH_ONLY --cdev_type SW
     --auth_algo kasumi-f9 --auth_op GENERATE
     --auth_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --digest 4 --no-mac-updating
@@ -558,7 +586,8 @@ Cipher only, hash-only and chaining functionality is supported for ZUC.
 
 example::
 
-    ./examples/l2fwd-crypto/build/l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    -a 0000:60:00.0 -a 0000:60:00.2 [-a 000:1a:01.0]
     --vdev crypto_zuc_pmd --vdev crypto_zuc_pmd -- -p 0x1 --chain HASH_ONLY --cdev_type SW
     --auth_algo zuc-eia3 --auth_op GENERATE --auth_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
     --auth_iv 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 --digest 4 --no-mac-updating
@@ -586,7 +615,8 @@ Cryptodev AESNI-GCM algorithm validation matrix is showed in table below.
 
 example::
 
-    ./examples/l2fwd-crypto/build/l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd-crypto --socket-mem 1024,0 --legacy-mem -l 6,7,8 -n 2
+    -a 0000:60:00.0 -a 0000:60:00.2 [-a 000:1a:01.0]
     --vdev crypto_aesni_gcm_pmd --vdev crypto_aesni_gcm_pmd -- -p 0x1 --chain AEAD --cdev_type SW
     --aead_algo aes-gcm --aead_op ENCRYPT --aead_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
     --aead_iv 00:01:02:03:04:05:06:07:08:09:0a:0b --aad 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
@@ -612,6 +642,7 @@ Cipher only, hash-only and chaining functionality is supported for NULL.
 
 example::
 
-    ./examples/l2fwd-crypto/build/l2fwd-crypto --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6
+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l2fwd-crypto --socket-mem 2048,0 --legacy-mem -l 9,10,66 -n 6
+    -a 0000:60:00.0 -a 0000:60:00.2 [-a 000:1a:01.0]
     --vdev crypto_null_pmd --vdev crypto_null_pmd  --  -p 0x1 --chain CIPHER_ONLY --cdev_type SW
     --cipher_algo null --cipher_op ENCRYPT --no-mac-updating
diff --git a/test_plans/unit_tests_cryptodev_func_test_plan.rst b/test_plans/unit_tests_cryptodev_func_test_plan.rst
index 6cb6c5e..b5fc640 100644
--- a/test_plans/unit_tests_cryptodev_func_test_plan.rst
+++ b/test_plans/unit_tests_cryptodev_func_test_plan.rst
@@ -68,10 +68,16 @@ Test Case Setup
 ===============
 
 #. Build DPDK and app/test app
-#. Bind cryptodev devices to igb_uio driver
+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc
+    ninja -C x86_64-native-linuxapp-gcc -j 110
+
+#. Bind cryptodev devices to vfio-pci driver when test cryptodev_qat_autotest
+   ./dpdk/usertools/dpdk-devbind.py --status-dev crypto
+   ./dpdk/usertools/dpdk-devbind.py --force --bind=vfio-pci 000:1a:01.0
+
 #. Manually verify the app/test by this command, as example, in your build folder::
 
-     ./app/test -c 1 -n 1
+     ./x86_64-native-linuxapp-gcc/app/test/dpdk-test -c 1 -n 1
      RTE>> cryptodev_qat_autotest
 
 All Unit Test Cases are listed above.
-- 
2.7.4


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

* RE: [dts][PATCH V1 3/3] test_plans/crypto_fips_ipsec_l2fwd_cryptodev: fix dpdk app/examples name to adapt meson build
  2021-12-10  3:49 ` [dts][PATCH V1 3/3] test_plans/crypto_fips_ipsec_l2fwd_cryptodev: " Yu Jiang
@ 2021-12-16 11:12   ` Tu, Lijuan
  0 siblings, 0 replies; 5+ messages in thread
From: Tu, Lijuan @ 2021-12-16 11:12 UTC (permalink / raw)
  To: Jiang, YuX, dts

> -----Original Message-----
> From: Jiang, YuX <yux.jiang@intel.com>
> Sent: 2021年12月10日 11:49
> To: Tu, Lijuan <lijuan.tu@intel.com>; dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts][PATCH V1 3/3] test_plans/crypto_fips_ipsec_l2fwd_cryptodev: fix
> dpdk app/examples name to adapt meson build
> 
> fix dpdk app/examples name to adapt meson build
> 
> Signed-off-by: Yu Jiang <yux.jiang@intel.com>

Series applied

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

end of thread, other threads:[~2021-12-16 11:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10  3:49 [dts][PATCH V1 0/3] test_plans/cryptodev_fips_l2fwd_ipsec_*: fix dpdk app/examples name to adapt meson build Yu Jiang
2021-12-10  3:49 ` [dts][PATCH V1 1/3] test_plans/virtio_*_cryptodev_func: " Yu Jiang
2021-12-10  3:49 ` [dts][PATCH V1 2/3] test_plans/compressdev_isal/qat_zlib_pmd: " Yu Jiang
2021-12-10  3:49 ` [dts][PATCH V1 3/3] test_plans/crypto_fips_ipsec_l2fwd_cryptodev: " Yu Jiang
2021-12-16 11:12   ` 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).