commit | a95e1f8666e910f43f47b5b1bec2cdf25f513f74 | [log] [tgz] |
---|---|---|
author | Fuyun Liang <liangfuyun1@huawei.com> | Wed Mar 21 15:49:26 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 22 13:12:02 2018 -0400 |
tree | 50155258c8510a2f0d0e94eedafcac7f799af457 | |
parent | cd9d187b07c23df4925c3a47e06367315ba794ca [diff] |
net: hns3: change the time interval of int_gl calculating Since we change the update rate of int_gl from every interrupt to every one hundred interrupts, the old way to get time interval by int_gl value is not accurate. This patch calculates the time interval using the jiffies value. Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>