Received: by 10.223.164.221 with SMTP id h29csp2897951wrb; Thu, 2 Nov 2017 20:53:13 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TunQogOr7zbo5AlSxv0E9e0uvNXhJWww6+IUZUvkqq6ANq2mztxXwLlVaiN/9XmMeAjOgE X-Received: by 10.98.60.23 with SMTP id j23mr6286992pfa.190.1509681193249; Thu, 02 Nov 2017 20:53:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509681193; cv=none; d=google.com; s=arc-20160816; b=Vq2+RhdVGcvGE6ufUxilauRRfHbNxWbpX+e5i57thDj778DHRiVrg5naJmZS3KHcmj nH4BgeVKA1H5IaZXozaHNMTe5GVHz4ZMn++cs2qcaJ5dmFtospnhtHQft/LZlBXz8L+G Q8VUggkT7wQk0ESCsRm9LdSBNLDwV/TTpp5fTLfxSBN4urFPxQ/hhc5qoH9l/I4qESiV eA1164vFvNndrg0UhOoWZHk1C7xWdLpCreLxQUxZEB03jeZkqM+riQZlLd0Q5PeT5hOp kN6wUxQYwQ0EOAwzEldsQ5KjcGKQAA1SXaxmc50EMTZLh3RmgDZrPqW+EiEbSgMKsBja LUuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=kjTCJHfyttQRBZV86Q+VzPayoOQdZzWJ6vQlIky5Un0=; b=fqeOjB0bYBxPiqUm/OBG8SxSlzAb51Iq55O23jRond74o39D1x3ysBA04Ahb0SERzN NMyBIJzpfg/7Ug4WTzyyR73SA0XGrG7h54iBlPVC6LbQXM3AhAC7EclMa7s5rVrUWkSr jF+7H3kQVJ6T14NX7Zk7ma5k2IN2elDV9Rj8SVJPMrVyogS37ll6xHcab9iwPWT61atw rtobR4n+WyslPBBROwfMjRtyf15+itF+U1tCf/NcUuhAJuIuEIcjndZV9a2cU88p9Pyh h5jwJn/DAv6isQNAlLdBCG6vHUgbqJ4OQXYW/kC418L/ELos2IsF2I4ttFpFL0SdQP/5 pP0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g125si5568023pfc.0.2017.11.02.20.53.00; Thu, 02 Nov 2017 20:53:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754584AbdKCDvO (ORCPT + 97 others); Thu, 2 Nov 2017 23:51:14 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:9946 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752428AbdKCDvI (ORCPT ); Thu, 2 Nov 2017 23:51:08 -0400 Received: from 172.30.72.58 (EHLO DGGEMS411-HUB.china.huawei.com) ([172.30.72.58]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DKE90168; Fri, 03 Nov 2017 11:51:04 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.361.1; Fri, 3 Nov 2017 11:50:54 +0800 From: Lipeng To: CC: , , , , Subject: [PATCH net-next 0/6] net: hns3: support set_link_ksettings and for nway_reset ethtool command Date: Fri, 3 Nov 2017 12:18:24 +0800 Message-ID: <1509682710-94908-1-git-send-email-lipeng321@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.59FBE7A8.00A6,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: c75fbe5964d0512a0b7dbf3851c23691 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch-set adds support for set_link_ksettings && for nway_resets ethtool command and fixes some related ethtool bugs. 1, patch[4/6] adds support for ethtool_ops.set_link_ksettings. 2, patch[5/6] adds support ethtool_ops.for nway_reset. 3, patch[1/6,2/6,3/6,6/6] fix some bugs for getting port information by ethtool command(ethtool ethx). Fuyun Liang (6): net: hns3: fix for getting autoneg in hns3_get_link_ksettings net: hns3: fix for getting advertised_caps in hns3_get_link_ksettings net: hns3: fix a bug in hns3_driv_to_eth_caps net: hns3: add support for set_link_ksettings net: hns3: add support for nway_reset net: hns3: fix a bug for phy supported feature initialization .../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 10 +++ .../ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c | 71 +++++++++++++++------- 2 files changed, 59 insertions(+), 22 deletions(-) -- 1.9.1 From 1583065556313062531@xxx Fri Nov 03 17:09:22 +0000 2017 X-GM-THRID: 1583065556313062531 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread