diff options
author | Eric Dumazet <edumazet@google.com> | 2018-09-21 08:51:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-21 19:37:59 -0700 |
commit | d3edd06ea8ea9e03de6567fda80b8be57e21a537 (patch) | |
tree | 090196833fede243080048ee8d143b3cc83fecd4 /kernel/watchdog.c | |
parent | tcp: add tcp_wstamp_ns socket field (diff) | |
download | linux-dev-d3edd06ea8ea9e03de6567fda80b8be57e21a537.tar.xz linux-dev-d3edd06ea8ea9e03de6567fda80b8be57e21a537.zip |
tcp: provide earliest departure time in skb->tstamp
Switch internal TCP skb->skb_mstamp to skb->skb_mstamp_ns,
from usec units to nsec units.
Do not clear skb->tstamp before entering IP stacks in TX,
so that qdisc or devices can implement pacing based on the
earliest departure time instead of socket sk->sk_pacing_rate
Packets are fed with tcp_wstamp_ns, and following patch
will update tcp_wstamp_ns when both TCP and sch_fq switch to
the earliest departure time mechanism.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions