get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 616993,
    "url": "http://patchwork.ozlabs.org/api/patches/616993/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20160429224345.12418.88876.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": "<20160429224345.12418.88876.stgit@ahduyck-xeon-server>",
    "list_archive_url": null,
    "date": "2016-04-29T22:43:46",
    "name": "[net-next,v2,7/9] mlx5e: Add support for UDP tunnel segmentation with outer checksum offload",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d82cced7464fc6dfc003891da7da1b84f77f0d4a",
    "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/20160429224345.12418.88876.stgit@ahduyck-xeon-server/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/616993/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/616993/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 3qxTJR5ZkKz9t6f\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 30 Apr 2016 08:43:51 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752872AbcD2Wnt (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 29 Apr 2016 18:43:49 -0400",
            "from mail-pf0-f179.google.com ([209.85.192.179]:36387 \"EHLO\n\tmail-pf0-f179.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752470AbcD2Wnr (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 29 Apr 2016 18:43:47 -0400",
            "by mail-pf0-f179.google.com with SMTP id c189so54623650pfb.3\n\tfor <netdev@vger.kernel.org>; Fri, 29 Apr 2016 15:43:47 -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\th6sm24501078paf.23.2016.04.29.15.43.46\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 29 Apr 2016 15:43:46 -0700 (PDT)"
        ],
        "Authentication-Results": "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=FMu/txie; 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=CHogSV6AxXqSsFCyUR3c9mpCpMZRCrSWps+kGvkd9TI=;\n\tb=FMu/txie58+ZkfdUWpjIL3/+XqE+O7+edp6MesR80OxkLPNHxIlw+QPbeldlVBBUhy\n\ttoPheuh5tbZjnSG16fFNeD0NV9vU9G0iweFbPssIVhRpljWHmR6HJO7rQBMuJ0hvBe4E\n\tvBS78s84x5IDDKIzlZMiUL7a6vvYtMurm4WqA=",
        "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=CHogSV6AxXqSsFCyUR3c9mpCpMZRCrSWps+kGvkd9TI=;\n\tb=WOHEg8FjPIWa2TXv0fu89rH80GNcSTBQN6UBgf3wli0PfF3a5R6Eejw0ijReVTp0EA\n\tiy2Qgx5slCNFofQxbkAgXuYe8U8SuMHx4dD8WPin36tMkNcUrhMj8ZoIEF6gfkkmfCXq\n\tHJhmOJknerxvTmy+NR/ZUwwQN/0m47Qo9QAktU8J7nIXGPyKZLkKtlYv0sR1wi1PVRmT\n\taotTMoR8Eh1sWYjdxmVu3HOxTGSEIX6JxDtDtBIPv8rwwEqHpme3K9ITxagwtURzAwdk\n\tMTX6VkMFwYzARCQeUc8athXTbnefccexg8UME+Z/U1Mmygnn7vJdQUzT7mSnX5R3AGcW\n\t3ViQ==",
        "X-Gm-Message-State": "AOPr4FXDxKZhZ6iEPtbN5l8KsSCB9yNMG0vbOsPOQbS6kYhLRITsvGrtvF6oJeEYtHrn9EJf",
        "X-Received": "by 10.98.86.77 with SMTP id k74mr32172500pfb.28.1461969827108;\n\tFri, 29 Apr 2016 15:43:47 -0700 (PDT)",
        "Subject": "[net-next PATCH v2 7/9] mlx5e: 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:46 -0700",
        "Message-ID": "<20160429224345.12418.88876.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 mlx5 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/mlx5/core/en_main.c |    7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c\nindex 4ccfc1ac62c5..2d6aaad77d62 100644\n--- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c\n+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c\n@@ -2803,13 +2803,18 @@ static void mlx5e_build_netdev(struct net_device *netdev)\n \tnetdev->hw_features      |= NETIF_F_HW_VLAN_CTAG_FILTER;\n \n \tif (mlx5e_vxlan_allowed(mdev)) {\n-\t\tnetdev->hw_features     |= NETIF_F_GSO_UDP_TUNNEL;\n+\t\tnetdev->hw_features     |= NETIF_F_GSO_UDP_TUNNEL |\n+\t\t\t\t\t   NETIF_F_GSO_UDP_TUNNEL_CSUM |\n+\t\t\t\t\t   NETIF_F_GSO_PARTIAL;\n \t\tnetdev->hw_enc_features |= NETIF_F_IP_CSUM;\n \t\tnetdev->hw_enc_features |= NETIF_F_RXCSUM;\n \t\tnetdev->hw_enc_features |= NETIF_F_TSO;\n \t\tnetdev->hw_enc_features |= NETIF_F_TSO6;\n \t\tnetdev->hw_enc_features |= NETIF_F_RXHASH;\n \t\tnetdev->hw_enc_features |= NETIF_F_GSO_UDP_TUNNEL;\n+\t\tnetdev->hw_enc_features |= NETIF_F_GSO_UDP_TUNNEL_CSUM |\n+\t\t\t\t\t   NETIF_F_GSO_PARTIAL;\n+\t\tnetdev->gso_partial_features = NETIF_F_GSO_UDP_TUNNEL_CSUM;\n \t}\n \n \tmlx5_query_port_fcs(mdev, &fcs_supported, &fcs_enabled);\n",
    "prefixes": [
        "net-next",
        "v2",
        "7/9"
    ]
}