get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 614590,
    "url": "http://patchwork.ozlabs.org/api/patches/614590/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20160425183126.11331.43815.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": "<20160425183126.11331.43815.stgit@ahduyck-xeon-server>",
    "list_archive_url": null,
    "date": "2016-04-25T18:31:26",
    "name": "[net-next,5/8] mlx4: Add support for UDP tunnel segmentation with outer checksum offload",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "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/20160425183126.11331.43815.stgit@ahduyck-xeon-server/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/614590/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/614590/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 3qtvv85mzsz9t5P\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 26 Apr 2016 04:31:32 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S933368AbcDYSba (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 25 Apr 2016 14:31:30 -0400",
            "from mail-pf0-f180.google.com ([209.85.192.180]:33354 \"EHLO\n\tmail-pf0-f180.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S933316AbcDYSb2 (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 25 Apr 2016 14:31:28 -0400",
            "by mail-pf0-f180.google.com with SMTP id 206so20646579pfu.0\n\tfor <netdev@vger.kernel.org>; Mon, 25 Apr 2016 11:31:28 -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\tq72sm30491578pfa.70.2016.04.25.11.31.27\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 25 Apr 2016 11:31:27 -0700 (PDT)"
        ],
        "Authentication-Results": "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=XgZc6IrJ; 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=XgZc6IrJnMETNLGy2SXHI51k1D5NLJAdskKgzT/tZ86oeVWyaJ40dONJkt4PVtXUmM\n\tZOXR6NGJ2XrSF7xjbH6cfbctSDGkQoFfS3CGg47WcnQPpAr1IvKRx0bOKjSbDia07Rzu\n\t/37GXEWqI5s4IGA6X8lbgtRSeVlAX+dLh5xGA=",
        "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=CKzagB7z5UdWPwYDn+x73fni0URoB9Bb57ealVDvfBCq+RJZZ1VYj5B9DJUWSGuGr9\n\t5d4btJiXZxulVMysZCehs1MynQ8gZ+fsNzazBcb7dWhdUb33v5Wp0o4+fGpeZWxkr51v\n\tr/avjlMBx2a0f4NSD/ULdJtU1kRZaug+Z5deBKSWrm0/S44gBWTBtxnqdQtMpYgtCOPf\n\tmx6C1oEqEfwkI4o0sXpxuQT+KguKt5HA9/03k+8m2KBa8KzvILgpuBhAxQSmrKylGkx5\n\tgbBydNM4Na7Wyi1LWdrWwtfcrKaO9Mqe5AXfCNP/q0icVDEk7TTaOiYJfoYxN/k+XYq+\n\tkHGg==",
        "X-Gm-Message-State": "AOPr4FV+RMfvXjE8/kAD0v2CjdEFEHwsscIsCM0CLqxD7czsm0dwORk0STgpDuArefqmqaaz",
        "X-Received": "by 10.98.82.208 with SMTP id g199mr30602119pfb.113.1461609088001;\n\tMon, 25 Apr 2016 11:31:28 -0700 (PDT)",
        "Subject": "[net-next PATCH 5/8] mlx4: Add support for UDP tunnel segmentation\n\twith outer checksum offload",
        "From": "Alexander Duyck <aduyck@mirantis.com>",
        "To": "talal@mellanox.com, netdev@vger.kernel.org, davem@davemloft.net,\n\tgalp@mellanox.com, ogerlitz@mellanox.com, eranbe@mellanox.com",
        "Date": "Mon, 25 Apr 2016 11:31:26 -0700",
        "Message-ID": "<20160425183126.11331.43815.stgit@ahduyck-xeon-server>",
        "In-Reply-To": "<20160425182442.11331.88349.stgit@ahduyck-xeon-server>",
        "References": "<20160425182442.11331.88349.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",
        "5/8"
    ]
}