]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: switch tcp_clock_ns() to CLOCK_TAI base
authorEric Dumazet <edumazet@google.com>
Fri, 21 Sep 2018 15:51:46 +0000 (08:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2018 02:37:59 +0000 (19:37 -0700)
commit2a10a8b75622f69bc12a08a1da07b9a4b47c9b5b
treed654b14a3f6b48816a2f3416f9632648e2de8fde
parent581b0f15cb6158132401f1dd006178da57c3e975
tcp: switch tcp_clock_ns() to CLOCK_TAI base

TCP pacing is either implemented in sch_fq or internally.
We have the goal of being able to offload pacing on the NICS.

TCP will soon provide per skb skb->tstamp as early departure time.

Like ETF in commit f37467d6ed91 ("net/sched: Introduce the ETF Qdisc")
we chose CLOCK_T as the clock base, so that TCP and pacers can share
a common clock, to get better RTT samples (without pacing artificially
inflating these samples).

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h