get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 94923,
    "url": "https://patches.dpdk.org/api/patches/94923/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210628163434.77741-17-arkadiuszx.kusztal@intel.com/",
    "project": {
        "id": 1,
        "url": "https://patches.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": "<20210628163434.77741-17-arkadiuszx.kusztal@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210628163434.77741-17-arkadiuszx.kusztal@intel.com",
    "date": "2021-06-28T16:34:34",
    "name": "[v2,16/16] test/crypto: check if RAW API is supported",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "a8d8b7468b6c3dd3dbb522ff9b8ce99962881701",
    "submitter": {
        "id": 452,
        "url": "https://patches.dpdk.org/api/people/452/?format=api",
        "name": "Arkadiusz Kusztal",
        "email": "arkadiuszx.kusztal@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "https://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210628163434.77741-17-arkadiuszx.kusztal@intel.com/mbox/",
    "series": [
        {
            "id": 17505,
            "url": "https://patches.dpdk.org/api/series/17505/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17505",
            "date": "2021-06-28T16:34:18",
            "name": "Add support for fourth generation of Intel QuickAssist Technology devices",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/17505/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/94923/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/94923/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 80E94A0A0C;\n\tMon, 28 Jun 2021 18:36:30 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 72936411A9;\n\tMon, 28 Jun 2021 18:35:12 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 84D14411AF\n for <dev@dpdk.org>; Mon, 28 Jun 2021 18:35:10 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Jun 2021 09:35:10 -0700",
            "from silpixa00399302.ir.intel.com ([10.237.214.136])\n by fmsmga008.fm.intel.com with ESMTP; 28 Jun 2021 09:35:07 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10029\"; a=\"206165979\"",
            "E=Sophos;i=\"5.83,306,1616482800\"; d=\"scan'208\";a=\"206165979\"",
            "E=Sophos;i=\"5.83,306,1616482800\"; d=\"scan'208\";a=\"456395829\""
        ],
        "X-ExtLoop1": "1",
        "From": "Arek Kusztal <arkadiuszx.kusztal@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "gakhil@marvell.com, fiona.trahe@intel.com, roy.fan.zhang@intel.com,\n Adam Dybkowski <adamx.dybkowski@intel.com>",
        "Date": "Mon, 28 Jun 2021 17:34:34 +0100",
        "Message-Id": "<20210628163434.77741-17-arkadiuszx.kusztal@intel.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "In-Reply-To": "<20210628163434.77741-1-arkadiuszx.kusztal@intel.com>",
        "References": "<20210628163434.77741-1-arkadiuszx.kusztal@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 16/16] test/crypto: check if RAW API is\n supported",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "From: Adam Dybkowski <adamx.dybkowski@intel.com>\n\nThis patch adds checking if RAW API is supported at the start\nof the test command \"cryptodev_qat_raw_api_autotest\".\n\nSigned-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>\n---\n app/test/test_cryptodev.c | 34 +++++++++++++++++++++++++++++++++-\n 1 file changed, 33 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c\nindex 39db52b17a..64b6cc0db7 100644\n--- a/app/test/test_cryptodev.c\n+++ b/app/test/test_cryptodev.c\n@@ -14769,7 +14769,39 @@ test_cryptodev_bcmfs(void)\n static int\n test_cryptodev_qat_raw_api(void /*argv __rte_unused, int argc __rte_unused*/)\n {\n-\tint ret;\n+\tstatic const char *pmd_name = RTE_STR(CRYPTODEV_NAME_QAT_SYM_PMD);\n+\tstruct rte_cryptodev_info dev_info;\n+\tuint8_t i, nb_devs, found = 0;\n+\tint driver_id, ret;\n+\n+\tdriver_id = rte_cryptodev_driver_id_get(pmd_name);\n+\tif (driver_id == -1) {\n+\t\tRTE_LOG(WARNING, USER1, \"%s PMD must be loaded.\\n\", pmd_name);\n+\t\treturn TEST_SKIPPED;\n+\t}\n+\n+\tnb_devs = rte_cryptodev_count();\n+\tif (nb_devs < 1) {\n+\t\tRTE_LOG(WARNING, USER1, \"No crypto devices found?\\n\");\n+\t\treturn TEST_SKIPPED;\n+\t}\n+\n+\tfor (i = 0; i < nb_devs; i++) {\n+\t\trte_cryptodev_info_get(i, &dev_info);\n+\t\tif (dev_info.driver_id == driver_id) {\n+\t\t\tif (!(dev_info.feature_flags &\n+\t\t\t\t\tRTE_CRYPTODEV_FF_SYM_RAW_DP)) {\n+\t\t\t\tRTE_LOG(INFO, USER1, \"RAW API not supported\\n\");\n+\t\t\t\treturn TEST_SKIPPED;\n+\t\t\t}\n+\t\t\tfound = 1;\n+\t\t\tbreak;\n+\t\t}\n+\t}\n+\tif (!found) {\n+\t\tRTE_LOG(INFO, USER1, \"RAW API not supported\\n\");\n+\t\treturn TEST_SKIPPED;\n+\t}\n \n \tglobal_api_test_type = CRYPTODEV_RAW_API_TEST;\n \tret = run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_QAT_SYM_PMD));\n",
    "prefixes": [
        "v2",
        "16/16"
    ]
}