get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 525333,
    "url": "http://patchwork.ozlabs.org/api/patches/525333/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1443741071-16495-1-git-send-email-jesse.brandeburg@intel.com/",
    "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": "<1443741071-16495-1-git-send-email-jesse.brandeburg@intel.com>",
    "list_archive_url": null,
    "date": "2015-10-01T23:11:11",
    "name": "[next,v1] i40e: fix offload of GRE tunnels",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "62dabe326d5836796454f81eb0ece1603b7b1ccc",
    "submitter": {
        "id": 189,
        "url": "http://patchwork.ozlabs.org/api/people/189/?format=api",
        "name": "Jesse Brandeburg",
        "email": "jesse.brandeburg@intel.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/1443741071-16495-1-git-send-email-jesse.brandeburg@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/525333/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/525333/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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id 46E5E140778\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  2 Oct 2015 09:11:16 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 55726923DA;\n\tThu,  1 Oct 2015 23:11:15 +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 QoQrqoq0bmfM; Thu,  1 Oct 2015 23:11:14 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 38151923D1;\n\tThu,  1 Oct 2015 23:11:14 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 7C6B91C2D17\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  1 Oct 2015 23:11:13 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 778FD951A0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  1 Oct 2015 23:11:13 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id q91fPY18jRd2 for <intel-wired-lan@lists.osuosl.org>;\n\tThu,  1 Oct 2015 23:11:11 +0000 (UTC)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id B41FE951A9\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  1 Oct 2015 23:11:11 +0000 (UTC)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga102.jf.intel.com with ESMTP; 01 Oct 2015 16:11:11 -0700",
            "from jbrandeb-hsm1.jf.intel.com ([134.134.3.132])\n\tby orsmga003.jf.intel.com with ESMTP; 01 Oct 2015 16:11:11 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.17,620,1437462000\"; d=\"scan'208\";a=\"656214225\"",
        "From": "Jesse Brandeburg <jesse.brandeburg@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Thu,  1 Oct 2015 16:11:11 -0700",
        "Message-Id": "<1443741071-16495-1-git-send-email-jesse.brandeburg@intel.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "Subject": "[Intel-wired-lan] [PATCH next v1] i40e: fix offload of GRE tunnels",
        "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>",
        "MIME-Version": "1.0",
        "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": "The driver still was not offloading TSO on GRE tunnels because\nit forgot to set the GSO_GRE flag, causing lots of retransmits.\n\nThis fixes generic GRE traffic (like a tunnel added like below)\nwhereas before it would get 1Gb/s or less, now on a 10G adapter\nit gets 8.7Gb/s.\n\nip ad ad 11.1.0.2/24 dev ens2f0\nip l set ens2f0 up\nip link add gre2 type gretap remote 11.1.0.1 local 11.1.0.2 dev ens2f0\nip l set gre2 up\nip ad ad 192.168.124.2/24 dev gre2\nping 192.168.124.1\nnetperf -H 192.168.124.1\n\nSigned-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_main.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex eda14cf..851dcec 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -8642,6 +8642,7 @@ static int i40e_config_netdev(struct i40e_vsi *vsi)\n \n \tnetdev->hw_enc_features |= NETIF_F_IP_CSUM\t |\n \t\t\t\t  NETIF_F_GSO_UDP_TUNNEL |\n+\t\t\t\t  NETIF_F_GSO_GRE\t |\n \t\t\t\t  NETIF_F_TSO;\n \n \tnetdev->features = NETIF_F_SG\t\t       |\n@@ -8649,6 +8650,7 @@ static int i40e_config_netdev(struct i40e_vsi *vsi)\n \t\t\t   NETIF_F_SCTP_CSUM\t       |\n \t\t\t   NETIF_F_HIGHDMA\t       |\n \t\t\t   NETIF_F_GSO_UDP_TUNNEL      |\n+\t\t\t   NETIF_F_GSO_GRE\t       |\n \t\t\t   NETIF_F_HW_VLAN_CTAG_TX     |\n \t\t\t   NETIF_F_HW_VLAN_CTAG_RX     |\n \t\t\t   NETIF_F_HW_VLAN_CTAG_FILTER |\n",
    "prefixes": [
        "next",
        "v1"
    ]
}