get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 616991,
    "url": "http://patchwork.ozlabs.org/api/patches/616991/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20160429224333.12418.13862.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": "<20160429224333.12418.13862.stgit@ahduyck-xeon-server>",
    "list_archive_url": null,
    "date": "2016-04-29T22:43:33",
    "name": "[net-next,v2,5/9] mlx4: Add support for UDP tunnel segmentation with outer checksum offload",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "68bae3ba2588bce61ca977d4a98d392ce60482d7",
    "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/20160429224333.12418.13862.stgit@ahduyck-xeon-server/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/616991/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/616991/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 3qxTJG4z1Hz9t6f\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 30 Apr 2016 08:43:42 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752858AbcD2Wnh (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 29 Apr 2016 18:43:37 -0400",
            "from mail-pf0-f171.google.com ([209.85.192.171]:33544 \"EHLO\n\tmail-pf0-f171.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752651AbcD2Wnf (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 29 Apr 2016 18:43:35 -0400",
            "by mail-pf0-f171.google.com with SMTP id 206so53941489pfu.0\n\tfor <netdev@vger.kernel.org>; Fri, 29 Apr 2016 15:43:35 -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\tt8sm26324373paw.16.2016.04.29.15.43.34\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Apr 2016 15:43:34 -0700 (PDT)"
        ],
        "Authentication-Results": "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=K9fWvKkr; 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=vfAXv5INKBRgWNaYHEOST0+u5Dr+qPAkSwhylUGh/CU=;\n\tb=K9fWvKkr2x5ChfWwG3VzMHYcJhmdHpmauYqxg17iJ9rU1IaPF5/NHlcoHn+rpNOjBu\n\tYzv/eVKKcbxdXVKuCMKK+C7dkbaHKT3iboTkAEG+r2Je+nXU5lntEIt2fkf85zYy69OG\n\te0KY9XMEHX8zzD6y49QJSMEqH1Cd4VgfV6F7Q=",
        "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=vfAXv5INKBRgWNaYHEOST0+u5Dr+qPAkSwhylUGh/CU=;\n\tb=R5lXQqkgcvhc+ubl2hGyh5esviu/857o78ZJuS3EQQ3OrxTAFrR+FPpsXF0E3tpq8Y\n\terQYuX2558DTqEaRXlBUFtzkKVZbrdDVvsicWC1wwdIFhjHGTNDzOZoFChU+4LrJEoiY\n\tJux3JcDuWhoWOI8/EKeG0vzXseuPt0DrUTpbs/7bBLXDZMLcCMHNtHNRTOZ6ChBrfrzO\n\toJprsAHb9gC/5b9UOlvvmsiv5SyzxiF1vbebpjJoxp8OIHT4fWEFzj7O4FgX4ybS/nHb\n\t9NOGKouLN9Qr2Of2WFOmdKMK/m4RWGdorSI6YN7/p43cGA0956T5DG4nct/yuUPpj10F\n\t2/Ag==",
        "X-Gm-Message-State": "AOPr4FV9e+gdy5k5MuzofWNHDBlRssY7aILwwc5uW6Dk7LvCmXAf+AFYFPX7HPzU4pnAsemM",
        "X-Received": "by 10.98.102.74 with SMTP id a71mr32604604pfc.139.1461969814827; \n\tFri, 29 Apr 2016 15:43:34 -0700 (PDT)",
        "Subject": "[net-next PATCH v2 5/9] mlx4: Add support for UDP tunnel\n\tsegmentation with outer checksum offload",
        "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:33 -0700",
        "Message-ID": "<20160429224333.12418.13862.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 mlx4 hardware will ignore existing IPv4/v6\nheader fields for length and checksum as well as the length and checksum\nfields for outer UDP headers.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/mellanox/mlx4/en_netdev.c |   17 +++++++++++++----\n 1 file changed, 13 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c\nindex 8bd143dda95d..bce37cbfde24 100644\n--- a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c\n+++ b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c\n@@ -2358,7 +2358,9 @@ out:\n \n \t/* set offloads */\n \tpriv->dev->hw_enc_features |= NETIF_F_IP_CSUM | NETIF_F_RXCSUM |\n-\t\t\t\t      NETIF_F_TSO | NETIF_F_GSO_UDP_TUNNEL;\n+\t\t\t\t      NETIF_F_TSO | NETIF_F_GSO_UDP_TUNNEL |\n+\t\t\t\t      NETIF_F_GSO_UDP_TUNNEL_CSUM |\n+\t\t\t\t      NETIF_F_GSO_PARTIAL;\n }\n \n static void mlx4_en_del_vxlan_offloads(struct work_struct *work)\n@@ -2368,7 +2370,9 @@ static void mlx4_en_del_vxlan_offloads(struct work_struct *work)\n \t\t\t\t\t\t vxlan_del_task);\n \t/* unset offloads */\n \tpriv->dev->hw_enc_features &= ~(NETIF_F_IP_CSUM | NETIF_F_RXCSUM |\n-\t\t\t\t      NETIF_F_TSO | NETIF_F_GSO_UDP_TUNNEL);\n+\t\t\t\t\tNETIF_F_TSO | NETIF_F_GSO_UDP_TUNNEL |\n+\t\t\t\t\tNETIF_F_GSO_UDP_TUNNEL_CSUM |\n+\t\t\t\t\tNETIF_F_GSO_PARTIAL);\n \n \tret = mlx4_SET_PORT_VXLAN(priv->mdev->dev, priv->port,\n \t\t\t\t  VXLAN_STEER_BY_OUTER_MAC, 0);\n@@ -2992,8 +2996,13 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,\n \t}\n \n \tif (mdev->dev->caps.tunnel_offload_mode == MLX4_TUNNEL_OFFLOAD_MODE_VXLAN) {\n-\t\tdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL;\n-\t\tdev->features    |= NETIF_F_GSO_UDP_TUNNEL;\n+\t\tdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL |\n+\t\t\t\t    NETIF_F_GSO_UDP_TUNNEL_CSUM |\n+\t\t\t\t    NETIF_F_GSO_PARTIAL;\n+\t\tdev->features    |= NETIF_F_GSO_UDP_TUNNEL |\n+\t\t\t\t    NETIF_F_GSO_UDP_TUNNEL_CSUM |\n+\t\t\t\t    NETIF_F_GSO_PARTIAL;\n+\t\tdev->gso_partial_features = NETIF_F_GSO_UDP_TUNNEL_CSUM;\n \t}\n \n \tmdev->pndev[port] = dev;\n",
    "prefixes": [
        "net-next",
        "v2",
        "5/9"
    ]
}