OSDN Git Service

net: hns: modify ethtool statistics value error
authorQianqian Xie <xieqianqian@huawei.com>
Wed, 9 Nov 2016 18:13:51 +0000 (18:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2016 16:45:37 +0000 (11:45 -0500)
commit28b3012400ad349ad633187c7e6e37352a22dd6e
tree717cf5251f58a5adae85aef7bdb88b3dead6336f
parentf165e03b94e80be95d6f2cc21526c81906563046
net: hns: modify ethtool statistics value error

This patch modify the gmac_rx_filt_pkt and gmac_rx_octets_total_filt
statistics value. The two statistics is inconsistent with register,
and just the opposite.

Signed-off-by: Qianqian Xie <xieqianqian@huawei.com>
Signed-off-by: Jun He <hjat2005@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c