get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/105054/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 105054,
    "url": "http://patchwork.dpdk.org/api/patches/105054/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/1639108148-29874-2-git-send-email-yux.jiang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<1639108148-29874-2-git-send-email-yux.jiang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1639108148-29874-2-git-send-email-yux.jiang@intel.com",
    "date": "2021-12-10T03:49:06",
    "name": "[V1,1/3] test_plans/virtio_*_cryptodev_func: fix dpdk app/examples name to adapt meson build",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e5d7d0a06f0d309ff80183aaf5ac7906b7c03bec",
    "submitter": {
        "id": 1709,
        "url": "http://patchwork.dpdk.org/api/people/1709/?format=api",
        "name": "Yu Jiang",
        "email": "yux.jiang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dts/patch/1639108148-29874-2-git-send-email-yux.jiang@intel.com/mbox/",
    "series": [
        {
            "id": 20903,
            "url": "http://patchwork.dpdk.org/api/series/20903/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=20903",
            "date": "2021-12-10T03:49:05",
            "name": "test_plans/cryptodev_fips_l2fwd_ipsec_*: fix dpdk app/examples name to adapt meson build",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/20903/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/105054/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/105054/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 9AF7FA00C2;\n\tFri, 10 Dec 2021 04:49:38 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8C8C140DDB;\n\tFri, 10 Dec 2021 04:49:38 +0100 (CET)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 7A07940DDB\n for <dts@dpdk.org>; Fri, 10 Dec 2021 04:49:37 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Dec 2021 19:49:37 -0800",
            "from unknown (HELO localhost.localdomain) ([10.240.183.163])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA;\n 09 Dec 2021 19:49:35 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=simple/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1639108177; x=1670644177;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=sL7BN/+geCSoOpCbjEEzSHhL9p9QgH4tnOuKFedT3hc=;\n b=nID+netBlJY5QCrgra6Po6ozy6uwUdINNCK8zOiI1gqS6HnzZ/jO14yn\n ZwYPeliO+AdGyiqRd8yGj/f/CBM3ZnuYRJUNteQKMTewBxul6hE0VjouJ\n 89ZcT8VONHLZEu8MYLyI7gDB86cO5QFleVbo2Z3cCaUqoVUg7In6m8Dro\n 5TUtPtdvcqJNPppkjahgYcVjm0wYtdgbEXmYshrjSnzAg6z6BsgiiOntV\n EouPHOhK9GmeMDEzxzOT6YYLUToK7m/twTLXMURrAynoMJUUSrQlBZMcE\n BnYGaJMmPwcqPFI5Ry+qSW2HMzNED7drMyTI3wr0m51wPDLklWtIhpnhQ A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10193\"; a=\"324527575\"",
            "E=Sophos;i=\"5.88,194,1635231600\"; d=\"scan'208\";a=\"324527575\"",
            "E=Sophos;i=\"5.88,194,1635231600\"; d=\"scan'208\";a=\"516594253\""
        ],
        "From": "Yu Jiang <yux.jiang@intel.com>",
        "To": "lijuan.tu@intel.com,\n\tdts@dpdk.org",
        "Cc": "Yu Jiang <yux.jiang@intel.com>",
        "Subject": "[dts][PATCH V1 1/3] test_plans/virtio_*_cryptodev_func: fix dpdk\n app/examples name to adapt meson build",
        "Date": "Fri, 10 Dec 2021 11:49:06 +0800",
        "Message-Id": "<1639108148-29874-2-git-send-email-yux.jiang@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1639108148-29874-1-git-send-email-yux.jiang@intel.com>",
        "References": "<1639108148-29874-1-git-send-email-yux.jiang@intel.com>",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org"
    },
    "content": "fix dpdk app/examples name to adapt meson build\n\nSigned-off-by: Yu Jiang <yux.jiang@intel.com>\n---\n .../virtio_ipsec_cryptodev_func_test_plan.rst      | 31 +++++++++++++---------\n .../virtio_perf_cryptodev_func_test_plan.rst       | 20 ++++++++------\n .../virtio_unit_cryptodev_func_test_plan.rst       | 14 ++++++----\n 3 files changed, 39 insertions(+), 26 deletions(-)",
    "diff": "diff --git a/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst b/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst\nindex 58267ba..15e1a79 100644\n--- a/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst\n+++ b/test_plans/virtio_ipsec_cryptodev_func_test_plan.rst\n@@ -88,7 +88,7 @@ the bin is in /root/qemu-2.12 folder, which is your specified\n \n The options of ipsec-secgw is below::\n \n-    ./build/ipsec-secgw [EAL options] --\n+    ./build/examples/dpdk-ipsec-secgw [EAL options] --\n                         -p PORTMASK -P -u PORTMASK -j FRAMESIZE\n                         -l -a REPLAY_WINOW_SIZE -e -a\n                         --config (port,queue,lcore)[,(port,queue,lcore]\n@@ -115,15 +115,19 @@ and compare the payload with correct answer pre-stored in scripts:\n \n In Host:\n \n-# Enable config item in dpdk:\n+# Enable config item by default in dpdk::\n \n-      enable CONFIG_RTE_LIBRTE_VHOST in config/common_base\n+# Build DPDK and app vhost_crypto::\n \n-# Build DPDK and app vhost_crypto\n+      CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc\n+      ninja -C x86_64-native-linuxapp-gcc -j 110\n+\n+      meson configure -Dexamples=vhost_crypto x86_64-native-linuxapp-gcc\n+      ninja -C x86_64-native-linuxapp-gcc\n \n # Run the dpdk vhost sample::\n \n-    ./examples/vhost_crypto/build/vhost-crypto \\\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-vhost_crypto \\\n     --socket-mem 2048,0 --legacy-mem \\\n     -a 1a:01.0 -a 1c:01.0 -a 1e:01.0 \\\n     --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 \\\n@@ -168,11 +172,12 @@ In Host:\n \n In VM:\n \n-# enable config items, compile dpdk and app:\n+# enable config items, compile dpdk and app ipsec-secgw:\n \n-    enable CONFIG_RTE_EAL_IGB_UIO in config/common_base\n-    enable CONFIG_RTE_LIBRTE_PMD_AESNI_MB in config/common_base\n-    compile dpdk and compile test app \"ipsec-secgw\"\n+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc\n+    ninja -C x86_64-native-linuxapp-gcc -j 10\n+    meson configure -Dexamples=ipsec-secgw x86_64-native-linuxapp-gcc\n+    ninja -C x86_64-native-linuxapp-gcc\n \n # set virtio device::\n \n@@ -186,11 +191,11 @@ Test Case: Cryptodev AESNI_MB test\n \n In vm0::\n \n-    ./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\n+    ./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\n \n In vm1::\n \n-    ./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\n+    ./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\n \n send packets and verify\n \n@@ -199,10 +204,10 @@ Test Case: Cryptodev VIRTIO test\n \n In vm0::\n \n-    ./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\n+    ./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\n \n In vm1::\n \n-    ./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\n+    ./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\n \n send packets and verify\ndiff --git a/test_plans/virtio_perf_cryptodev_func_test_plan.rst b/test_plans/virtio_perf_cryptodev_func_test_plan.rst\nindex 816425b..93dad99 100644\n--- a/test_plans/virtio_perf_cryptodev_func_test_plan.rst\n+++ b/test_plans/virtio_perf_cryptodev_func_test_plan.rst\n@@ -100,15 +100,19 @@ Test case setup:\n \n In Host:\n \n-# Enable config item in dpdk:\n+# Enable config item(RTE_LIB_VHOST) by default in dpdk:\n \n-      enable CONFIG_RTE_LIBRTE_VHOST in config/common_base\n+# Build DPDK and app vhost_crypto::\n \n-# Build DPDK and app vhost_crypto\n+      CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc\n+      ninja -C x86_64-native-linuxapp-gcc -j 110\n+\n+      meson configure -Dexamples=vhost_crypto x86_64-native-linuxapp-gcc\n+      ninja -C x86_64-native-linuxapp-gcc\n \n # Run the dpdk vhost sample::\n \n-    ./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\n+    ./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\n \n # bind vf or pf with driver vfio-pci::\n \n@@ -136,8 +140,8 @@ In VM:\n \n # enable config items in dpdk and compile dpdk:\n \n-    enable CONFIG_RTE_EAL_IGB_UIO in config/common_base\n-    enable CONFIG_RTE_LIBRTE_PMD_AESNI_MB in config/common_base\n+    CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc\n+    ninja -C x86_64-native-linuxapp-gcc -j 10\n \n # set virtio device::\n \n@@ -151,7 +155,7 @@ Test Case: Cryptodev AESNI_MB test\n \n command::\n \n-      ./build/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_aesni_mb_pmd  \\\n+      ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -c 0xf --vdev crypto_aesni_mb_pmd  \\\n       -- --ptest throughput --devtype crypto_aesni_mb --optype cipher-then-auth  \\\n       --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --cipher-iv-sz 16 \\\n       --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 --auth-aad-sz 0 \\\n@@ -162,7 +166,7 @@ Test Case: Cryptodev VIRTIO test\n \n command::\n \n-      ./build/app/dpdk-test-crypto-perf -c 0xf  -a 00:05.0 -- --ptest throughput \\\n+      ./x86_64-native-linuxapp-gcc/app/dpdk-test-crypto-perf -c 0xf  -a 00:05.0 -- --ptest throughput \\\n       --devtype crypto_virtio --optype cipher-then-auth  --cipher-algo aes-cbc --cipher-op encrypt \\\n       --cipher-key-sz 16 --cipher-iv-sz 16 --auth-algo sha1-hmac --auth-op generate --auth-key-sz 64 \\\n       --auth-aad-sz 0 --auth-digest-sz 20 --total-ops 10000000 --burst-sz 32 --buffer-sz 1024\ndiff --git a/test_plans/virtio_unit_cryptodev_func_test_plan.rst b/test_plans/virtio_unit_cryptodev_func_test_plan.rst\nindex d08da69..e7d23a5 100644\n--- a/test_plans/virtio_unit_cryptodev_func_test_plan.rst\n+++ b/test_plans/virtio_unit_cryptodev_func_test_plan.rst\n@@ -70,15 +70,19 @@ Test Case Setup\n \n In Host:\n \n-# Enable config item in dpdk:\n-\n-      enable CONFIG_RTE_LIBRTE_VHOST in config/common_base\n+# Enable config item by default in dpdk:\n \n # Build DPDK and app vhost_crypto\n \n+      CC=gcc meson -Denable_kmods=True -Dlibdir=lib  --default-library=static x86_64-native-linuxapp-gcc\n+      ninja -C x86_64-native-linuxapp-gcc -j 110\n+\n+      meson configure -Dexamples=vhost_crypto x86_64-native-linuxapp-gcc\n+      ninja -C x86_64-native-linuxapp-gcc\n+\n # Run the dpdk vhost sample::\n \n-      ./examples/vhost_crypto/build/vhost-crypto --file-prefix=\"vhost_crypto_1\"\n+      ./x86_64-native-linuxapp-gcc/examples/dpdk-vhost_crypto --file-prefix=\"vhost_crypto_1\"\n           [EAL options]\n           [Cryptodev PMD]\n           -- --cdev-queue-id 0\n@@ -116,7 +120,7 @@ In VM:\n \n # Manually verify the app/test by this command, as example, in your build folder::\n \n-      ./app/test -c 1 -n 1\n+      ./x86_64-native-linuxapp-gcc/app/test/dpdk-test -c 1 -n 1 --log-level 6 -- -l 1,2,3 --vdev crypto_virtio\n       RTE>> cryptodev_virtio_autotest\n \n Expected all tests could pass in testing.\n",
    "prefixes": [
        "V1",
        "1/3"
    ]
}