get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 465189,
    "url": "http://patchwork.ozlabs.org/api/patches/465189/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1430161042-28494-6-git-send-email-catherine.sullivan@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": "<1430161042-28494-6-git-send-email-catherine.sullivan@intel.com>",
    "list_archive_url": null,
    "date": "2015-04-27T18:57:12",
    "name": "[net-next,S5,05/15] i40e/i40evf: Update the admin queue command header",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d7ecd8014fc091db085c9571474515d0a1d9f9c4",
    "submitter": {
        "id": 13931,
        "url": "http://patchwork.ozlabs.org/api/people/13931/?format=api",
        "name": "Catherine Sullivan",
        "email": "catherine.sullivan@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/1430161042-28494-6-git-send-email-catherine.sullivan@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/465189/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/465189/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 hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133])\n\tby ozlabs.org (Postfix) with ESMTP id C962814007D\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 28 Apr 2015 04:54:48 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 051D794E82;\n\tMon, 27 Apr 2015 18:54:48 +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 dT1eeHo9axNw; Mon, 27 Apr 2015 18:54:47 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 4FE8194E87;\n\tMon, 27 Apr 2015 18:54:47 +0000 (UTC)",
            "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 31DE31C21C0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 27 Apr 2015 18:54:46 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2E2A38B8A7\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 27 Apr 2015 18:54:46 +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 uAzH6A1LO1ea for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 27 Apr 2015 18:54:45 +0000 (UTC)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 842A78B694\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 27 Apr 2015 18:54:45 +0000 (UTC)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga102.fm.intel.com with ESMTP; 27 Apr 2015 11:54:45 -0700",
            "from catheri1-tigger.jf.intel.com ([134.134.176.92])\n\tby FMSMGA003.fm.intel.com with ESMTP; 27 Apr 2015 11:54:45 -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.11,658,1422950400\"; d=\"scan'208\";a=\"486315471\"",
        "From": "Catherine Sullivan <catherine.sullivan@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Mon, 27 Apr 2015 14:57:12 -0400",
        "Message-Id": "<1430161042-28494-6-git-send-email-catherine.sullivan@intel.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "In-Reply-To": "<1430161042-28494-1-git-send-email-catherine.sullivan@intel.com>",
        "References": "<1430161042-28494-1-git-send-email-catherine.sullivan@intel.com>",
        "Subject": "[Intel-wired-lan] [net-next S5 05/15] i40e/i40evf: Update the admin\n\tqueue command header",
        "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: Greg Rose <gregory.v.rose@intel.com>\n\nMake the necessary updates to i40e_adminq_cmd.h.\n\nSigned-off-by: Greg Rose <gregory.v.rose@intel.com>\nChange-ID: Ib031c86cc6cab78e5aa44c64d8ce5474be8d7e42\n---\n drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h  | 24 ++++++++++++----------\n .../net/ethernet/intel/i40evf/i40e_adminq_cmd.h    | 18 +++++++---------\n 2 files changed, 20 insertions(+), 22 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h b/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h\nindex 929e3d7..9101f5c 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h\n+++ b/drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h\n@@ -34,7 +34,7 @@\n  */\n \n #define I40E_FW_API_VERSION_MAJOR\t0x0001\n-#define I40E_FW_API_VERSION_MINOR\t0x0002\n+#define I40E_FW_API_VERSION_MINOR\t0x0004\n \n struct i40e_aq_desc {\n \t__le16 flags;\n@@ -132,12 +132,7 @@ enum i40e_admin_queue_opc {\n \ti40e_aqc_opc_list_func_capabilities\t= 0x000A,\n \ti40e_aqc_opc_list_dev_capabilities\t= 0x000B,\n \n-\ti40e_aqc_opc_set_cppm_configuration\t= 0x0103,\n-\ti40e_aqc_opc_set_arp_proxy_entry\t= 0x0104,\n-\ti40e_aqc_opc_set_ns_proxy_entry\t\t= 0x0105,\n-\n \t/* LAA */\n-\ti40e_aqc_opc_mng_laa\t\t= 0x0106,   /* AQ obsolete */\n \ti40e_aqc_opc_mac_address_read\t= 0x0107,\n \ti40e_aqc_opc_mac_address_write\t= 0x0108,\n \n@@ -262,7 +257,6 @@ enum i40e_admin_queue_opc {\n \t/* Tunnel commands */\n \ti40e_aqc_opc_add_udp_tunnel\t= 0x0B00,\n \ti40e_aqc_opc_del_udp_tunnel\t= 0x0B01,\n-\ti40e_aqc_opc_tunnel_key_structure\t= 0x0B10,\n \n \t/* Async Events */\n \ti40e_aqc_opc_event_lan_overflow\t\t= 0x1001,\n@@ -274,8 +268,6 @@ enum i40e_admin_queue_opc {\n \ti40e_aqc_opc_oem_ocbb_initialize\t= 0xFE03,\n \n \t/* debug commands */\n-\ti40e_aqc_opc_debug_get_deviceid\t\t= 0xFF00,\n-\ti40e_aqc_opc_debug_set_mode\t\t= 0xFF01,\n \ti40e_aqc_opc_debug_read_reg\t\t= 0xFF03,\n \ti40e_aqc_opc_debug_write_reg\t\t= 0xFF04,\n \ti40e_aqc_opc_debug_modify_reg\t\t= 0xFF07,\n@@ -509,7 +501,8 @@ struct i40e_aqc_mac_address_read {\n #define I40E_AQC_SAN_ADDR_VALID\t\t0x20\n #define I40E_AQC_PORT_ADDR_VALID\t0x40\n #define I40E_AQC_WOL_ADDR_VALID\t\t0x80\n-#define I40E_AQC_ADDR_VALID_MASK\t0xf0\n+#define I40E_AQC_MC_MAG_EN_VALID\t0x100\n+#define I40E_AQC_ADDR_VALID_MASK\t0x1F0\n \tu8\treserved[6];\n \t__le32\taddr_high;\n \t__le32\taddr_low;\n@@ -532,7 +525,9 @@ struct i40e_aqc_mac_address_write {\n #define I40E_AQC_WRITE_TYPE_LAA_ONLY\t0x0000\n #define I40E_AQC_WRITE_TYPE_LAA_WOL\t0x4000\n #define I40E_AQC_WRITE_TYPE_PORT\t0x8000\n-#define I40E_AQC_WRITE_TYPE_MASK\t0xc000\n+#define I40E_AQC_WRITE_TYPE_UPDATE_MC_MAG\t0xC000\n+#define I40E_AQC_WRITE_TYPE_MASK\t0xC000\n+\n \t__le16\tmac_sah;\n \t__le32\tmac_sal;\n \tu8\treserved[8];\n@@ -1068,6 +1063,7 @@ struct i40e_aqc_set_vsi_promiscuous_modes {\n \t__le16\tseid;\n #define I40E_AQC_VSI_PROM_CMD_SEID_MASK\t\t0x3FF\n \t__le16\tvlan_tag;\n+#define I40E_AQC_SET_VSI_VLAN_MASK\t\t0x0FFF\n #define I40E_AQC_SET_VSI_VLAN_VALID\t\t0x8000\n \tu8\treserved[8];\n };\n@@ -2064,6 +2060,12 @@ I40E_CHECK_CMD_LENGTH(i40e_aqc_lldp_start);\n #define I40E_AQC_CEE_PFC_STATUS_MASK\t(0x7 << I40E_AQC_CEE_PFC_STATUS_SHIFT)\n #define I40E_AQC_CEE_APP_STATUS_SHIFT\t0x8\n #define I40E_AQC_CEE_APP_STATUS_MASK\t(0x7 << I40E_AQC_CEE_APP_STATUS_SHIFT)\n+#define I40E_AQC_CEE_FCOE_STATUS_SHIFT\t0x8\n+#define I40E_AQC_CEE_FCOE_STATUS_MASK\t(0x7 << I40E_AQC_CEE_FCOE_STATUS_SHIFT)\n+#define I40E_AQC_CEE_ISCSI_STATUS_SHIFT\t0xA\n+#define I40E_AQC_CEE_ISCSI_STATUS_MASK\t(0x7 << I40E_AQC_CEE_ISCSI_STATUS_SHIFT)\n+#define I40E_AQC_CEE_FIP_STATUS_SHIFT\t0x10\n+#define I40E_AQC_CEE_FIP_STATUS_MASK\t(0x7 << I40E_AQC_CEE_FIP_STATUS_SHIFT)\n struct i40e_aqc_get_cee_dcb_cfg_v1_resp {\n \tu8\treserved1;\n \tu8\toper_num_tc;\ndiff --git a/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h b/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h\nindex e715bcc..d5bd6f0 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h\n+++ b/drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h\n@@ -34,7 +34,7 @@\n  */\n \n #define I40E_FW_API_VERSION_MAJOR\t0x0001\n-#define I40E_FW_API_VERSION_MINOR\t0x0002\n+#define I40E_FW_API_VERSION_MINOR\t0x0004\n #define I40E_FW_API_VERSION_A0_MINOR  0x0000\n \n struct i40e_aq_desc {\n@@ -133,12 +133,7 @@ enum i40e_admin_queue_opc {\n \ti40e_aqc_opc_list_func_capabilities\t= 0x000A,\n \ti40e_aqc_opc_list_dev_capabilities\t= 0x000B,\n \n-\ti40e_aqc_opc_set_cppm_configuration\t= 0x0103,\n-\ti40e_aqc_opc_set_arp_proxy_entry\t= 0x0104,\n-\ti40e_aqc_opc_set_ns_proxy_entry\t\t= 0x0105,\n-\n \t/* LAA */\n-\ti40e_aqc_opc_mng_laa\t\t= 0x0106,   /* AQ obsolete */\n \ti40e_aqc_opc_mac_address_read\t= 0x0107,\n \ti40e_aqc_opc_mac_address_write\t= 0x0108,\n \n@@ -260,7 +255,6 @@ enum i40e_admin_queue_opc {\n \t/* Tunnel commands */\n \ti40e_aqc_opc_add_udp_tunnel\t= 0x0B00,\n \ti40e_aqc_opc_del_udp_tunnel\t= 0x0B01,\n-\ti40e_aqc_opc_tunnel_key_structure\t= 0x0B10,\n \n \t/* Async Events */\n \ti40e_aqc_opc_event_lan_overflow\t\t= 0x1001,\n@@ -272,8 +266,6 @@ enum i40e_admin_queue_opc {\n \ti40e_aqc_opc_oem_ocbb_initialize\t= 0xFE03,\n \n \t/* debug commands */\n-\ti40e_aqc_opc_debug_get_deviceid\t\t= 0xFF00,\n-\ti40e_aqc_opc_debug_set_mode\t\t= 0xFF01,\n \ti40e_aqc_opc_debug_read_reg\t\t= 0xFF03,\n \ti40e_aqc_opc_debug_write_reg\t\t= 0xFF04,\n \ti40e_aqc_opc_debug_modify_reg\t\t= 0xFF07,\n@@ -507,7 +499,8 @@ struct i40e_aqc_mac_address_read {\n #define I40E_AQC_SAN_ADDR_VALID\t\t0x20\n #define I40E_AQC_PORT_ADDR_VALID\t0x40\n #define I40E_AQC_WOL_ADDR_VALID\t\t0x80\n-#define I40E_AQC_ADDR_VALID_MASK\t0xf0\n+#define I40E_AQC_MC_MAG_EN_VALID\t0x100\n+#define I40E_AQC_ADDR_VALID_MASK\t0x1F0\n \tu8\treserved[6];\n \t__le32\taddr_high;\n \t__le32\taddr_low;\n@@ -530,7 +523,9 @@ struct i40e_aqc_mac_address_write {\n #define I40E_AQC_WRITE_TYPE_LAA_ONLY\t0x0000\n #define I40E_AQC_WRITE_TYPE_LAA_WOL\t0x4000\n #define I40E_AQC_WRITE_TYPE_PORT\t0x8000\n-#define I40E_AQC_WRITE_TYPE_MASK\t0xc000\n+#define I40E_AQC_WRITE_TYPE_UPDATE_MC_MAG\t0xC000\n+#define I40E_AQC_WRITE_TYPE_MASK\t0xC000\n+\n \t__le16\tmac_sah;\n \t__le32\tmac_sal;\n \tu8\treserved[8];\n@@ -1066,6 +1061,7 @@ struct i40e_aqc_set_vsi_promiscuous_modes {\n \t__le16\tseid;\n #define I40E_AQC_VSI_PROM_CMD_SEID_MASK\t\t0x3FF\n \t__le16\tvlan_tag;\n+#define I40E_AQC_SET_VSI_VLAN_MASK\t\t0x0FFF\n #define I40E_AQC_SET_VSI_VLAN_VALID\t\t0x8000\n \tu8\treserved[8];\n };\n",
    "prefixes": [
        "net-next",
        "S5",
        "05/15"
    ]
}