get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 554879,
    "url": "http://patchwork.ozlabs.org/api/patches/554879/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1449705033-4968-6-git-send-email-joshua.a.hay@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": "<1449705033-4968-6-git-send-email-joshua.a.hay@intel.com>",
    "list_archive_url": null,
    "date": "2015-12-09T23:50:25",
    "name": "[next,S23,05/13] i40e: Replace X722 mac check in ethtool get_settings",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "148caee689df502380ea4083c54bc89e7b650f4a",
    "submitter": {
        "id": 19461,
        "url": "http://patchwork.ozlabs.org/api/people/19461/?format=api",
        "name": "Joshua Hay",
        "email": "joshua.a.hay@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/1449705033-4968-6-git-send-email-joshua.a.hay@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/554879/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/554879/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 61933140E1E\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 10 Dec 2015 10:50:51 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A948A9209A;\n\tWed,  9 Dec 2015 23:50:50 +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 73EepKBCpAjM; Wed,  9 Dec 2015 23:50:47 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 63143924B2;\n\tWed,  9 Dec 2015 23:50:45 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id DB86A1BFA5C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  9 Dec 2015 23:50:43 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D5B4292408\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  9 Dec 2015 23:50:43 +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 lwQt9UJvCEWy for <intel-wired-lan@lists.osuosl.org>;\n\tWed,  9 Dec 2015 23:50:41 +0000 (UTC)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id AA7628C9F2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  9 Dec 2015 23:50:41 +0000 (UTC)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga101.fm.intel.com with ESMTP; 09 Dec 2015 15:50:33 -0800",
            "from jahay1-mobl2.amr.corp.intel.com (HELO\n\tlocalhost.localdomain.localdomain) ([134.134.176.79])\n\tby orsmga002.jf.intel.com with ESMTP; 09 Dec 2015 15:50:33 -0800"
        ],
        "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.20,405,1444719600\"; d=\"scan'208\";a=\"868414314\"",
        "From": "Joshua Hay <joshua.a.hay@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Wed,  9 Dec 2015 15:50:25 -0800",
        "Message-Id": "<1449705033-4968-6-git-send-email-joshua.a.hay@intel.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "In-Reply-To": "<1449705033-4968-1-git-send-email-joshua.a.hay@intel.com>",
        "References": "<1449705033-4968-1-git-send-email-joshua.a.hay@intel.com>",
        "Subject": "[Intel-wired-lan] [next PATCH S23 05/13] i40e: Replace X722 mac\n\tcheck in ethtool get_settings",
        "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": "From: Catherine Sullivan <catherine.sullivan@intel.com>\n\n100M SGMII is only supported on X722.  Replace the mac check with\na feature flag check that is only set for the X722 device.\n\nSigned-off-by: Catherine Sullivan <catherine.sullivan@intel.com>\nChange-ID: I53452d9af6af8cd9dca8500215fbc6ce93418f52\n---\nTesting Hints: Check that 100M SGMII is not listed as supported on X710\ndevices and is listed as supported on X722 devices.\n\n drivers/net/ethernet/intel/i40e/i40e.h         | 3 ++-\n drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 +-\n 2 files changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h\nindex 3d0269b..4747219 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e.h\n+++ b/drivers/net/ethernet/intel/i40e/i40e.h\n@@ -334,7 +334,8 @@ struct i40e_pf {\n #define I40E_FLAG_MULTIPLE_TCP_UDP_RSS_PCTYPE\tBIT_ULL(38)\n #define I40E_FLAG_LINK_POLLING_ENABLED\t\tBIT_ULL(39)\n #define I40E_FLAG_VEB_MODE_ENABLED\t\tBIT_ULL(40)\n-#define I40E_FLAG_NO_PCI_LINK_CHECK\t\tBIT_ULL(42)\n+#define I40E_FLAG_NO_PCI_LINK_CHECK\t\tBIT_ULL(41)\n+#define I40E_FLAG_100M_SGMII_CAPABLE\t\tBIT_ULL(42)\n \n \t/* tracks features that get auto disabled by errors */\n \tu64 auto_disable_flags;\ndiff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\nindex c8b9dca..252a9dd 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c\n@@ -340,7 +340,7 @@ static void i40e_get_settings_link_up(struct i40e_hw *hw,\n \t\t\t\t  SUPPORTED_1000baseT_Full;\n \t\tif (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB)\n \t\t\tecmd->advertising |= ADVERTISED_1000baseT_Full;\n-\t\tif (pf->hw.mac.type == I40E_MAC_X722) {\n+\t\tif (pf->flags & I40E_FLAG_100M_SGMII_CAPABLE) {\n \t\t\tecmd->supported |= SUPPORTED_100baseT_Full;\n \t\t\tif (hw_link_info->requested_speeds &\n \t\t\t    I40E_LINK_SPEED_100MB)\n",
    "prefixes": [
        "next",
        "S23",
        "05/13"
    ]
}