OSDN Git Service

net: hns3: don't update packet statistics for packets dropped by hardware
authorJian Shen <shenjian15@huawei.com>
Sat, 26 Jan 2019 16:49:10 +0000 (00:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jan 2019 17:33:30 +0000 (09:33 -0800)
commit217e288c9718b383d68cacec50e37ec2c085c485
tree341cb424728c3f856418a518d1c5bde2876b15fd
parent45e8fddd9b97a94e25a1644a853826e7e6fe8d7d
net: hns3: don't update packet statistics for packets dropped by hardware

Packet statistics for netdev should not include the packets dropped
by hardware.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c