Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1182391/?format=api
{ "id": 1182391, "url": "http://patchwork.ozlabs.org/api/patches/1182391/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20191023182253.1115-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": "<20191023182253.1115-15-shiraz.saleem@intel.com>", "list_archive_url": null, "date": "2019-10-23T18:22:50", "name": "[rdma-nxt,14/16] RDMA/irdma: Add ABI definitions", "commit_ref": null, "pull_url": null, "state": "changes-requested", "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/20191023182253.1115-15-shiraz.saleem@intel.com/mbox/", "series": [ { "id": 138160, "url": "http://patchwork.ozlabs.org/api/series/138160/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=138160", "date": "2019-10-23T18:22:36", "name": "Add unified Intel Ethernet RDMA driver (irdma)", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/138160/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1182391/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1182391/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; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=osuosl.org (client-ip=140.211.166.138;\n\thelo=whitealder.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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 46yzdr5FGFz9sNw\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 24 Oct 2019 05:38:08 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 43BEF8773D;\n\tWed, 23 Oct 2019 18:38:07 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ZsayaXh5thh9; Wed, 23 Oct 2019 18:38:05 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id E782787747;\n\tWed, 23 Oct 2019 18:38:05 +0000 (UTC)", "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 5A1F01BF48D\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 23 Oct 2019 18:38:03 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 4714D22C51\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 23 Oct 2019 18:38:03 +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 nR+2se-lSzul for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 23 Oct 2019 18:38:01 +0000 (UTC)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 1A60222BCC\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 23 Oct 2019 18:37:59 +0000 (UTC)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t23 Oct 2019 11:37:59 -0700", "from ssaleem-mobl.amr.corp.intel.com ([10.122.128.45])\n\tby fmsmga002.fm.intel.com with ESMTP; 23 Oct 2019 11:37:58 -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.68,221,1569308400\"; d=\"scan'208\";a=\"228225091\"", "From": "Shiraz Saleem <shiraz.saleem@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Wed, 23 Oct 2019 13:22:50 -0500", "Message-Id": "<20191023182253.1115-15-shiraz.saleem@intel.com>", "X-Mailer": "git-send-email 2.21.0", "In-Reply-To": "<20191023182253.1115-1-shiraz.saleem@intel.com>", "References": "<20191023182253.1115-1-shiraz.saleem@intel.com>", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH rdma-nxt 14/16] 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-nxt", "14/16" ] }