Received: by 10.223.176.46 with SMTP id f43csp3375974wra; Mon, 22 Jan 2018 13:07:13 -0800 (PST) X-Google-Smtp-Source: AH8x227oqgukCcCBYSA3kXAjsmQYhuG3iiwMk83WNa91SRu90toxGRzEoQPTsYa8F6nkZjbWHAiH X-Received: by 10.36.107.80 with SMTP id v77mr291344itc.10.1516655233182; Mon, 22 Jan 2018 13:07:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516655233; cv=none; d=google.com; s=arc-20160816; b=uA7jiKMbvBcDXUp8Xb6GOCPSHtziQLu3i5RZig86g2etIpXGc4L1JFPXGXFzwVVokn mbut10Zu/tF+10De8H+8xzDcxMZ4qOmbUVjLB5aDsRxK1n7UE87U9rAjmCVVFaQkwuTK 5FdzAWTWN0yWHjyV2xnDg38DwKiOhWJTpeYXJ7TmfAHoyC4IXx7yROi9bagrM9rf7q2j vRCg3+o1RL/Pzy1NrmEez8AjDu7D5RVPaCVcDkkJx7ufbjUaL8YXPNabZERiyz/cgdlR 5t05oTcdIa2p/9NnPguqhFYke4hUGE38mNsrAPKQPxouVWKSzGyG53U1HXqLhZKlewQD NU9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=TUtRmDs6mnvHV+RVReeOB6w2NuEOmsAx4lkeIgHWhnI=; b=U5Oq2bjiHEhmEwtge3N7+w8BZ5FClDR3pZnTTzf0R1JxDER3GVZCF7gQhDCXqQ28wo 8a3ffeHUx+WybF8dbSKhKs8d+Bk8158mKzUPzDBhm44RLOrKCxjtuAYNEGM9hm2nSHfR Z2OMWv5m1/aI3OEHmiXHKvsKg3FEPP1QUsQwgHMG4X+GEopci7tSSFb7WKFTa/gfcjZh wef/JSTOLrypbdj3u31mKH+AoPeP1wDa1mvfAGdwr8Z5DByAX+loJ2/zerhymEXMalwl 6Vh2kyupi0fIFsADSWB6SJLRcWHaYJSjtI0KX65KTXzAy/TFsQVEuMW/R+HOXpUHAYdG Vjiw== 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 e67si6210341ioe.142.2018.01.22.13.06.59; Mon, 22 Jan 2018 13:07:13 -0800 (PST) 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 S1751143AbeAVVGK (ORCPT + 99 others); Mon, 22 Jan 2018 16:06:10 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:41024 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750947AbeAVVGI (ORCPT ); Mon, 22 Jan 2018 16:06:08 -0500 Received: from localhost (67.110.78.66.ptr.us.xo.net [67.110.78.66]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 1154413F96FB4; Mon, 22 Jan 2018 13:06:07 -0800 (PST) Date: Mon, 22 Jan 2018 16:06:06 -0500 (EST) Message-Id: <20180122.160606.1473995205840062094.davem@davemloft.net> To: lipeng321@huawei.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, salil.mehta@huawei.com Subject: Re: [PATCH V2 net-next 0/4] add some features to hns3 driver From: David Miller In-Reply-To: <1516344072-109127-1-git-send-email-lipeng321@huawei.com> References: <1516344072-109127-1-git-send-email-lipeng321@huawei.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 22 Jan 2018 13:06:08 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Li Date: Fri, 19 Jan 2018 14:41:08 +0800 > This patchset adds some features to hns3 driver, include the support > for ethtool command -d, -p and support for manager table. > > [Patch 1/4] adds support for ethtool command -d, its ops is get_regs. > driver will send command to command queue, and get regs number and > regs value from command queue. > [Patch 2/4] adds manager table initialization for hardware. > [Patch 3/4] adds support for ethtool command -p. For fiber ports, driver > sends command to command queue, and IMP will write SGPIO regs to control > leds. > [Patch 4/4] adds support for net status led for fiber ports. Net status > include port speed, total rx/tx packets and link status. Driver send > the status to command queue, and IMP will write SGPIO to control leds. > > --- > Change log: > V1 -> V2: > 1, fix comments from Andrew Lunn, remove the patch "net: hns3: add > ethtool -p support for phy device". Series applied, thanks.