OSDN Git Service

net: hisilicon: fixes a bug when using ethtool -S
authorlipeng <lipeng321@huawei.com>
Thu, 15 Oct 2015 04:40:34 +0000 (12:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2015 13:01:41 +0000 (06:01 -0700)
commitadc9048c607a08320e87befc940955d6ffe51fac
tree0e3768d45d2f7bd46d177342ab94d6d0680c98be
parente109a69145c059cede79236c3d44080640f23472
net: hisilicon: fixes a bug when using ethtool -S

this patch fixes a bug in hns driver. when we want to get statistic info
by using ethtool -S, it shows us there are 3 wrong counters info. because
the strings related to the registers are wrong. it needs to modify the
strings which give us wrong info.

Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: yankejian <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c