get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76683,
    "url": "http://patches.dpdk.org/api/patches/76683/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200907111035.7697-8-yux.jiang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patches.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": "<20200907111035.7697-8-yux.jiang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200907111035.7697-8-yux.jiang@intel.com",
    "date": "2020-09-07T11:10:33",
    "name": "[V1,7/9] tests/TestSuite_virtio_perf_cryptodev_func: support meson build",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6afe7e68da268827404705512bb2555505c598bd",
    "submitter": {
        "id": 1709,
        "url": "http://patches.dpdk.org/api/people/1709/?format=api",
        "name": "Yu Jiang",
        "email": "yux.jiang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20200907111035.7697-8-yux.jiang@intel.com/mbox/",
    "series": [
        {
            "id": 11990,
            "url": "http://patches.dpdk.org/api/series/11990/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=11990",
            "date": "2020-09-07T11:10:26",
            "name": "Modify suites to support meson & makefile",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11990/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76683/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/76683/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 1FFDFA04B7;\n\tMon,  7 Sep 2020 13:11:32 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 18B121C0DB;\n\tMon,  7 Sep 2020 13:11:32 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 92D861BE0C\n for <dts@dpdk.org>; Mon,  7 Sep 2020 13:11:30 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Sep 2020 04:11:30 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 04:11:28 -0700"
        ],
        "IronPort-SDR": [
            "\n r9BUGvi4zJKi1DO/HIxsmxJl+iPQ7kN+W1p6RdaZ26RiJFEofvxDbNk/oZKI1KAPRLruqWozzH\n DDRfJ6XONJGw==",
            "\n 0+r2Wmj+hmKuYdML5e9wn/Qaq1HVN+7AEEBdJX48ULGgFuYjl/zrsgNprQKEJ+gE9z7+3htzKz\n ZhaLr98o65zA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9736\"; a=\"222197531\"",
            "E=Sophos;i=\"5.76,401,1592895600\"; d=\"scan'208\";a=\"222197531\"",
            "E=Sophos;i=\"5.76,401,1592895600\"; d=\"scan'208\";a=\"316841869\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "\"Jiang, YuX\" <yux.jiang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "\"Jiang,yu\" <yux.jiang@intel.com>, Jiang@dpdk.org",
        "Date": "Mon,  7 Sep 2020 19:10:33 +0800",
        "Message-Id": "<20200907111035.7697-8-yux.jiang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200907111035.7697-1-yux.jiang@intel.com>",
        "References": "<20200907111035.7697-1-yux.jiang@intel.com>",
        "Subject": "[dts] [PATCH V1 7/9] tests/TestSuite_virtio_perf_cryptodev_func:\n\tsupport meson build",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "From: \"Jiang,yu\" <yux.jiang@intel.com>\n\nadapt to support both meson and makefile build\n\nSigned-off-by: Jiang,yu <yux.jiang@intel.com>\n---\n tests/TestSuite_virtio_perf_cryptodev_func.py | 20 ++++++--------------\n 1 file changed, 6 insertions(+), 14 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_virtio_perf_cryptodev_func.py b/tests/TestSuite_virtio_perf_cryptodev_func.py\nindex 5323fc6..5126a06 100644\n--- a/tests/TestSuite_virtio_perf_cryptodev_func.py\n+++ b/tests/TestSuite_virtio_perf_cryptodev_func.py\n@@ -41,8 +41,8 @@ import cryptodev_common as cc\n \n class VirtioCryptodevPerfTest(TestCase):\n     def set_up_all(self):\n-        self.sample_app = \"./examples/vhost_crypto/build/vhost-crypto\"\n-        self.user_app = \"./{target}/build/app/test-crypto-perf/dpdk-test-crypto-perf\".format(target=self.dut.target)\n+        self.sample_app = self.dut.apps_name['vhost_crypto']\n+        self.user_app = self.dut.apps_name['test-crypto-perf']\n         self._default_crypto_perf_opts = {\n             \"ptest\": \"throughput\",\n             \"silent\": \"\",\n@@ -85,7 +85,7 @@ class VirtioCryptodevPerfTest(TestCase):\n         if not cc.is_build_skip(self):\n             self.dut.skip_setup = False\n             cc.build_dpdk_with_cryptodev(self)\n-        self.build_vhost_app()\n+        self.dut.build_dpdk_apps(\"./examples/vhost_crypto\")\n         cc.bind_qat_device(self)\n \n         self.vf_assign_method = \"vfio-pci\"\n@@ -119,16 +119,7 @@ class VirtioCryptodevPerfTest(TestCase):\n             \"sed -i 's/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n$/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y/' config/common_base\", '#', 30)\n         user_dut.send_expect(\n             \"sed -i 's/CONFIG_RTE_EAL_IGB_UIO=n/CONFIG_RTE_EAL_IGB_UIO=y/g' config/common_base\", '#', 30)\n-        out = user_dut.send_expect(\"make -j %d install T=%s MAKE_PAUSE=n\" % (user_dut.number_of_cores, self.target), \"# \", 900)\n-\n-        self.verify(\"Error\" not in out, \"compilation error 1\")\n-        self.verify(\"No such file\" not in out, \"compilation error 2\")\n-\n-    def build_vhost_app(self):\n-        out = self.dut_execut_cmd(\"make -C ./examples/vhost_crypto\")\n-\n-        self.verify(\"Error\" not in out, \"compilation error 1\")\n-        self.verify(\"No such file\" not in out, \"compilation error 2\")\n+        user_dut.build_install_dpdk(self.target)\n \n     def get_vhost_eal(self):\n         default_eal_opts = {\n@@ -260,7 +251,8 @@ class VirtioCryptodevPerfTest(TestCase):\n             self.used_dut_port = None\n \n         self.dut_execut_cmd(\"^C\", \"# \")\n-        self.dut_execut_cmd(\"killall -s INT vhost-crypto\")\n+        self.app_name = self.sample_app[self.sample_app.rfind('/')+1:]\n+        self.dut.send_expect(\"killall -s INT %s\" % self.app_name, \"#\")\n         self.dut_execut_cmd(\"killall -s INT qemu-system-x86_64\")\n         self.dut_execut_cmd(\"rm -r /tmp/*\")\n         cc.clear_dpdk_config(self)\n",
    "prefixes": [
        "V1",
        "7/9"
    ]
}