]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d7671f3bd1da2e4177cdebc3a7503c79e663fe4
tree0d6c91078109ad9f3ddee6548695c0a87f50267b
parentd6a397b7fa3e98a5b8aac22d917dfff48f0e130d
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]