net: hns3: add ethtool -p support for fiber port
authorJian Shen <shenjian15@huawei.com>
Fri, 19 Jan 2018 06:41:11 +0000 (14:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 21:05:49 +0000 (16:05 -0500)
commit07f8e94011d7d14d4633f076bae6e341fea5076e
treec2cd31acf25305a1aad2043416e292dd07dab99e
parentf5aac71c032719ef9159dae10bc83192bddd2424
net: hns3: add ethtool -p support for fiber port

Add led location support for fiber port. The led will keep blinking
when locating.

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>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c