get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 572598,
    "url": "http://patchwork.ozlabs.org/api/patches/572598/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160125051757.12004.45770.stgit@localhost.localdomain/",
    "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": "<20160125051757.12004.45770.stgit@localhost.localdomain>",
    "list_archive_url": null,
    "date": "2016-01-25T05:17:57",
    "name": "[next,v3,15/15] i40evf: Update feature flags to reflect newly enabled features",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "731cf59e18eeed333340841749cc70bd81c56952",
    "submitter": {
        "id": 67293,
        "url": "http://patchwork.ozlabs.org/api/people/67293/?format=api",
        "name": "Alexander Duyck",
        "email": "aduyck@mirantis.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/20160125051757.12004.45770.stgit@localhost.localdomain/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/572598/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/572598/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 F394B1402DD\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Jan 2016 16:18:01 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B47E18C45E;\n\tMon, 25 Jan 2016 05:17:59 +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 cohrOJ5oS0sn; Mon, 25 Jan 2016 05:17:59 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 117338C430;\n\tMon, 25 Jan 2016 05:17:59 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id CB8431C107C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 25 Jan 2016 05:17:59 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id C6E3989E7A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 25 Jan 2016 05:17:59 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 0uhiryUrBkOi for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 25 Jan 2016 05:17:59 +0000 (UTC)",
            "from mail-pa0-f41.google.com (mail-pa0-f41.google.com\n\t[209.85.220.41])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 425EB89E59\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 25 Jan 2016 05:17:59 +0000 (UTC)",
            "by mail-pa0-f41.google.com with SMTP id uo6so76357717pac.1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun, 24 Jan 2016 21:17:59 -0800 (PST)",
            "from localhost.localdomain\n\t(static-50-53-29-36.bvtn.or.frontiernet.net. [50.53.29.36])\n\tby smtp.gmail.com with ESMTPSA id\n\tyh5sm25042374pab.13.2016.01.24.21.17.58\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 24 Jan 2016 21:17:58 -0800 (PST)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=XcWxeWps; dkim-atps=neutral",
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mirantis.com;\n\ts=google; \n\th=subject:from:to:cc:date:message-id:in-reply-to:references\n\t:user-agent:mime-version:content-type:content-transfer-encoding;\n\tbh=UBdyzNLrPk8hb+s0S9xZnti891VOny8AtQZ9pIC/ajQ=;\n\tb=XcWxeWpsn1aHuqjHgrIBk2U2MvzNSIRK19fKXHh3IkNqnOW3G92sLhm0/9l+XMkpS5\n\tP1QJLutMDW7GGnNFHjREpLn2V5s7sDJGqMbewTXh/kzjkkOpG86Qx2MA6CKrO9kYFZ6r\n\tdd5H0pcrZDPezvQjJDauPN9gZzXImvcHoWbAE=",
        "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:cc:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-type\n\t:content-transfer-encoding;\n\tbh=UBdyzNLrPk8hb+s0S9xZnti891VOny8AtQZ9pIC/ajQ=;\n\tb=WJJsa6fpEZwwWZgXj7Dp3vnN/AIx0rXDiXXgj7IgnRLKUjWa23TRONlqraemSeB+Y1\n\tECE16zieHyhQrKNb+uZHNOv7UzANzVI3EZV43aalejgqU7mwUw7UZf8J5VqTfkkTYbP5\n\t4C2lFiFxeLmmnCW3hLYsix2ZgmH57tKhohrrtYYQVkERU0ijxhWR7VlIAakgRFApZbuH\n\tywb3yOqR8vbTc4lY0NNBK7Le7gVDSg3lICi5j4uliIcCLGv3OvviQkZX1sNbuHz3Jige\n\tAI7PztYxlTqKJdAYMtyZG7+lwccHWn22CZTsHfB3k0vxP3sQx9SIXh4M+h0rKZmTlyFn\n\teG7A==",
        "X-Gm-Message-State": "AG10YOR1kPH9MaiEhrb9fiif5W5KgJs8Bi7kHmQzv8hV0RfdEfLpuD0Lm7a30AcveoAYC14x",
        "X-Received": "by 10.66.250.165 with SMTP id zd5mr6214068pac.111.1453699078986; \n\tSun, 24 Jan 2016 21:17:58 -0800 (PST)",
        "From": "Alexander Duyck <aduyck@mirantis.com>",
        "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com",
        "Date": "Sun, 24 Jan 2016 21:17:57 -0800",
        "Message-ID": "<20160125051757.12004.45770.stgit@localhost.localdomain>",
        "In-Reply-To": "<20160125050602.12004.38884.stgit@localhost.localdomain>",
        "References": "<20160125050602.12004.38884.stgit@localhost.localdomain>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [next PATCH v3 15/15] i40evf: Update feature\n\tflags to reflect newly enabled features",
        "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>",
        "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": "Recent changes should have enabled support for IPv6 based tunnels and\nsupport for TSO with outer UDP checksums.  As such we can update the\nfeature flags to reflect that.\n\nIn addition we can clean-up the flags that aren't needed such as SCTP and\nRXCSUM since having the bits there doesn't add any value.\n\nI also found one spot where we were setting the same flag twice.  It looks\nlike it was probably a git merge error that resulted in the line being\nduplicated.  As such I have dropped it in this patch.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/intel/i40evf/i40evf_main.c |   23 +++++++++++++++++++----\n 1 file changed, 19 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\nindex 41369a30dfb8..3396fe32cc6d 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c\n@@ -2337,9 +2337,24 @@ int i40evf_process_config(struct i40evf_adapter *adapter)\n \t\t\t    NETIF_F_IPV6_CSUM |\n \t\t\t    NETIF_F_TSO |\n \t\t\t    NETIF_F_TSO6 |\n+\t\t\t    NETIF_F_TSO_ECN |\n+\t\t\t    NETIF_F_GSO_GRE\t       |\n+\t\t\t    NETIF_F_GSO_UDP_TUNNEL |\n \t\t\t    NETIF_F_RXCSUM |\n \t\t\t    NETIF_F_GRO;\n \n+\tnetdev->hw_enc_features |= NETIF_F_IP_CSUM\t       |\n+\t\t\t\t   NETIF_F_IPV6_CSUM\t       |\n+\t\t\t\t   NETIF_F_TSO\t\t       |\n+\t\t\t\t   NETIF_F_TSO6\t\t       |\n+\t\t\t\t   NETIF_F_TSO_ECN\t       |\n+\t\t\t\t   NETIF_F_GSO_GRE\t       |\n+\t\t\t\t   NETIF_F_GSO_UDP_TUNNEL      |\n+\t\t\t\t   NETIF_F_GSO_UDP_TUNNEL_CSUM;\n+\n+\tif (adapter->flags & I40EVF_FLAG_OUTER_UDP_CSUM_CAPABLE)\n+\t\tnetdev->features |= NETIF_F_GSO_UDP_TUNNEL_CSUM;\n+\n \t/* copy netdev features into list of user selectable features */\n \tnetdev->hw_features |= netdev->features;\n \tnetdev->hw_features &= ~NETIF_F_RXCSUM;\n@@ -2478,6 +2493,10 @@ static void i40evf_init_task(struct work_struct *work)\n \tdefault:\n \t\tgoto err_alloc;\n \t}\n+\n+\tif (hw->mac.type == I40E_MAC_X722_VF)\n+\t\tadapter->flags |= I40EVF_FLAG_OUTER_UDP_CSUM_CAPABLE;\n+\n \tif (i40evf_process_config(adapter))\n \t\tgoto err_alloc;\n \tadapter->current_op = I40E_VIRTCHNL_OP_UNKNOWN;\n@@ -2519,10 +2538,6 @@ static void i40evf_init_task(struct work_struct *work)\n \t\tgoto err_sw_init;\n \ti40evf_map_rings_to_vectors(adapter);\n \tif (adapter->vf_res->vf_offload_flags &\n-\t\t    I40E_VIRTCHNL_VF_OFFLOAD_WB_ON_ITR)\n-\t\tadapter->flags |= I40EVF_FLAG_WB_ON_ITR_CAPABLE;\n-\n-\tif (adapter->vf_res->vf_offload_flags &\n \t    I40E_VIRTCHNL_VF_OFFLOAD_WB_ON_ITR)\n \t\tadapter->flags |= I40EVF_FLAG_WB_ON_ITR_CAPABLE;\n \n",
    "prefixes": [
        "next",
        "v3",
        "15/15"
    ]
}