net: hns3: Add Ethtool support to HNS3 driver
authorSalil <salil.mehta@huawei.com>
Wed, 2 Aug 2017 15:59:51 +0000 (16:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 22:08:18 +0000 (15:08 -0700)
commit496d03e960ae2067b81c26a9ea46a028e9d4055d
tree0d6c91078109ad9f3ddee6548695c0a87f50267b
parent256727da73951b0cbb97105db921bd9e8221aec9
net: hns3: Add Ethtool support to HNS3 driver

This patch adds the support of the Ethtool interface to
the HNS3 Ethernet driver. Various commands to read the
statistics, configure the offloading, loopback selftest etc.
are supported.

Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c [new file with mode: 0644]