commit | c092dd5f4a7f4e4dbbcc8cf2e50b516bf07e432f | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Sep 21 08:51:53 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 21 19:38:00 2018 -0700 |
tree | 57974bfa7d3c72315774558f421ef9a4dec14e45 | |
parent | ab408b6dc7449c0f791e9e5f8de72fa7428584f2 [diff] |
tcp: switch tcp_internal_pacing() to tcp_wstamp_ns Now TCP keeps track of tcp_wstamp_ns, recording the earliest departure time of next packet, we can remove duplicate code from tcp_internal_pacing() This removes one ktime_get_tai_ns() call, and a divide. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>