net: hns3: add support for get_regs
authorFuyun Liang <liangfuyun1@huawei.com>
Fri, 19 Jan 2018 06:41:09 +0000 (14:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 21:05:48 +0000 (16:05 -0500)
commit77b34110112a48286bf83526ebb14cfbd326bef2
tree4c5aeec96b9b3c5896f4380db81889ad515f5bb6
parentb2d3bcfa26a7a8de41f358a6cae8b848673b3c6e
net: hns3: add support for get_regs

This patch adds get_regs support for ethtool cmd.

Signed-off-by: Fuyun Liang <liangfuyun1@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