get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 724867,
    "url": "http://patchwork.ozlabs.org/api/patches/724867/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170207022620.9864.29933.stgit@localhost.localdomain/",
    "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": "<20170207022620.9864.29933.stgit@localhost.localdomain>",
    "list_archive_url": null,
    "date": "2017-02-07T02:26:26",
    "name": "[next,v5,06/12] igb: Only sync size of expected frame in ethtool testing",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ced510d5163bc7979d8be8c4b002ae287e064b2d",
    "submitter": {
        "id": 252,
        "url": "http://patchwork.ozlabs.org/api/people/252/?format=api",
        "name": "Alexander Duyck",
        "email": "alexander.duyck@gmail.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/20170207022620.9864.29933.stgit@localhost.localdomain/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/724867/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/724867/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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3vHSrp0S4Wz9s2P\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  7 Feb 2017 13:26:34 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 93CF930353;\n\tTue,  7 Feb 2017 02:26:32 +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 cKUAVBIZeXdB; Tue,  7 Feb 2017 02:26:31 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id A180A30397;\n\tTue,  7 Feb 2017 02:26:31 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 67B991BFEC6\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Feb 2017 02:26:30 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B5D7988A02\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Feb 2017 02:26:29 +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 msq0V+6PaKO5 for <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Feb 2017 02:26:28 +0000 (UTC)",
            "from mail-pg0-f67.google.com (mail-pg0-f67.google.com\n\t[74.125.83.67])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 4B1C682F8C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  7 Feb 2017 02:26:28 +0000 (UTC)",
            "by mail-pg0-f67.google.com with SMTP id 194so10629462pgd.0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 06 Feb 2017 18:26:28 -0800 (PST)",
            "from localhost.localdomain ([2001:470:b:9c3:9e5c:8eff:fe4f:f2d0])\n\tby smtp.gmail.com with ESMTPSA id\n\tl188sm5802707pfl.28.2017.02.06.18.26.27\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 06 Feb 2017 18:26:27 -0800 (PST)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"c9Bkg9/U\"; 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=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:from:to:date:message-id:in-reply-to:references:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=OVZzdkHfwByRLbtr6IYoRvcp0uF2+UcUPKjS7Qn38pA=;\n\tb=c9Bkg9/Ul2SmANvX6x/LVHtIS259SCB2pteHsG5WcsXjsphf9C40hxN/n+kV/hvn/G\n\te3eUr+hSFM/L9RcxqRXC17jwBWB20UzRUI/ta2KElY02qTKENd7TbzZda8CQ0ptmy0Qh\n\t9c47hUyW9qVN/CM8V6KDuaIdm33q4LrHcGmUzGpba+ETboQ82B7LaOZNFJ5G+Pd4xHDR\n\t1O1moFxoZWXuO3yyKp5v0KHIYmmuZUZVzSyLzEB2U7H2GHoqp/FI5JDF0lDQ/P1pSt1V\n\t9vqyxUllbuO0qvpCJMBqzQv7LJJgfUxk9toVMnfRr6xxbpsP5pJnW3LHXZ8XaSmwuEOd\n\tuTeg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:from:to:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-transfer-encoding;\n\tbh=OVZzdkHfwByRLbtr6IYoRvcp0uF2+UcUPKjS7Qn38pA=;\n\tb=ll0/vF4LIm0MnUUFAEeuGdy/OGBgAinHRNLeEYulv+YvDNu4G5Lh0YCfPSReqG3/4I\n\tGG7L1nmt7CSMlgrxNKQpBirYPD/VG9aHEnHHdEQMUhcW4yVdjGnrgQcLyULAClnGZifJ\n\tjTB7QSttNSw59CNq9yG//Vu3tA9F9iHKKdZOfa1qRjyXKWKgA2DjEPsQue98HJ/bwAcg\n\t2ccknwhaNfdCpqIduORhuqbuULo3o0XxHCA4ITXqf83ynggzEm6k1AkJhKIoRZbmWwyt\n\teEfSR2F3izVxQ43tpCO9QfliovsBZBLwDs31dAlAh3K4oTfyFWc4KetA0mY+cAr8opbQ\n\tE8fA==",
        "X-Gm-Message-State": "AIkVDXLs4XMeSc1J1wIygWs4+Gw8QjQXAtCmd2tASZ0GlbY3BmP9TzGNV1YCoJp2nMOz4Q==",
        "X-Received": "by 10.98.67.72 with SMTP id q69mr16671699pfa.14.1486434387794;\n\tMon, 06 Feb 2017 18:26:27 -0800 (PST)",
        "From": "Alexander Duyck <alexander.duyck@gmail.com>",
        "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com",
        "Date": "Mon, 06 Feb 2017 18:26:26 -0800",
        "Message-ID": "<20170207022620.9864.29933.stgit@localhost.localdomain>",
        "In-Reply-To": "<20170207022339.9864.87863.stgit@localhost.localdomain>",
        "References": "<20170207022339.9864.87863.stgit@localhost.localdomain>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [next PATCH v5 06/12] igb: Only sync size of\n\texpected frame in ethtool testing",
        "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>",
        "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: Alexander Duyck <alexander.h.duyck@intel.com>\n\nWe only need to sync the size of the frame that is read to test.  We don't\nneed to sync the entire Rx buffer.  This way the testing is more consistent\nwith how we handle things in the receive path.\n\nSigned-off-by: Alexander Duyck <alexander.h.duyck@intel.com>\n---\nv4: Split this code out of patch 6 of the original series.\n\n drivers/net/ethernet/intel/igb/igb_ethtool.c |    4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c b/drivers/net/ethernet/intel/igb/igb_ethtool.c\nindex 612cf13b7a3a..d5966feb7b96 100644\n--- a/drivers/net/ethernet/intel/igb/igb_ethtool.c\n+++ b/drivers/net/ethernet/intel/igb/igb_ethtool.c\n@@ -1818,7 +1818,7 @@ static int igb_clean_test_rings(struct igb_ring *rx_ring,\n \t\t/* sync Rx buffer for CPU read */\n \t\tdma_sync_single_for_cpu(rx_ring->dev,\n \t\t\t\t\trx_buffer_info->dma,\n-\t\t\t\t\tIGB_RX_BUFSZ,\n+\t\t\t\t\tsize,\n \t\t\t\t\tDMA_FROM_DEVICE);\n \n \t\t/* verify contents of skb */\n@@ -1828,7 +1828,7 @@ static int igb_clean_test_rings(struct igb_ring *rx_ring,\n \t\t/* sync Rx buffer for device write */\n \t\tdma_sync_single_for_device(rx_ring->dev,\n \t\t\t\t\t   rx_buffer_info->dma,\n-\t\t\t\t\t   IGB_RX_BUFSZ,\n+\t\t\t\t\t   size,\n \t\t\t\t\t   DMA_FROM_DEVICE);\n \n \t\t/* unmap buffer on Tx side */\n",
    "prefixes": [
        "next",
        "v5",
        "06/12"
    ]
}