get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 60330,
    "url": "https://patches.dpdk.org/api/patches/60330/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191001113339.21767-5-hemant.agrawal@nxp.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": "<20191001113339.21767-5-hemant.agrawal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191001113339.21767-5-hemant.agrawal@nxp.com",
    "date": "2019-10-01T11:33:38",
    "name": "[5/6] test/event_crypto: use device cap instead of fixed values",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "f88c06f1fd14e851936e1c4e3f81b3da4e6c05ad",
    "submitter": {
        "id": 477,
        "url": "https://patches.dpdk.org/api/people/477/?format=api",
        "name": "Hemant Agrawal",
        "email": "hemant.agrawal@nxp.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191001113339.21767-5-hemant.agrawal@nxp.com/mbox/",
    "series": [
        {
            "id": 6648,
            "url": "https://patches.dpdk.org/api/series/6648/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6648",
            "date": "2019-10-01T11:33:34",
            "name": "[1/6] test/event_crypto: fix missing IV value for AES algo",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/6648/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/60330/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/60330/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 013D01BE0C;\n\tTue,  1 Oct 2019 13:36:14 +0200 (CEST)",
            "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n\tby dpdk.org (Postfix) with ESMTP id C53AF4C99\n\tfor <dev@dpdk.org>; Tue,  1 Oct 2019 13:36:10 +0200 (CEST)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A3CB91A094E;\n\tTue,  1 Oct 2019 13:36:10 +0200 (CEST)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D76D21A0567;\n\tTue,  1 Oct 2019 13:36:08 +0200 (CEST)",
            "from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net\n\t[10.232.133.63])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id ED7EC4032B;\n\tTue,  1 Oct 2019 19:36:03 +0800 (SGT)"
        ],
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "To": "dev@dpdk.org",
        "Cc": "jerinj@marvell.com,\n\tabhinandan.gujjar@intel.com",
        "Date": "Tue,  1 Oct 2019 17:03:38 +0530",
        "Message-Id": "<20191001113339.21767-5-hemant.agrawal@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20191001113339.21767-1-hemant.agrawal@nxp.com>",
        "References": "<20191001113339.21767-1-hemant.agrawal@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Subject": "[dpdk-dev] [PATCH 5/6] test/event_crypto: use device cap instead of\n\tfixed values",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Instead of hardcoded event device capabilities,\nit is better to enquire and use the device supported caps.\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n app/test/test_event_crypto_adapter.c | 19 ++++++++-----------\n 1 file changed, 8 insertions(+), 11 deletions(-)",
    "diff": "diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c\nindex b9e3a439e..6b10909e3 100644\n--- a/app/test/test_event_crypto_adapter.c\n+++ b/app/test/test_event_crypto_adapter.c\n@@ -703,12 +703,11 @@ test_crypto_adapter_free(void)\n static int\n test_crypto_adapter_create(void)\n {\n-\tstruct rte_event_port_conf conf = {\n-\t\t.dequeue_depth = 8,\n-\t\t.enqueue_depth = 8,\n-\t\t.new_event_threshold = 1200,\n-\t};\n \tint ret;\n+\tstruct rte_event_port_conf conf;\n+\n+\tret = rte_event_port_default_conf_get(TEST_CDEV_ID, 0, &conf);\n+\tTEST_ASSERT_SUCCESS(ret, \"Failed to get port0 info\");\n \n \t/* Create adapter with default port creation callback */\n \tret = rte_event_crypto_adapter_create(TEST_ADAPTER_ID,\n@@ -747,14 +746,12 @@ test_crypto_adapter_qp_add_del(void)\n static int\n configure_event_crypto_adapter(enum rte_event_crypto_adapter_mode mode)\n {\n-\tstruct rte_event_port_conf conf = {\n-\t\t.dequeue_depth = 8,\n-\t\t.enqueue_depth = 8,\n-\t\t.new_event_threshold = 1200,\n-\t};\n-\n \tuint32_t cap;\n \tint ret;\n+\tstruct rte_event_port_conf conf;\n+\n+\tret = rte_event_port_default_conf_get(TEST_CDEV_ID, 0, &conf);\n+\tTEST_ASSERT_SUCCESS(ret, \"Failed to get port0 info\");\n \n \t/* Create adapter with default port creation callback */\n \tret = rte_event_crypto_adapter_create(TEST_ADAPTER_ID,\n",
    "prefixes": [
        "5/6"
    ]
}