get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 970164,
    "url": "http://patchwork.ozlabs.org/api/patches/970164/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180915003757.169108-9-jesse.brandeburg@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": "<20180915003757.169108-9-jesse.brandeburg@intel.com>",
    "list_archive_url": null,
    "date": "2018-09-15T00:37:51",
    "name": "[net-next,v2,08/14] iavf: rename I40E_ADMINQ_DESC",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d8c1c27f371f9c1aaa4eebfd283c9a3394773d15",
    "submitter": {
        "id": 189,
        "url": "http://patchwork.ozlabs.org/api/people/189/?format=api",
        "name": "Jesse Brandeburg",
        "email": "jesse.brandeburg@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/20180915003757.169108-9-jesse.brandeburg@intel.com/mbox/",
    "series": [
        {
            "id": 65816,
            "url": "http://patchwork.ozlabs.org/api/series/65816/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=65816",
            "date": "2018-09-15T00:37:43",
            "name": "[net-next,v2,01/14] intel-ethernet: rename i40evf to iavf",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/65816/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/970164/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/970164/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.133; helo=hemlock.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 hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\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 42Btlj0Hhdz9sCf\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 15 Sep 2018 10:38:07 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 6AAE388DA4;\n\tSat, 15 Sep 2018 00:38:05 +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 z0Q6C8AJCMCL; Sat, 15 Sep 2018 00:38:03 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 592B288D8E;\n\tSat, 15 Sep 2018 00:38:03 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id CD4AF1C2E93\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 15 Sep 2018 00:38:00 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id CAC1088522\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 15 Sep 2018 00:38:00 +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 uBi2jNbwfufO for <intel-wired-lan@lists.osuosl.org>;\n\tSat, 15 Sep 2018 00:37:59 +0000 (UTC)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 817C088680\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 15 Sep 2018 00:37:59 +0000 (UTC)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 Sep 2018 17:37:59 -0700",
            "from jfsjbrandeb002.jf.intel.com ([10.166.241.63])\n\tby fmsmga001.fm.intel.com with ESMTP; 14 Sep 2018 17:37:59 -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.53,375,1531810800\"; d=\"scan'208\";a=\"90189565\"",
        "From": "Jesse Brandeburg <jesse.brandeburg@intel.com>",
        "To": "netdev@vger.kernel.org,\n\tintel-wired-lan@lists.osuosl.org",
        "Date": "Fri, 14 Sep 2018 17:37:51 -0700",
        "Message-Id": "<20180915003757.169108-9-jesse.brandeburg@intel.com>",
        "X-Mailer": "git-send-email 2.14.4",
        "In-Reply-To": "<20180915003757.169108-1-jesse.brandeburg@intel.com>",
        "References": "<20180915003757.169108-1-jesse.brandeburg@intel.com>",
        "Subject": "[Intel-wired-lan] [PATCH net-next v2 08/14] iavf: rename\n\tI40E_ADMINQ_DESC",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.24",
        "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>",
        "MIME-Version": "1.0",
        "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": "Take care of some renames containing I40E_ADMINQ_DESC.\n\nSigned-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>\n---\n drivers/net/ethernet/intel/iavf/i40e_adminq.c | 18 +++++++++---------\n drivers/net/ethernet/intel/iavf/i40e_adminq.h |  4 ++--\n 2 files changed, 11 insertions(+), 11 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/iavf/i40e_adminq.c b/drivers/net/ethernet/intel/iavf/i40e_adminq.c\nindex 8110b92fa2b0..69dfdfd69796 100644\n--- a/drivers/net/ethernet/intel/iavf/i40e_adminq.c\n+++ b/drivers/net/ethernet/intel/iavf/i40e_adminq.c\n@@ -40,7 +40,7 @@ static iavf_status i40e_alloc_adminq_asq_ring(struct i40e_hw *hw)\n \t\t\t\t\t i40e_mem_atq_ring,\n \t\t\t\t\t (hw->aq.num_asq_entries *\n \t\t\t\t\t sizeof(struct i40e_aq_desc)),\n-\t\t\t\t\t I40E_ADMINQ_DESC_ALIGNMENT);\n+\t\t\t\t\t IAVF_ADMINQ_DESC_ALIGNMENT);\n \tif (ret_code)\n \t\treturn ret_code;\n \n@@ -67,7 +67,7 @@ static iavf_status i40e_alloc_adminq_arq_ring(struct i40e_hw *hw)\n \t\t\t\t\t i40e_mem_arq_ring,\n \t\t\t\t\t (hw->aq.num_arq_entries *\n \t\t\t\t\t sizeof(struct i40e_aq_desc)),\n-\t\t\t\t\t I40E_ADMINQ_DESC_ALIGNMENT);\n+\t\t\t\t\t IAVF_ADMINQ_DESC_ALIGNMENT);\n \n \treturn ret_code;\n }\n@@ -124,12 +124,12 @@ static iavf_status i40e_alloc_arq_bufs(struct i40e_hw *hw)\n \t\tret_code = i40e_allocate_dma_mem(hw, bi,\n \t\t\t\t\t\t i40e_mem_arq_buf,\n \t\t\t\t\t\t hw->aq.arq_buf_size,\n-\t\t\t\t\t\t I40E_ADMINQ_DESC_ALIGNMENT);\n+\t\t\t\t\t\t IAVF_ADMINQ_DESC_ALIGNMENT);\n \t\tif (ret_code)\n \t\t\tgoto unwind_alloc_arq_bufs;\n \n \t\t/* now configure the descriptors for use */\n-\t\tdesc = I40E_ADMINQ_DESC(hw->aq.arq, i);\n+\t\tdesc = IAVF_ADMINQ_DESC(hw->aq.arq, i);\n \n \t\tdesc->flags = cpu_to_le16(I40E_AQ_FLAG_BUF);\n \t\tif (hw->aq.arq_buf_size > I40E_AQ_LARGE_BUF)\n@@ -186,7 +186,7 @@ static iavf_status i40e_alloc_asq_bufs(struct i40e_hw *hw)\n \t\tret_code = i40e_allocate_dma_mem(hw, bi,\n \t\t\t\t\t\t i40e_mem_asq_buf,\n \t\t\t\t\t\t hw->aq.asq_buf_size,\n-\t\t\t\t\t\t I40E_ADMINQ_DESC_ALIGNMENT);\n+\t\t\t\t\t\t IAVF_ADMINQ_DESC_ALIGNMENT);\n \t\tif (ret_code)\n \t\t\tgoto unwind_alloc_asq_bufs;\n \t}\n@@ -574,7 +574,7 @@ static u16 i40e_clean_asq(struct i40e_hw *hw)\n \tstruct i40e_aq_desc desc_cb;\n \tstruct i40e_aq_desc *desc;\n \n-\tdesc = I40E_ADMINQ_DESC(*asq, ntc);\n+\tdesc = IAVF_ADMINQ_DESC(*asq, ntc);\n \tdetails = I40E_ADMINQ_DETAILS(*asq, ntc);\n \twhile (rd32(hw, hw->aq.asq.head) != ntc) {\n \t\ti40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,\n@@ -592,7 +592,7 @@ static u16 i40e_clean_asq(struct i40e_hw *hw)\n \t\tntc++;\n \t\tif (ntc == asq->count)\n \t\t\tntc = 0;\n-\t\tdesc = I40E_ADMINQ_DESC(*asq, ntc);\n+\t\tdesc = IAVF_ADMINQ_DESC(*asq, ntc);\n \t\tdetails = I40E_ADMINQ_DETAILS(*asq, ntc);\n \t}\n \n@@ -714,7 +714,7 @@ iavf_status iavf_asq_send_command(struct i40e_hw *hw, struct i40e_aq_desc *desc,\n \t}\n \n \t/* initialize the temp desc pointer with the right desc */\n-\tdesc_on_ring = I40E_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use);\n+\tdesc_on_ring = IAVF_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use);\n \n \t/* if the desc is available copy the temp desc to the right place */\n \t*desc_on_ring = *desc;\n@@ -874,7 +874,7 @@ iavf_status iavf_clean_arq_element(struct i40e_hw *hw,\n \t}\n \n \t/* now clean the next descriptor */\n-\tdesc = I40E_ADMINQ_DESC(hw->aq.arq, ntc);\n+\tdesc = IAVF_ADMINQ_DESC(hw->aq.arq, ntc);\n \tdesc_idx = ntc;\n \n \thw->aq.arq_last_status =\ndiff --git a/drivers/net/ethernet/intel/iavf/i40e_adminq.h b/drivers/net/ethernet/intel/iavf/i40e_adminq.h\nindex 80b70a65028f..fd162a293c38 100644\n--- a/drivers/net/ethernet/intel/iavf/i40e_adminq.h\n+++ b/drivers/net/ethernet/intel/iavf/i40e_adminq.h\n@@ -8,10 +8,10 @@\n #include \"i40e_status.h\"\n #include \"i40e_adminq_cmd.h\"\n \n-#define I40E_ADMINQ_DESC(R, i)   \\\n+#define IAVF_ADMINQ_DESC(R, i)   \\\n \t(&(((struct i40e_aq_desc *)((R).desc_buf.va))[i]))\n \n-#define I40E_ADMINQ_DESC_ALIGNMENT 4096\n+#define IAVF_ADMINQ_DESC_ALIGNMENT 4096\n \n struct i40e_adminq_ring {\n \tstruct i40e_virt_mem dma_head;\t/* space for dma structures */\n",
    "prefixes": [
        "net-next",
        "v2",
        "08/14"
    ]
}