get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 68684,
    "url": "http://patchwork.dpdk.org/api/patches/68684/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200416092532.1922099-4-pablo.de.lara.guarch@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20200416092532.1922099-4-pablo.de.lara.guarch@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200416092532.1922099-4-pablo.de.lara.guarch@intel.com",
    "date": "2020-04-16T09:25:31",
    "name": "[v2,3/4] test/crypto: check if device supports out-of-place ops",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "c79c5db4d947dbc6d9cedfd343d88a69699054e8",
    "submitter": {
        "id": 9,
        "url": "http://patchwork.dpdk.org/api/people/9/?format=api",
        "name": "De Lara Guarch, Pablo",
        "email": "pablo.de.lara.guarch@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patchwork.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200416092532.1922099-4-pablo.de.lara.guarch@intel.com/mbox/",
    "series": [
        {
            "id": 9428,
            "url": "http://patchwork.dpdk.org/api/series/9428/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=9428",
            "date": "2020-04-16T09:25:28",
            "name": "Crypto test refactoring (second phase)",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/9428/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/68684/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/68684/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-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 3B58DA0588;\n\tThu, 16 Apr 2020 15:27:04 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 89E091DCCB;\n\tThu, 16 Apr 2020 15:26:20 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id D7EA41DCC7\n for <dev@dpdk.org>; Thu, 16 Apr 2020 15:26:18 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Apr 2020 06:26:18 -0700",
            "from silpixa00400565.ir.intel.com (HELO\n silpixa00400565.ger.corp.intel.com) ([10.237.222.249])\n by fmsmga007.fm.intel.com with ESMTP; 16 Apr 2020 06:26:15 -0700"
        ],
        "IronPort-SDR": [
            "\n goJYnNMyRwRzP7LLIikdKt9XCBN04WCmklZWkTu6cdOkYAe96OVlGQpyLOsqSgrAK7wlwd7VZy\n 0bTW7AufyEBw==",
            "\n 7odXM66hleH1dWgdeH3tvHF06kxu3lVPYeYJ4BUzShOLrtLT/1+eTScA5OjVjmO9FTwmviGGzg\n yeGxtKk5lfGg=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.72,391,1580803200\"; d=\"scan'208\";a=\"244396668\"",
        "From": "Pablo de Lara <pablo.de.lara.guarch@intel.com>",
        "To": "declan.doherty@intel.com, ravi1.kumar@amd.com, ruifeng.wang@arm.com,\n anoobj@marvell.com, roy.fan.zhang@intel.com, fiona.trahe@intel.com,\n tdu@semihalf.com, rnagadheeraj@marvell.com, adwivedi@marvell.com,\n g.singh@nxp.com, hemant.agrawal@nxp.com, jianjay.zhou@huawei.com",
        "Cc": "dev@dpdk.org, akhil.goyal@nxp.com,\n Pablo de Lara <pablo.de.lara.guarch@intel.com>",
        "Date": "Thu, 16 Apr 2020 10:25:31 +0100",
        "Message-Id": "<20200416092532.1922099-4-pablo.de.lara.guarch@intel.com>",
        "X-Mailer": "git-send-email 2.25.2",
        "In-Reply-To": "<20200416092532.1922099-1-pablo.de.lara.guarch@intel.com>",
        "References": "\n <1586887459-222433-1-git-send-email-pablo.de.lara.guarch@intel.com>\n <20200416092532.1922099-1-pablo.de.lara.guarch@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 3/4] test/crypto: check if device supports\n\tout-of-place ops",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Before running any out-of-place test cases,\ncheck if device supports this mode.\n\nSigned-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n app/test/test_cryptodev_blockcipher.c | 14 ++++++++++++++\n 1 file changed, 14 insertions(+)",
    "diff": "diff --git a/app/test/test_cryptodev_blockcipher.c b/app/test/test_cryptodev_blockcipher.c\nindex 43f9d17da..0c24d70cb 100644\n--- a/app/test/test_cryptodev_blockcipher.c\n+++ b/app/test/test_cryptodev_blockcipher.c\n@@ -168,6 +168,20 @@ test_blockcipher_one_case(const struct blockcipher_test_case *t,\n \t\tnb_segs = 3;\n \t}\n \n+\tif (t->feature_mask & BLOCKCIPHER_TEST_FEATURE_OOP) {\n+\t\tuint64_t oop_flags = RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT |\n+\t\t\tRTE_CRYPTODEV_FF_OOP_LB_IN_SGL_OUT |\n+\t\t\tRTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT |\n+\t\t\tRTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT;\n+\t\tif (!(feat_flags & oop_flags)) {\n+\t\t\tprintf(\"Device doesn't support out-of-place operations.\"\n+\t\t\t\t\"Test Skipped.\\n\");\n+\t\t\tsnprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN,\n+\t\t\t\t\"SKIPPED\");\n+\t\t\treturn 0;\n+\t\t}\n+\t}\n+\n \tif (tdata->cipher_key.len)\n \t\tmemcpy(cipher_key, tdata->cipher_key.data,\n \t\t\ttdata->cipher_key.len);\n",
    "prefixes": [
        "v2",
        "3/4"
    ]
}