commit | 8491000754796c838a0081c267f9dd54ad2ccba3 | [log] [tgz] |
---|---|---|
author | Jian Shen <shenjian15@huawei.com> | Fri Jan 05 18:18:16 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 08 14:06:18 2018 -0500 |
tree | f6014d0d71cbe8c29561a19a40065cdb6cfb19e4 | |
parent | b59f558c6a7ce8731035621f0b175b24ba443da1 [diff] |
net: hns3: Add packet statistics of netdev Add packet statistics of netdev for ethtool -S, in order to show the statistics data for current net device. Remove update_stats() calling because it has been completed in hns3_get_netdev_stats(). Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>