get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 747502,
    "url": "http://patchwork.ozlabs.org/api/patches/747502/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170405115103.67374-6-alice.michael@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": "<20170405115103.67374-6-alice.michael@intel.com>",
    "list_archive_url": null,
    "date": "2017-04-05T11:50:58",
    "name": "[next,S66,v2,06/11] i40e: remove extraneous loop in i40e_vsi_wait_queues_disabled",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ce789407aafc6ff3b158775ea773e79cecc7d115",
    "submitter": {
        "id": 71123,
        "url": "http://patchwork.ozlabs.org/api/people/71123/?format=api",
        "name": "Michael, Alice",
        "email": "alice.michael@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/20170405115103.67374-6-alice.michael@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/747502/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/747502/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@lists.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"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3vyxNy5Cn6z9s8c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  6 Apr 2017 05:53:54 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 41DC3862F3;\n\tWed,  5 Apr 2017 19:53:53 +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 xU8bKbKlosBE; Wed,  5 Apr 2017 19:53:50 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A5941861A3;\n\tWed,  5 Apr 2017 19:53:48 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id BECBE1C0100\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  5 Apr 2017 19:53:47 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id BA05F885F8\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  5 Apr 2017 19:53:47 +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 8fHs1K9xAofp for <intel-wired-lan@lists.osuosl.org>;\n\tWed,  5 Apr 2017 19:53:47 +0000 (UTC)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 47570885F2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  5 Apr 2017 19:53:47 +0000 (UTC)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Apr 2017 12:53:47 -0700",
            "from unknown (HELO localhost.jf.intel.com) ([10.166.16.121])\n\tby orsmga003.jf.intel.com with ESMTP; 05 Apr 2017 12:53:46 -0700"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" (0-bit key;\n\tunprotected) header.d=intel.com header.i=@intel.com\n\theader.b=\"rKE+cgm9\"; dkim-atps=neutral",
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=simple/simple;\n\td=intel.com; i=@intel.com; q=dns/txt; s=intel;\n\tt=1491422027; x=1522958027;\n\th=from:to:cc:subject:date:message-id:in-reply-to: references;\n\tbh=mHXdgzyib8CrcBRCOgXDlyZ2EJq/Vpvkf9q6YO5aSds=;\n\tb=rKE+cgm9fcetWU/rBkgEf1/SFJQ952iOaMwNYsXp8lJ3RFOrOp/7OQ8z\n\t9TlzaepTm2UVWfHlYLC7sVJoVKxT7Q==;",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.37,280,1488873600\"; d=\"scan'208\";a=\"952301594\"",
        "From": "Alice Michael <alice.michael@intel.com>",
        "To": "alice.michael@intel.com,\n\tintel-wired-lan@lists.osuosl.org",
        "Date": "Wed,  5 Apr 2017 07:50:58 -0400",
        "Message-Id": "<20170405115103.67374-6-alice.michael@intel.com>",
        "X-Mailer": "git-send-email 2.9.3",
        "In-Reply-To": "<20170405115103.67374-1-alice.michael@intel.com>",
        "References": "<20170405115103.67374-1-alice.michael@intel.com>",
        "Subject": "[Intel-wired-lan] [next S66 v2 06/11] i40e: remove extraneous loop\n\tin i40e_vsi_wait_queues_disabled",
        "X-BeenThere": "intel-wired-lan@lists.osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>",
        "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>",
        "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.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@lists.osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>"
    },
    "content": "From: Jacob Keller <jacob.e.keller@intel.com>\n\nWe can simply check both Tx and Rx queues in a single loop, rather than\nrepeating the loop twice.\n\nSigned-off-by: Jacob Keller <jacob.e.keller@intel.com>\nChange-ID: Ic06f26b0e3c2620e0e33c1a2999edda488e647ad\n---\n drivers/net/ethernet/intel/i40e/i40e_main.c | 10 +++-------\n 1 file changed, 3 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex bae5628..da9f0be 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -4431,7 +4431,7 @@ static void i40e_pf_unquiesce_all_vsi(struct i40e_pf *pf)\n  * i40e_vsi_wait_queues_disabled - Wait for VSI's queues to be disabled\n  * @vsi: the VSI being configured\n  *\n- * This function waits for the given VSI's queues to be disabled.\n+ * Wait until all queues on a given VSI have been disabled.\n  **/\n static int i40e_vsi_wait_queues_disabled(struct i40e_vsi *vsi)\n {\n@@ -4440,7 +4440,7 @@ static int i40e_vsi_wait_queues_disabled(struct i40e_vsi *vsi)\n \n \tpf_q = vsi->base_queue;\n \tfor (i = 0; i < vsi->num_queue_pairs; i++, pf_q++) {\n-\t\t/* Check and wait for the disable status of the queue */\n+\t\t/* Check and wait for the Tx queue */\n \t\tret = i40e_pf_txq_wait(pf, pf_q, false);\n \t\tif (ret) {\n \t\t\tdev_info(&pf->pdev->dev,\n@@ -4448,11 +4448,7 @@ static int i40e_vsi_wait_queues_disabled(struct i40e_vsi *vsi)\n \t\t\t\t vsi->seid, pf_q);\n \t\t\treturn ret;\n \t\t}\n-\t}\n-\n-\tpf_q = vsi->base_queue;\n-\tfor (i = 0; i < vsi->num_queue_pairs; i++, pf_q++) {\n-\t\t/* Check and wait for the disable status of the queue */\n+\t\t/* Check and wait for the Tx queue */\n \t\tret = i40e_pf_rxq_wait(pf, pf_q, false);\n \t\tif (ret) {\n \t\t\tdev_info(&pf->pdev->dev,\n",
    "prefixes": [
        "next",
        "S66",
        "v2",
        "06/11"
    ]
}