Add TCP_NLA_SRTT to SCM_TIMESTAMPING_OPT_STATS that reports the smoothed
round trip time in microseconds (tcp_sock.srtt_us >> 3).
Signed-off-by: Yousuk Seung
Signed-off-by: Eric Dumazet
Acked-by: Soheil Hassas Yeganeh
Acked-by: Neal Cardwell
Acked-by: Yuchung Cheng
---
include/uapi
based time
q_netem: support delivering packets in delayed time slots
Yousuk Seung (1):
q_netem: slotting with non-uniform distribution
include/utils.h | 12 +
lib/utils.c | 104 +++
man/man8/tc-netem.8 | 40 ++-
tc/q_netem.c
, the CLOCK_TAI and CLOCK_REALTIME clocks.
Time related utility functions in tc_util.c are moved to lib/utils.c.
Signed-off-by: Yousuk Seung
Signed-off-by: Dave Taht
Signed-off-by: Neal Cardwell
---
include/utils.h | 12 ++
lib/utils.c
ochronous underlying rate, and 20ms path
delay:
tc qdisc add dev eth0 root handle 1: netem delay 20ms rate 200mbit \
limit 1
tc qdisc add dev eth0 parent 1:1 handle 10:1 netem delay 200us \
slot 800us 10ms bytes 64k packets 42 limit 512
Signed-off-by: Yousuk Seung
Signed-of
s bytes 64k packets 42
Signed-off-by: Yousuk Seung
Signed-off-by: Neal Cardwell
Signed-off-by: Dave Taht
---
man/man8/tc-netem.8 | 20
tc/q_netem.c| 77 +
2 files changed, 78 insertions(+), 19 deletions(-)
diff --git a/man/man8/t
based time
q_netem: support delivering packets in delayed time slots
Yousuk Seung (1):
q_netem: slotting with non-uniform distribution
man/man8/tc-netem.8 | 40 +++-
tc/q_netem.c| 112 +++-
tc/tc_core.h| 4 ++
tc/tc_util.c
s bytes 64k packets 42
Signed-off-by: Yousuk Seung
Signed-off-by: Neal Cardwell
Signed-off-by: Dave Taht
---
man/man8/tc-netem.8 | 20
tc/q_netem.c| 75 +
2 files changed, 76 insertions(+), 19 deletions(-)
diff --git a/man/man8/t
ochronous underlying rate, and 20ms path
delay:
tc qdisc add dev eth0 root handle 1: netem delay 20ms rate 200mbit \
limit 1
tc qdisc add dev eth0 parent 1:1 handle 10:1 netem delay 200us \
slot 800us 10ms bytes 64k packets 42 limit 512
Signed-off-by: Yousuk Seung
Signed-of
ws us to simulate
network diameters of several hundred light-years. However, only
conversions to and from ns, us, ms, and seconds are provided.
Signed-off-by: Yousuk Seung
Signed-off-by: Dave Taht
Signed-off-by: Neal Cardwell
---
tc/tc_core.h | 4
tc/tc_util.c
etem slot dist normal 800us 100us \
bytes 64k packets 42
Signed-off-by: Yousuk Seung
Acked-by: Eric Dumazet
Acked-by: Neal Cardwell
---
include/uapi/linux/pkt_sched.h | 3 ++
net/sched/sch_netem.c | 73 +++---
2 files changed, 52 insertions(+), 24 delet
Refactor tcp_ecn_check_ce and __tcp_ecn_check_ce to accept struct sock*
instead of tcp_sock* to clean up type casts. This is a pure refactor
patch.
Signed-off-by: Yousuk Seung
Signed-off-by: Neal Cardwell
Signed-off-by: Yuchung Cheng
Signed-off-by: Eric Dumazet
Acked-by: Soheil Hassas Yeganeh
Set tp->snd_ssthresh to BDP upon STARTUP exit. This allows us
to check if a BBR flow exited STARTUP and the BDP at the
time of STARTUP exit with SCM_TIMESTAMPING_OPT_STATS. Since BBR does not
use snd_ssthresh this fix has no impact on BBR's behavior.
Signed-off-by: Yousuk Seung
Signe
This patch adds TCP_NLA_SND_SSTHRESH stat into SCM_TIMESTAMPING_OPT_STATS
that reports tcp_sock.snd_ssthresh.
Signed-off-by: Yousuk Seung
Signed-off-by: Neal Cardwell
Signed-off-by: Priyaranjan Jha
Signed-off-by: Soheil Hassas Yeganeh
Signed-off-by: Yuchung Cheng
---
include/uapi/linux
reneging and entering TCP_CA_Loss, and unmarks it after
the last rate sample was taken before moving back to TCP_CA_Open. This
patch also invalidates rate samples taken while tcp_sock.is_sack_reneg
is set.
Fixes: b9f64820fb22 ("tcp: track data delivery rate for a TCP connection")
Signed-off-by
all amount of data is sent initially and the receiver partially acks
odd number of bytes for some reason, possibly malicious.
Signed-off-by: Yousuk Seung
Signed-off-by: Neal Cardwell
Signed-off-by: Soheil Hassas Yeganeh
Acked-by: Eric Dumazet
---
net/ipv4/tcp_output.c | 4 +++-
1 file changed
15 matches
Mail list logo