netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 net-next 0/4] add some features to hns3 driver
@ 2018-01-19  6:41 Peng Li
  2018-01-19  6:41 ` [PATCH V2 net-next 1/4] net: hns3: add support for get_regs Peng Li
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Peng Li @ 2018-01-19  6:41 UTC (permalink / raw)
  To: davem; +Cc: netdev, linux-kernel, linuxarm, salil.mehta, lipeng321

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".
---

Fuyun Liang (2):
  net: hns3: add support for get_regs
  net: hns3: add manager table initialization for hardware

Jian Shen (2):
  net: hns3: add ethtool -p support for fiber port
  net: hns3: add net status led support for fiber port

 drivers/net/ethernet/hisilicon/hns3/hnae3.h        |   5 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c |  35 ++
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h |  47 +++
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    | 456 +++++++++++++++++++++
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h    |   3 +
 5 files changed, 545 insertions(+), 1 deletion(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-22 21:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-19  6:41 [PATCH V2 net-next 0/4] add some features to hns3 driver Peng Li
2018-01-19  6:41 ` [PATCH V2 net-next 1/4] net: hns3: add support for get_regs Peng Li
2018-01-19  6:41 ` [PATCH V2 net-next 2/4] net: hns3: add manager table initialization for hardware Peng Li
2018-01-19  6:41 ` [PATCH V2 net-next 3/4] net: hns3: add ethtool -p support for fiber port Peng Li
2018-01-19  6:41 ` [PATCH V2 net-next 4/4] net: hns3: add net status led " Peng Li
2018-01-22 21:06 ` [PATCH V2 net-next 0/4] add some features to hns3 driver David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).