get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 709880,
    "url": "http://patchwork.ozlabs.org/api/patches/709880/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1483150078-35175-1-git-send-email-donald.c.skidmore@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": "<1483150078-35175-1-git-send-email-donald.c.skidmore@intel.com>",
    "list_archive_url": null,
    "date": "2016-12-31T02:07:58",
    "name": "[2/3] ixgbe: Add X552 XFI backplane support",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b5122204f118ff3b1b1c4945bff69b046256553d",
    "submitter": {
        "id": 4487,
        "url": "http://patchwork.ozlabs.org/api/people/4487/?format=api",
        "name": "Skidmore, Donald C",
        "email": "donald.c.skidmore@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/1483150078-35175-1-git-send-email-donald.c.skidmore@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/709880/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/709880/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 fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 3tr4yt4ywdz9t0m\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 31 Dec 2016 12:10:46 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 44A47862D5;\n\tSat, 31 Dec 2016 01:10:45 +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 qlJGdRZTk4tB; Sat, 31 Dec 2016 01:10:43 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 7669A860B0;\n\tSat, 31 Dec 2016 01:10:43 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id F1A711C21AB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 31 Dec 2016 01:10:41 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id F032E85A58\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 31 Dec 2016 01:10: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 CjjrPw82TCay for <intel-wired-lan@lists.osuosl.org>;\n\tSat, 31 Dec 2016 01:10:41 +0000 (UTC)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id D3BD3858E9\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 31 Dec 2016 01:10:40 +0000 (UTC)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga101.fm.intel.com with ESMTP; 30 Dec 2016 17:10:20 -0800",
            "from dcskidmo-m40.jf.intel.com ([134.134.3.124])\n\tby fmsmga002.fm.intel.com with ESMTP; 30 Dec 2016 17:10:19 -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.33,432,1477983600\"; d=\"scan'208\";\n\ta=\"1106213565\"",
        "From": "Donald C Skidmore <donald.c.skidmore@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Fri, 30 Dec 2016 21:07:58 -0500",
        "Message-Id": "<1483150078-35175-1-git-send-email-donald.c.skidmore@intel.com>",
        "X-Mailer": "git-send-email 2.4.3",
        "Subject": "[Intel-wired-lan] [PATCH 2/3] ixgbe: Add X552 XFI backplane support",
        "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": "This patch add support for X552 XFI backplane interface.  The XFI\nbackplane requires a custom tuned link.  HW/FW owns the link config\nfor XF backplane and SW must not interfere with it.\n\nSigned-off-by: Don Skidmore <donald.c.skidmore@intel.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c |  1 +\n drivers/net/ethernet/intel/ixgbe/ixgbe_main.c    |  1 +\n drivers/net/ethernet/intel/ixgbe/ixgbe_type.h    |  2 ++\n drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c    | 14 ++++++++++++++\n 4 files changed, 18 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c\nindex f19cbc7..aa80ece 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c\n@@ -172,6 +172,7 @@ static u32 ixgbe_get_supported_10gtypes(struct ixgbe_hw *hw)\n \tcase IXGBE_DEV_ID_82598_BX:\n \tcase IXGBE_DEV_ID_82599_KR:\n \tcase IXGBE_DEV_ID_X550EM_X_KR:\n+\tcase IXGBE_DEV_ID_X550EM_X_XFI:\n \t\treturn SUPPORTED_10000baseKR_Full;\n \tdefault:\n \t\treturn SUPPORTED_10000baseKX4_Full |\ndiff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\nindex 77d28e8..0a7afbd 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n@@ -132,6 +132,7 @@ static const struct pci_device_id ixgbe_pci_tbl[] = {\n \t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550T), board_X550},\n \t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550T1), board_X550},\n \t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_KX4), board_X550EM_x},\n+\t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_XFI), board_X550EM_x},\n \t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_KR), board_X550EM_x},\n \t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_10G_T), board_X550EM_x},\n \t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_X_SFP), board_X550EM_x},\ndiff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\nindex c0f6b95..22869aa 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\n@@ -85,6 +85,7 @@\n #define IXGBE_DEV_ID_X550EM_X_SFP\t0x15AC\n #define IXGBE_DEV_ID_X550EM_X_10G_T\t0x15AD\n #define IXGBE_DEV_ID_X550EM_X_1G_T\t0x15AE\n+#define IXGBE_DEV_ID_X550EM_X_XFI\t0x15B0\n #define IXGBE_DEV_ID_X550EM_A_KR\t0x15C2\n #define IXGBE_DEV_ID_X550EM_A_KR_L\t0x15C3\n #define IXGBE_DEV_ID_X550EM_A_SFP_N\t0x15C4\n@@ -3128,6 +3129,7 @@ enum ixgbe_phy_type {\n \tixgbe_phy_aq,\n \tixgbe_phy_x550em_kr,\n \tixgbe_phy_x550em_kx4,\n+\tixgbe_phy_x550em_xfi,\n \tixgbe_phy_x550em_ext_t,\n \tixgbe_phy_cu_unknown,\n \tixgbe_phy_qt,\ndiff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c\nindex 801427a..70171e7 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c\n@@ -320,6 +320,9 @@ static s32 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw)\n \tcase IXGBE_DEV_ID_X550EM_X_KX4:\n \t\thw->phy.type = ixgbe_phy_x550em_kx4;\n \t\tbreak;\n+\tcase IXGBE_DEV_ID_X550EM_X_XFI:\n+\t\thw->phy.type = ixgbe_phy_x550em_xfi;\n+\t\tbreak;\n \tcase IXGBE_DEV_ID_X550EM_X_KR:\n \tcase IXGBE_DEV_ID_X550EM_A_KR:\n \tcase IXGBE_DEV_ID_X550EM_A_KR_L:\n@@ -2231,6 +2234,10 @@ static s32 ixgbe_get_link_capabilities_X550em(struct ixgbe_hw *hw,\n \t\t\t\t IXGBE_LINK_SPEED_2_5GB_FULL |\n \t\t\t\t IXGBE_LINK_SPEED_10GB_FULL;\n \t\t\tbreak;\n+\t\tcase ixgbe_phy_x550em_xfi:\n+\t\t\t*speed = IXGBE_LINK_SPEED_1GB_FULL |\n+\t\t\t\t IXGBE_LINK_SPEED_10GB_FULL;\n+\t\t\tbreak;\n \t\tcase ixgbe_phy_sgmii:\n \t\t\t*speed = IXGBE_LINK_SPEED_1GB_FULL;\n \t\t\tbreak;\n@@ -3127,6 +3134,12 @@ static s32 ixgbe_init_phy_ops_X550em(struct ixgbe_hw *hw)\n \t\tphy->ops.read_reg = ixgbe_read_phy_reg_x550em;\n \t\tphy->ops.write_reg = ixgbe_write_phy_reg_x550em;\n \t\tbreak;\n+\tcase ixgbe_phy_x550em_xfi:\n+\t\t/* link is managed by HW */\n+\t\tphy->ops.setup_link = NULL;\n+\t\tphy->ops.read_reg = ixgbe_read_phy_reg_x550em;\n+\t\tphy->ops.write_reg = ixgbe_write_phy_reg_x550em;\n+\t\tbreak;\n \tcase ixgbe_phy_x550em_ext_t:\n \t\t/* Save NW management interface connected on board. This is used\n \t\t * to determine internal PHY mode\n@@ -3180,6 +3193,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_X550em(struct ixgbe_hw *hw)\n \t\t/* Fallthrough */\n \tcase IXGBE_DEV_ID_X550EM_X_KR:\n \tcase IXGBE_DEV_ID_X550EM_X_KX4:\n+\tcase IXGBE_DEV_ID_X550EM_X_XFI:\n \tcase IXGBE_DEV_ID_X550EM_A_KR:\n \tcase IXGBE_DEV_ID_X550EM_A_KR_L:\n \t\tmedia_type = ixgbe_media_type_backplane;\n",
    "prefixes": [
        "2/3"
    ]
}