get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1124839,
    "url": "http://patchwork.ozlabs.org/api/patches/1124839/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190629185405.1601-15-shiraz.saleem@intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20190629185405.1601-15-shiraz.saleem@intel.com>",
    "list_archive_url": null,
    "date": "2019-06-29T18:54:02",
    "name": "[rdma-next,14/17] RDMA/irdma: Add ABI definitions",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": false,
    "hash": "0af35dd5219603f880feef7afcdbc5b92a25648b",
    "submitter": {
        "id": 69500,
        "url": "http://patchwork.ozlabs.org/api/people/69500/?format=api",
        "name": "Saleem, Shiraz",
        "email": "shiraz.saleem@intel.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190629185405.1601-15-shiraz.saleem@intel.com/mbox/",
    "series": [
        {
            "id": 116886,
            "url": "http://patchwork.ozlabs.org/api/series/116886/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=116886",
            "date": "2019-06-29T18:53:48",
            "name": "Add unified Intel Ethernet RDMA driver (irdma)",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/116886/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1124839/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1124839/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=intel.com"
        ],
        "Received": [
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 45bjVd56Hqz9s3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 30 Jun 2019 04:54:49 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 0DEA5204CE;\n\tSat, 29 Jun 2019 18:54:48 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id q44buODqZaMl; Sat, 29 Jun 2019 18:54:41 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 401DB204CF;\n\tSat, 29 Jun 2019 18:54:27 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 5C0A61BF3AD\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 29 Jun 2019 18:54:25 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 59C8587E58\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 29 Jun 2019 18:54:25 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id xYCcO22kHJOA for <intel-wired-lan@lists.osuosl.org>;\n\tSat, 29 Jun 2019 18:54:23 +0000 (UTC)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 6D68087E8A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 29 Jun 2019 18:54:23 +0000 (UTC)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t29 Jun 2019 11:54:23 -0700",
            "from ssaleem-mobl.amr.corp.intel.com ([10.254.177.95])\n\tby fmsmga004.fm.intel.com with ESMTP; 29 Jun 2019 11:54:23 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.63,432,1557212400\"; d=\"scan'208\";a=\"185972897\"",
        "From": "Shiraz Saleem <shiraz.saleem@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Sat, 29 Jun 2019 13:54:02 -0500",
        "Message-Id": "<20190629185405.1601-15-shiraz.saleem@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190629185405.1601-1-shiraz.saleem@intel.com>",
        "References": "<20190629185405.1601-1-shiraz.saleem@intel.com>",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH rdma-next 14/17] RDMA/irdma: Add ABI\n\tdefinitions",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Cc": "Mustafa Ismail <mustafa.ismail@intel.com>,\n\tShiraz Saleem <shiraz.saleem@intel.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "From: Mustafa Ismail <mustafa.ismail@intel.com>\n\nAdd ABI definitions for irdma.\n\nSigned-off-by: Mustafa Ismail <mustafa.ismail@intel.com>\nSigned-off-by: Shiraz Saleem <shiraz.saleem@intel.com>\n---\n include/uapi/rdma/irdma-abi.h | 159 ++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 159 insertions(+)\n create mode 100644 include/uapi/rdma/irdma-abi.h",
    "diff": "diff --git a/include/uapi/rdma/irdma-abi.h b/include/uapi/rdma/irdma-abi.h\nnew file mode 100644\nindex 0000000..d8d54e3\n--- /dev/null\n+++ b/include/uapi/rdma/irdma-abi.h\n@@ -0,0 +1,159 @@\n+/*\n+ * Copyright (c) 2006 - 2019 Intel Corporation.  All rights reserved.\n+ * Copyright (c) 2005 Topspin Communications.  All rights reserved.\n+ * Copyright (c) 2005 Cisco Systems.  All rights reserved.\n+ * Copyright (c) 2005 Open Grid Computing, Inc. All rights reserved.\n+ *\n+ * This software is available to you under a choice of one of two\n+ * licenses.  You may choose to be licensed under the terms of the GNU\n+ * General Public License (GPL) Version 2, available from the file\n+ * COPYING in the main directory of this source tree, or the\n+ * OpenIB.org BSD license below:\n+ *\n+ *     Redistribution and use in source and binary forms, with or\n+ *     without modification, are permitted provided that the following\n+ *     conditions are met:\n+ *\n+ *      - Redistributions of source code must retain the above\n+ *        copyright notice, this list of conditions and the following\n+ *        disclaimer.\n+ *\n+ *      - Redistributions in binary form must reproduce the above\n+ *        copyright notice, this list of conditions and the following\n+ *        disclaimer in the documentation and/or other materials\n+ *        provided with the distribution.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n+ *\n+ */\n+\n+#ifndef IRDMA_ABI_H\n+#define IRDMA_ABI_H\n+\n+#include <linux/types.h>\n+\n+/* irdma must support legacy GEN_1 i40iw kernel\n+ * and user-space whose last ABI ver is 5\n+ */\n+#define IRDMA_ABI_VER 6\n+\n+enum irdma_memreg_type {\n+\tIW_MEMREG_TYPE_MEM  = 0,\n+\tIW_MEMREG_TYPE_QP   = 1,\n+\tIW_MEMREG_TYPE_CQ   = 2,\n+\tIW_MEMREG_TYPE_RSVD = 3,\n+\tIW_MEMREG_TYPE_MW   = 4,\n+};\n+\n+struct irdma_alloc_ucontext_req {\n+\t__u32 rsvd32;\n+\t__u8 userspace_ver;\n+\t__u8 rsvd8[3];\n+};\n+\n+struct i40iw_alloc_ucontext_req {\n+\t__u32 rsvd32;\n+\t__u8 userspace_ver;\n+\t__u8 rsvd8[3];\n+};\n+\n+struct irdma_alloc_ucontext_resp {\n+\t__aligned_u64 feature_flags;\n+\t__u32 max_hw_wq_frags;\n+\t__u32 max_hw_read_sges;\n+\t__u32 max_hw_inline;\n+\t__u32 max_hw_rq_quanta;\n+\t__u32 max_hw_wq_quanta;\n+\t__u32 min_hw_cq_size;\n+\t__u32 max_hw_cq_size;\n+\t__u32 rsvd1[7];\n+\t__u16 max_hw_sq_chunk;\n+\t__u16 rsvd2[11];\n+\t__u8 kernel_ver;\n+\t__u8 hw_rev;\n+\t__u8 rsvd3[6];\n+};\n+\n+struct i40iw_alloc_ucontext_resp {\n+\t__u32 max_pds;\n+\t__u32 max_qps;\n+\t__u32 wq_size; /* size of the WQs (SQ+RQ) in the mmaped area */\n+\t__u8 kernel_ver;\n+\t__u8 rsvd[3];\n+};\n+\n+struct irdma_alloc_pd_resp {\n+\t__u32 pd_id;\n+\t__u8 rsvd[4];\n+};\n+\n+struct irdma_resize_cq_req {\n+\t__aligned_u64 user_cq_buffer;\n+};\n+\n+struct irdma_create_cq_req {\n+\t__aligned_u64 user_cq_buf;\n+\t__aligned_u64 user_shadow_area;\n+};\n+\n+struct irdma_create_qp_req {\n+\t__aligned_u64 user_wqe_bufs;\n+\t__aligned_u64 user_compl_ctx;\n+};\n+\n+struct i40iw_create_qp_req {\n+\t__aligned_u64 user_wqe_bufs;\n+\t__aligned_u64 user_compl_ctx;\n+};\n+\n+struct irdma_mem_reg_req {\n+\t__u16 reg_type; /* Memory, QP or CQ */\n+\t__u16 cq_pages;\n+\t__u16 rq_pages;\n+\t__u16 sq_pages;\n+};\n+\n+struct irdma_create_cq_resp {\n+\t__u32 cq_id;\n+\t__u32 cq_size;\n+};\n+\n+struct irdma_create_qp_resp {\n+\t__u32 qp_id;\n+\t__u32 actual_sq_size;\n+\t__u32 actual_rq_size;\n+\t__u32 irdma_drv_opt;\n+\t__u32 qp_caps;\n+\t__u16 rsvd1;\n+\t__u8 lsmm;\n+\t__u8 rsvd2;\n+};\n+\n+struct i40iw_create_qp_resp {\n+\t__u32 qp_id;\n+\t__u32 actual_sq_size;\n+\t__u32 actual_rq_size;\n+\t__u32 i40iw_drv_opt;\n+\t__u16 push_idx;\n+\t__u8 lsmm;\n+\t__u8 rsvd;\n+};\n+\n+struct irdma_modify_qp_resp {\n+\t__u16 push_idx;\n+\t__u16 push_offset;\n+\t__u8 rsvd[4];\n+};\n+\n+struct irdma_create_ah_resp {\n+\t__u32 ah_id;\n+\t__u8 rsvd[4];\n+};\n+#endif /* IRDMA_ABI_H */\n",
    "prefixes": [
        "rdma-next",
        "14/17"
    ]
}