get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 641013,
    "url": "http://patchwork.ozlabs.org/api/patches/641013/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1467032623-1078-1-git-send-email-sassmann@kpanic.de/",
    "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": "<1467032623-1078-1-git-send-email-sassmann@kpanic.de>",
    "list_archive_url": null,
    "date": "2016-06-27T13:03:43",
    "name": "[net-next] i40e: add missing link advertise setting",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ea4125835a4363d0bb7248156dc26d0d10cfa418",
    "submitter": {
        "id": 7508,
        "url": "http://patchwork.ozlabs.org/api/people/7508/?format=api",
        "name": "Stefan Assmann",
        "email": "sassmann@kpanic.de"
    },
    "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/1467032623-1078-1-git-send-email-sassmann@kpanic.de/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/641013/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/641013/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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3rdTqG4SmYz9t16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 27 Jun 2016 23:11:54 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 6E54032017;\n\tMon, 27 Jun 2016 13:11:52 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id EdpOHFIpeeeE; Mon, 27 Jun 2016 13:11:45 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 0B21E31EF3;\n\tMon, 27 Jun 2016 13:11:43 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id E51791CEB47\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 27 Jun 2016 13:11:41 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id DE8C18A729\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 27 Jun 2016 13:11:41 +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 L0SWSn6CQb2M for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 27 Jun 2016 13:11:41 +0000 (UTC)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id EDEB089A14\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 27 Jun 2016 13:11:40 +0000 (UTC)",
            "from int-mx11.intmail.prod.int.phx2.redhat.com\n\t(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 8CA293B75A;\n\tMon, 27 Jun 2016 13:03:55 +0000 (UTC)",
            "from w541.redhat.com (ovpn-116-36.ams2.redhat.com [10.36.116.36])\n\tby int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with\n\tESMTP id u5RD3q31012333; Mon, 27 Jun 2016 09:03:53 -0400"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": [
            "delayed 00:07:43 by SQLgrey-1.7.6",
            "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.30]); Mon, 27 Jun 2016 13:03:56 +0000 (UTC)"
        ],
        "From": "Stefan Assmann <sassmann@kpanic.de>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Mon, 27 Jun 2016 15:03:43 +0200",
        "Message-Id": "<1467032623-1078-1-git-send-email-sassmann@kpanic.de>",
        "X-Scanned-By": "MIMEDefang 2.68 on 10.5.11.24",
        "Cc": "netdev@vger.kernel.org, davem@davemloft.net, sassmann@kpanic.de",
        "Subject": "[Intel-wired-lan] [PATCH net-next] i40e: add missing link advertise\n\tsetting",
        "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": "Adding the missing link advertise for some X710 NICs.\nThis can be observed by simply calling ethtool on the interface.\nroot@rhel7:~ # ethtool eth0\nSettings for eth0:\n        Supported ports: [ FIBRE ]\n        Supported link modes:   10000baseT/Full\n        Supported pause frame use: Symmetric\n        Supports auto-negotiation: No\n        Advertised link modes:  Not reported\n[...]\nWith fix applied.\nroot@rhel7:~ # ethtool eth0\nSettings for eth0:\n        Supported ports: [ FIBRE ]\n        Supported link modes:   10000baseT/Full\n        Supported pause frame use: Symmetric\n        Supports auto-negotiation: No\n        Advertised link modes:  10000baseT/Full\n[...]\n\nSigned-off-by: Stefan Assmann <sassmann@kpanic.de>\n---\n drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\nindex 5e8d84f..88ef7cb 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\n@@ -453,6 +453,7 @@ static void i40e_get_settings_link_up(struct i40e_hw *hw,\n \tcase I40E_PHY_TYPE_10GBASE_SFPP_CU:\n \tcase I40E_PHY_TYPE_10GBASE_AOC:\n \t\tecmd->supported = SUPPORTED_10000baseT_Full;\n+\t\tecmd->advertising = SUPPORTED_10000baseT_Full;\n \t\tbreak;\n \tcase I40E_PHY_TYPE_SGMII:\n \t\tecmd->supported = SUPPORTED_Autoneg |\n",
    "prefixes": [
        "net-next"
    ]
}