Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/949495/?format=api
{ "id": 949495, "url": "http://patchwork.ozlabs.org/api/patches/949495/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180726063736.10404-1-yuehaibing@huawei.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": "<20180726063736.10404-1-yuehaibing@huawei.com>", "list_archive_url": null, "date": "2018-07-26T06:37:36", "name": "[net-next] i40e/i40evf: remove redundant functions i40evf_aq_{set/get}_phy_register", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "d904ac1f0aad79159bf5c2ee3329c3a035d11f32", "submitter": { "id": 70610, "url": "http://patchwork.ozlabs.org/api/people/70610/?format=api", "name": "Yue Haibing", "email": "yuehaibing@huawei.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/20180726063736.10404-1-yuehaibing@huawei.com/mbox/", "series": [ { "id": 57662, "url": "http://patchwork.ozlabs.org/api/series/57662/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=57662", "date": "2018-07-26T06:37:36", "name": "[net-next] i40e/i40evf: remove redundant functions i40evf_aq_{set/get}_phy_register", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/57662/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/949495/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/949495/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@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" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=huawei.com" ], "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 41bjDD19jxz9s2x\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 26 Jul 2018 16:41:15 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 49F7D244D7;\n\tThu, 26 Jul 2018 06:41:14 +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 Mcr6k5VOaS7b; Thu, 26 Jul 2018 06:41:12 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 20D6C244A8;\n\tThu, 26 Jul 2018 06:41:12 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 809461C212B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 26 Jul 2018 06:41:10 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 7DB04878A5\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 26 Jul 2018 06:41:10 +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 5jfnzKvfR1Ly for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 26 Jul 2018 06:41:09 +0000 (UTC)", "from huawei.com (szxga04-in.huawei.com [45.249.212.190])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 9D6D0878A1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 26 Jul 2018 06:41:09 +0000 (UTC)", "from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58])\n\tby Forcepoint Email with ESMTP id 34D284F535352;\n\tThu, 26 Jul 2018 14:41:04 +0800 (CST)", "from localhost (10.177.31.96) by DGGEMS402-HUB.china.huawei.com\n\t(10.3.19.202) with Microsoft SMTP Server id 14.3.382.0;\n\tThu, 26 Jul 2018 14:40:57 +0800" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "From": "YueHaibing <yuehaibing@huawei.com>", "To": "<davem@davemloft.net>, <jeffrey.t.kirsher@intel.com>", "Date": "Thu, 26 Jul 2018 14:37:36 +0800", "Message-ID": "<20180726063736.10404-1-yuehaibing@huawei.com>", "X-Mailer": "git-send-email 2.10.2.windows.1", "MIME-Version": "1.0", "X-Originating-IP": "[10.177.31.96]", "X-CFilter-Loop": "Reflected", "Subject": "[Intel-wired-lan] [PATCH net-next] i40e/i40evf: remove redundant\n\tfunctions i40evf_aq_{set/get}_phy_register", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.24", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Cc": "netdev@vger.kernel.org, YueHaibing <yuehaibing@huawei.com>,\n\tintel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "There are no in-tree callers.\n\nSigned-off-by: YueHaibing <yuehaibing@huawei.com>\n---\n drivers/net/ethernet/intel/i40evf/i40e_common.c | 69 -------------------------\n 1 file changed, 69 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40evf/i40e_common.c b/drivers/net/ethernet/intel/i40evf/i40e_common.c\nindex 9cef549..eea280ba 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40e_common.c\n+++ b/drivers/net/ethernet/intel/i40evf/i40e_common.c\n@@ -1021,75 +1021,6 @@ void i40evf_write_rx_ctl(struct i40e_hw *hw, u32 reg_addr, u32 reg_val)\n }\n \n /**\n- * i40evf_aq_set_phy_register\n- * @hw: pointer to the hw struct\n- * @phy_select: select which phy should be accessed\n- * @dev_addr: PHY device address\n- * @reg_addr: PHY register address\n- * @reg_val: new register value\n- * @cmd_details: pointer to command details structure or NULL\n- *\n- * Reset the external PHY.\n- **/\n-i40e_status i40evf_aq_set_phy_register(struct i40e_hw *hw,\n-\t\t\t\t u8 phy_select, u8 dev_addr,\n-\t\t\t\t u32 reg_addr, u32 reg_val,\n-\t\t\t\t struct i40e_asq_cmd_details *cmd_details)\n-{\n-\tstruct i40e_aq_desc desc;\n-\tstruct i40e_aqc_phy_register_access *cmd =\n-\t\t(struct i40e_aqc_phy_register_access *)&desc.params.raw;\n-\ti40e_status status;\n-\n-\ti40evf_fill_default_direct_cmd_desc(&desc,\n-\t\t\t\t\t i40e_aqc_opc_set_phy_register);\n-\n-\tcmd->phy_interface = phy_select;\n-\tcmd->dev_address = dev_addr;\n-\tcmd->reg_address = cpu_to_le32(reg_addr);\n-\tcmd->reg_value = cpu_to_le32(reg_val);\n-\n-\tstatus = i40evf_asq_send_command(hw, &desc, NULL, 0, cmd_details);\n-\n-\treturn status;\n-}\n-\n-/**\n- * i40evf_aq_get_phy_register\n- * @hw: pointer to the hw struct\n- * @phy_select: select which phy should be accessed\n- * @dev_addr: PHY device address\n- * @reg_addr: PHY register address\n- * @reg_val: read register value\n- * @cmd_details: pointer to command details structure or NULL\n- *\n- * Reset the external PHY.\n- **/\n-i40e_status i40evf_aq_get_phy_register(struct i40e_hw *hw,\n-\t\t\t\t u8 phy_select, u8 dev_addr,\n-\t\t\t\t u32 reg_addr, u32 *reg_val,\n-\t\t\t\t struct i40e_asq_cmd_details *cmd_details)\n-{\n-\tstruct i40e_aq_desc desc;\n-\tstruct i40e_aqc_phy_register_access *cmd =\n-\t\t(struct i40e_aqc_phy_register_access *)&desc.params.raw;\n-\ti40e_status status;\n-\n-\ti40evf_fill_default_direct_cmd_desc(&desc,\n-\t\t\t\t\t i40e_aqc_opc_get_phy_register);\n-\n-\tcmd->phy_interface = phy_select;\n-\tcmd->dev_address = dev_addr;\n-\tcmd->reg_address = cpu_to_le32(reg_addr);\n-\n-\tstatus = i40evf_asq_send_command(hw, &desc, NULL, 0, cmd_details);\n-\tif (!status)\n-\t\t*reg_val = le32_to_cpu(cmd->reg_value);\n-\n-\treturn status;\n-}\n-\n-/**\n * i40e_aq_send_msg_to_pf\n * @hw: pointer to the hardware structure\n * @v_opcode: opcodes for VF-PF communication\n", "prefixes": [ "net-next" ] }