get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 48979,
    "url": "https://patches.dpdk.org/api/patches/48979/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1545032259-77179-12-git-send-email-wenzhuo.lu@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": "<1545032259-77179-12-git-send-email-wenzhuo.lu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1545032259-77179-12-git-send-email-wenzhuo.lu@intel.com",
    "date": "2018-12-17T07:37:19",
    "name": "[v5,11/31] net/ice/base: add various headers",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "12b00fa3b1e9bccd1519e8ddc08780feee92b6e8",
    "submitter": {
        "id": 258,
        "url": "https://patches.dpdk.org/api/people/258/?format=api",
        "name": "Wenzhuo Lu",
        "email": "wenzhuo.lu@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1545032259-77179-12-git-send-email-wenzhuo.lu@intel.com/mbox/",
    "series": [
        {
            "id": 2824,
            "url": "https://patches.dpdk.org/api/series/2824/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=2824",
            "date": "2018-12-17T07:37:08",
            "name": "A new net PMD - ICE",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/2824/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/48979/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/48979/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 47D1A1B88E;\n\tMon, 17 Dec 2018 08:33:17 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 766B71B5C2\n\tfor <dev@dpdk.org>; Mon, 17 Dec 2018 08:33:09 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t16 Dec 2018 23:33:07 -0800",
            "from dpdk26.sh.intel.com ([10.67.110.164])\n\tby orsmga002.jf.intel.com with ESMTP; 16 Dec 2018 23:33:07 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.56,364,1539673200\"; d=\"scan'208\";a=\"118899182\"",
        "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>",
        "Date": "Mon, 17 Dec 2018 15:37:19 +0800",
        "Message-Id": "<1545032259-77179-12-git-send-email-wenzhuo.lu@intel.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "In-Reply-To": "<1545032259-77179-1-git-send-email-wenzhuo.lu@intel.com>",
        "References": "<1542956179-80951-1-git-send-email-wenzhuo.lu@intel.com>\n\t<1545032259-77179-1-git-send-email-wenzhuo.lu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v5 11/31] net/ice/base: add various headers",
        "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": "From: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>\n\nAdd various headers that define status codes and\nbasic defines for use in the code.\n\nSigned-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>\n---\n drivers/net/ice/base/ice_alloc.h     | 22 ++++++++++++++++++\n drivers/net/ice/base/ice_flex_type.h | 19 +++++++++++++++\n drivers/net/ice/base/ice_flow.h      |  8 +++++++\n drivers/net/ice/base/ice_status.h    | 45 ++++++++++++++++++++++++++++++++++++\n 4 files changed, 94 insertions(+)\n create mode 100644 drivers/net/ice/base/ice_alloc.h\n create mode 100644 drivers/net/ice/base/ice_flex_type.h\n create mode 100644 drivers/net/ice/base/ice_flow.h\n create mode 100644 drivers/net/ice/base/ice_status.h",
    "diff": "diff --git a/drivers/net/ice/base/ice_alloc.h b/drivers/net/ice/base/ice_alloc.h\nnew file mode 100644\nindex 0000000..7883104\n--- /dev/null\n+++ b/drivers/net/ice/base/ice_alloc.h\n@@ -0,0 +1,22 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2001-2018\n+ */\n+\n+#ifndef _ICE_ALLOC_H_\n+#define _ICE_ALLOC_H_\n+\n+/* Memory types */\n+enum ice_memset_type {\n+\tICE_NONDMA_MEM = 0,\n+\tICE_DMA_MEM\n+};\n+\n+/* Memcpy types */\n+enum ice_memcpy_type {\n+\tICE_NONDMA_TO_NONDMA = 0,\n+\tICE_NONDMA_TO_DMA,\n+\tICE_DMA_TO_DMA,\n+\tICE_DMA_TO_NONDMA\n+};\n+\n+#endif /* _ICE_ALLOC_H_ */\ndiff --git a/drivers/net/ice/base/ice_flex_type.h b/drivers/net/ice/base/ice_flex_type.h\nnew file mode 100644\nindex 0000000..84a38cb\n--- /dev/null\n+++ b/drivers/net/ice/base/ice_flex_type.h\n@@ -0,0 +1,19 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2001-2018\n+ */\n+\n+#ifndef _ICE_FLEX_TYPE_H_\n+#define _ICE_FLEX_TYPE_H_\n+\n+/* Extraction Sequence (Field Vector) Table */\n+struct ice_fv_word {\n+\tu8 prot_id;\n+\tu8 off;\t\t/* Offset within the protocol header */\n+};\n+\n+#define ICE_MAX_FV_WORDS 48\n+struct ice_fv {\n+\tstruct ice_fv_word ew[ICE_MAX_FV_WORDS];\n+};\n+\n+#endif /* _ICE_FLEX_TYPE_H_ */\ndiff --git a/drivers/net/ice/base/ice_flow.h b/drivers/net/ice/base/ice_flow.h\nnew file mode 100644\nindex 0000000..228a2c0\n--- /dev/null\n+++ b/drivers/net/ice/base/ice_flow.h\n@@ -0,0 +1,8 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2001-2018\n+ */\n+\n+#ifndef _ICE_FLOW_H_\n+#define _ICE_FLOW_H_\n+\n+#endif /* _ICE_FLOW_H_ */\ndiff --git a/drivers/net/ice/base/ice_status.h b/drivers/net/ice/base/ice_status.h\nnew file mode 100644\nindex 0000000..898bfa6\n--- /dev/null\n+++ b/drivers/net/ice/base/ice_status.h\n@@ -0,0 +1,45 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2001-2018\n+ */\n+\n+#ifndef _ICE_STATUS_H_\n+#define _ICE_STATUS_H_\n+\n+/* Error Codes */\n+enum ice_status {\n+\tICE_SUCCESS\t\t\t\t= 0,\n+\n+\t/* Generic codes : Range -1..-49 */\n+\tICE_ERR_PARAM\t\t\t\t= -1,\n+\tICE_ERR_NOT_IMPL\t\t\t= -2,\n+\tICE_ERR_NOT_READY\t\t\t= -3,\n+\tICE_ERR_BAD_PTR\t\t\t\t= -5,\n+\tICE_ERR_INVAL_SIZE\t\t\t= -6,\n+\tICE_ERR_DEVICE_NOT_SUPPORTED\t\t= -8,\n+\tICE_ERR_RESET_FAILED\t\t\t= -9,\n+\tICE_ERR_FW_API_VER\t\t\t= -10,\n+\tICE_ERR_NO_MEMORY\t\t\t= -11,\n+\tICE_ERR_CFG\t\t\t\t= -12,\n+\tICE_ERR_OUT_OF_RANGE\t\t\t= -13,\n+\tICE_ERR_ALREADY_EXISTS\t\t\t= -14,\n+\tICE_ERR_DOES_NOT_EXIST\t\t\t= -15,\n+\tICE_ERR_IN_USE\t\t\t\t= -16,\n+\tICE_ERR_MAX_LIMIT\t\t\t= -17,\n+\tICE_ERR_RESET_ONGOING\t\t\t= -18,\n+\tICE_ERR_HW_TABLE\t\t\t= -19,\n+\n+\t/* NVM specific error codes: Range -50..-59 */\n+\tICE_ERR_NVM\t\t\t\t= -50,\n+\tICE_ERR_NVM_CHECKSUM\t\t\t= -51,\n+\tICE_ERR_BUF_TOO_SHORT\t\t\t= -52,\n+\tICE_ERR_NVM_BLANK_MODE\t\t\t= -53,\n+\n+\t/* ARQ/ASQ specific error codes. Range -100..-109 */\n+\tICE_ERR_AQ_ERROR\t\t\t= -100,\n+\tICE_ERR_AQ_TIMEOUT\t\t\t= -101,\n+\tICE_ERR_AQ_FULL\t\t\t\t= -102,\n+\tICE_ERR_AQ_NO_WORK\t\t\t= -103,\n+\tICE_ERR_AQ_EMPTY\t\t\t= -104,\n+};\n+\n+#endif /* _ICE_STATUS_H_ */\n",
    "prefixes": [
        "v5",
        "11/31"
    ]
}