[PATCH net] tcp: skip DSACKs with dubious sequence ranges

2020-09-24 Thread Priyaranjan Jha
From: Priyaranjan Jha Currently, we use length of DSACKed range to compute number of delivered packets. And if sequence range in DSACK is corrupted, we can get bogus dsacked/acked count, and bogus cwnd. This patch put bounds on DSACKed range to skip update of data delivery and spurious

[PATCH linux-4.19.y 0/2] tcp_bbr: Improving TCP BBR performance for WiFi and cellular networks

2020-09-22 Thread Priyaranjan Jha
From: Priyaranjan Jha Ack aggregation is quite prevalent with wifi, cellular and cable modem link tchnologies, ACK decimation in middleboxes, and common offloading techniques such as TSO and GRO, at end hosts. Previously, BBR was often cwnd-limited in the presence of severe ACK aggregation

[PATCH linux-4.19.y 1/2] tcp_bbr: refactor bbr_target_cwnd() for general inflight provisioning

2020-09-22 Thread Priyaranjan Jha
From: Priyaranjan Jha commit 232aa8ec3ed979d4716891540c03a806ecab0c37 upstream. Because bbr_target_cwnd() is really a general-purpose BBR helper for computing some volume of inflight data as a function of the estimated BDP, refactor it into following helper functions: - bbr_bdp

[PATCH linux-4.19.y 2/2] tcp_bbr: adapt cwnd based on ack aggregation estimation

2020-09-22 Thread Priyaranjan Jha
From: Priyaranjan Jha commit 78dc70ebaa38aa303274e333be6c98eef87619e2 upstream. Aggregation effects are extremely common with wifi, cellular, and cable modem link technologies, ACK decimation in middleboxes, and LRO and GRO in receiving hosts. The aggregation can happen in either direction

[PATCH net-next 2/2] tcp_bbr: adapt cwnd based on ack aggregation estimation

2019-01-23 Thread Priyaranjan Jha
bandwidth increases for YouTube traffic. This is based on Ian Swett's max_ack_height_ algorithm from the QUIC BBR implementation. Signed-off-by: Priyaranjan Jha Signed-off-by: Neal Cardwell Signed-off-by: Yuchung Cheng --- include/net/inet_connection_sock.h | 4 +- net

[PATCH net-next 1/2] tcp_bbr: refactor bbr_target_cwnd() for general inflight provisioning

2019-01-23 Thread Priyaranjan Jha
Because bbr_target_cwnd() is really a general-purpose BBR helper for computing some volume of inflight data as a function of the estimated BDP, refactor it into following helper functions: - bbr_bdp() - bbr_quantization_budget() - bbr_inflight() Signed-off-by: Priyaranjan Jha Signed-off-by: Neal

[PATCH net-next 0/2] tcp_bbr: Improving TCP BBR performance for WiFi and cellular networks

2019-01-23 Thread Priyaranjan Jha
based on measured degree of ACK aggregation. Priyaranjan Jha (2): tcp_bbr: refactor bbr_target_cwnd() for general inflight provisioning tcp_bbr: adapt cwnd based on ack aggregation estimation include/net/inet_connection_sock.h | 4 +- net/ipv4/tcp_bbr.c | 180

[PATCH net-next 1/2] tcp: add send queue size stat in SCM_TIMESTAMPING_OPT_STATS

2018-03-04 Thread Priyaranjan Jha
This patch adds TCP_NLA_SENDQ_SIZE stat into SCM_TIMESTAMPING_OPT_STATS. It reports no. of bytes present in send queue, when timestamp is generated. Signed-off-by: Priyaranjan Jha Signed-off-by: Neal Cardwell Signed-off-by: Yuchung Cheng Signed-off-by: Soheil Hassas Yeganeh --- include/uapi

[PATCH net-next 2/2] tcp: add ca_state stat in SCM_TIMESTAMPING_OPT_STATS

2018-03-04 Thread Priyaranjan Jha
This patch adds TCP_NLA_CA_STATE stat into SCM_TIMESTAMPING_OPT_STATS. It reports ca_state of socket, when timestamp is generated. Signed-off-by: Priyaranjan Jha Signed-off-by: Neal Cardwell Signed-off-by: Yuchung Cheng Signed-off-by: Soheil Hassas Yeganeh --- include/uapi/linux/tcp.h | 1

[PATCH net] tcp: fix DSACK-based undo on non-duplicate ACK

2017-11-03 Thread Priyaranjan Jha
first two, but this ACK is lost. - The sender receives ack for first two, and DSACK for previous spurious rtx. Signed-off-by: Priyaranjan Jha Signed-off-by: Yuchung Cheng Signed-off-by: Neal Cardwell Acked-by: Yousuk Seung --- net/ipv4/tcp_input.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH net-next] tcp: higher throughput under reordering with adaptive RACK reordering wnd

2017-11-03 Thread Priyaranjan Jha
icant increase in throughput, in scenarios where reordering exceeds min_rtt/4 (previous static value). Signed-off-by: Priyaranjan Jha Signed-off-by: Yuchung Cheng Signed-off-by: Neal Cardwell --- Documentation/networking/ip-sysctl.txt | 1 + include/linux/tcp.h| 9 +-- in