get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 616995,
    "url": "http://patchwork.ozlabs.org/api/patches/616995/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20160429224358.12418.51991.stgit@ahduyck-xeon-server/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20160429224358.12418.51991.stgit@ahduyck-xeon-server>",
    "list_archive_url": null,
    "date": "2016-04-29T22:43:58",
    "name": "[net-next,v2,9/9] bnxt: Add support for segmentation of tunnels with outer checksums",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b6767e14ab9eff1cb829b515de77c3f3bef316df",
    "submitter": {
        "id": 67293,
        "url": "http://patchwork.ozlabs.org/api/people/67293/?format=api",
        "name": "Alexander Duyck",
        "email": "aduyck@mirantis.com"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20160429224358.12418.51991.stgit@ahduyck-xeon-server/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/616995/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/616995/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3qxTJh75PKz9t7Z\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 30 Apr 2016 08:44:04 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752893AbcD2WoB (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 29 Apr 2016 18:44:01 -0400",
            "from mail-pa0-f49.google.com ([209.85.220.49]:33070 \"EHLO\n\tmail-pa0-f49.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752886AbcD2WoA (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 29 Apr 2016 18:44:00 -0400",
            "by mail-pa0-f49.google.com with SMTP id zm5so56576549pac.0\n\tfor <netdev@vger.kernel.org>; Fri, 29 Apr 2016 15:43:59 -0700 (PDT)",
            "from [192.168.1.143] (static-50-53-29-36.bvtn.or.frontiernet.net.\n\t[50.53.29.36]) by smtp.gmail.com with ESMTPSA id\n\tlq10sm26306169pab.36.2016.04.29.15.43.58\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Apr 2016 15:43:58 -0700 (PDT)"
        ],
        "Authentication-Results": "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=KLOfSuR7; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=mirantis.com; s=google;\n\th=subject:from:to:date:message-id:in-reply-to:references:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=iQBjS/Tzlzy+2jgQMNXlt/BBFI0RtP3r4Z+2PDjXir8=;\n\tb=KLOfSuR7xi7EaIxTdYQk1tNQitHv8vz7ur/t5R5Z2MwIvZhcEoLyC5ERKgzzxEp629\n\tivKZ1t52P2MCYateOedqOGl/gkkyFMLAiiQRKLIRXKNx3nDCCQEZ9ZiJfAmgBb29TWqK\n\tmm1mx6gobCrtD1t6+4ckOeYfPBQxUvHWSdReY=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\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=iQBjS/Tzlzy+2jgQMNXlt/BBFI0RtP3r4Z+2PDjXir8=;\n\tb=Gpu1NjaUhZvCzQbxqZZMt3ik10nRFTYD+tWAeZABKMYF8hBfpMq2uL+GZ6d67xJceX\n\tJP6Iu4a0M1oFZVYnrBHlhI2NSUvdk7xHxPQ17WE0vMJdm/mhMfSl+qKOqoXEtQP4m24l\n\tpNPhyXXApOINHxm1GxQIiQAh+IupLfATpm07CnEdIUrbjh7203hTqQdro88jNG52dFp7\n\tHcrtiL2tBAa3P26MPdKafpQ+9vnD4nBJFgHILS51YKXry3vZhCfXwzPjLby6YxM4eNLK\n\tcLBvp2nB5K+/fRAaYCiipsCm5AMdR/LAo5beH+dVpWB+XGxbkrT9sRbKS2QMQyTqwKWY\n\t5XLA==",
        "X-Gm-Message-State": "AOPr4FWIzEB2hpVBTQRcmIoPZ5/RnVs/2y5l133sGsv9i/G71SAoIAeyGWYqokoFJ/SpUtc4",
        "X-Received": "by 10.66.65.109 with SMTP id w13mr32453784pas.142.1461969839337; \n\tFri, 29 Apr 2016 15:43:59 -0700 (PDT)",
        "Subject": "[net-next PATCH v2 9/9] bnxt: Add support for segmentation of\n\ttunnels with outer checksums",
        "From": "Alexander Duyck <aduyck@mirantis.com>",
        "To": "talal@mellanox.com, netdev@vger.kernel.org,\n\tmichael.chan@broadcom.com, davem@davemloft.net, galp@mellanox.com,\n\togerlitz@mellanox.com, eranbe@mellanox.com",
        "Date": "Fri, 29 Apr 2016 15:43:58 -0700",
        "Message-ID": "<20160429224358.12418.51991.stgit@ahduyck-xeon-server>",
        "In-Reply-To": "<20160429222735.12418.61229.stgit@ahduyck-xeon-server>",
        "References": "<20160429222735.12418.61229.stgit@ahduyck-xeon-server>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "This patch assumes that the bnxt hardware will ignore existing IPv4/v6\nheader fields for length and checksum as well as the length and checksum\nfields for outer UDP and GRE headers.\n\nI have been told by Michael Chan that this is working.  Though this might\nbe somewhat redundant for IPv6 as they are forcing the checksum to be\ncomputed for all IPv6 frames that are offloaded.  A follow-up patch may be\nnecessary in order to fix this as it is essentially mangling the outer IPv6\nheaders to add a checksum where none was requested.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/broadcom/bnxt/bnxt.c |    9 +++++++--\n 1 file changed, 7 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c\nindex 4645c44e7c15..ae668476fff0 100644\n--- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c\n+++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c\n@@ -6194,14 +6194,19 @@ static int bnxt_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)\n \t\t\t   NETIF_F_TSO | NETIF_F_TSO6 |\n \t\t\t   NETIF_F_GSO_UDP_TUNNEL | NETIF_F_GSO_GRE |\n \t\t\t   NETIF_F_GSO_IPIP | NETIF_F_GSO_SIT |\n-\t\t\t   NETIF_F_RXHASH |\n+\t\t\t   NETIF_F_GSO_UDP_TUNNEL_CSUM | NETIF_F_GSO_GRE_CSUM |\n+\t\t\t   NETIF_F_GSO_PARTIAL | NETIF_F_RXHASH |\n \t\t\t   NETIF_F_RXCSUM | NETIF_F_LRO | NETIF_F_GRO;\n \n \tdev->hw_enc_features =\n \t\t\tNETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_SG |\n \t\t\tNETIF_F_TSO | NETIF_F_TSO6 |\n \t\t\tNETIF_F_GSO_UDP_TUNNEL | NETIF_F_GSO_GRE |\n-\t\t\tNETIF_F_GSO_IPIP | NETIF_F_GSO_SIT;\n+\t\t\tNETIF_F_GSO_UDP_TUNNEL_CSUM | NETIF_F_GSO_GRE_CSUM |\n+\t\t\tNETIF_F_GSO_IPIP | NETIF_F_GSO_SIT |\n+\t\t\tNETIF_F_GSO_PARTIAL;\n+\tdev->gso_partial_features = NETIF_F_GSO_UDP_TUNNEL_CSUM |\n+\t\t\t\t    NETIF_F_GSO_GRE_CSUM;\n \tdev->vlan_features = dev->hw_features | NETIF_F_HIGHDMA;\n \tdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX |\n \t\t\t    NETIF_F_HW_VLAN_STAG_RX | NETIF_F_HW_VLAN_STAG_TX;\n",
    "prefixes": [
        "net-next",
        "v2",
        "9/9"
    ]
}