]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: add net status led support for fiber port
authorJian Shen <shenjian15@huawei.com>
Fri, 19 Jan 2018 06:41:12 +0000 (14:41 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:50 +0000 (10:47 -0500)
commitfe36292f7c16475389cbb13760e2c09377dd3324
tree0842fc6e21fe713b47d21926071b21f7a6b66250
parentd9a0884eb96e37d3142d45304ab294b66b9f8dc5
net: hns3: add net status led support for fiber port

BugLink: http://bugs.launchpad.net/bugs/1756097
Check the net status per second, include port speed, total rx/tx packets
and link status. Updating the led status for fiber port.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 716aaac1f3f3ee141f550d2d6d7934eab42c1c29)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h