Home
last modified time | relevance | path

Searched refs:rtt_us (Results 1 – 22 of 22) sorted by relevance

/linux/net/rxrpc/
A Drtt.c130 static void rxrpc_ack_update_rtt(struct rxrpc_peer *peer, long rtt_us) in rxrpc_ack_update_rtt() argument
132 if (rtt_us < 0) in rxrpc_ack_update_rtt()
136 rxrpc_rtt_estimator(peer, rtt_us); in rxrpc_ack_update_rtt()
153 s64 rtt_us; in rxrpc_peer_add_rtt() local
155 rtt_us = ktime_to_us(ktime_sub(resp_time, send_time)); in rxrpc_peer_add_rtt()
156 if (rtt_us < 0) in rxrpc_peer_add_rtt()
160 rxrpc_ack_update_rtt(peer, rtt_us); in rxrpc_peer_add_rtt()
/linux/net/ipv4/
A Dtcp_illinois.c89 s32 rtt_us = sample->rtt_us; in tcp_illinois_acked() local
94 if (rtt_us < 0) in tcp_illinois_acked()
98 if (rtt_us > RTT_MAX) in tcp_illinois_acked()
99 rtt_us = RTT_MAX; in tcp_illinois_acked()
102 if (ca->base_rtt > rtt_us) in tcp_illinois_acked()
103 ca->base_rtt = rtt_us; in tcp_illinois_acked()
106 if (ca->max_rtt < rtt_us) in tcp_illinois_acked()
107 ca->max_rtt = rtt_us; in tcp_illinois_acked()
110 ca->sum_rtt += rtt_us; in tcp_illinois_acked()
A Dtcp_recovery.c38 return tp->rack.rtt_us + reo_wnd - in tcp_rack_skb_timeout()
125 u32 rtt_us; in tcp_rack_advance() local
127 rtt_us = tcp_stamp_us_delta(tp->tcp_mstamp, xmit_time); in tcp_rack_advance()
128 if (rtt_us < tcp_min_rtt(tp) && (sacked & TCPCB_RETRANS)) { in tcp_rack_advance()
142 tp->rack.rtt_us = rtt_us; in tcp_rack_advance()
A Dtcp_nv.c251 if (sample->rtt_us < 0) in tcpnv_acked()
274 avg_rtt = (((u64)sample->rtt_us) * nv_rtt_factor + in tcpnv_acked()
278 avg_rtt = sample->rtt_us; in tcpnv_acked()
283 avg_rtt = sample->rtt_us; in tcpnv_acked()
A Dtcp_cdg.c304 if (sample->rtt_us <= 0) in tcp_cdg_acked()
316 ca->rtt.min = min(ca->rtt.min, sample->rtt_us); in tcp_cdg_acked()
324 ca->rtt.min = min_not_zero(ca->rtt.min, sample->rtt_us); in tcp_cdg_acked()
325 ca->rtt.max = max(ca->rtt.max, sample->rtt_us); in tcp_cdg_acked()
A Dtcp_veno.c79 if (sample->rtt_us < 0) in tcp_veno_pkts_acked()
83 vrtt = sample->rtt_us + 1; in tcp_veno_pkts_acked()
A Dtcp_bbr.c271 u32 rtt_us; in bbr_init_pacing_rate_from_rtt() local
274 rtt_us = max(tp->srtt_us >> 3, 1U); in bbr_init_pacing_rate_from_rtt()
277 rtt_us = USEC_PER_MSEC; /* use nominal default RTT */ in bbr_init_pacing_rate_from_rtt()
280 do_div(bw, rtt_us); in bbr_init_pacing_rate_from_rtt()
949 if (rs->rtt_us >= 0 && in bbr_update_min_rtt()
950 (rs->rtt_us < bbr->min_rtt_us || in bbr_update_min_rtt()
952 bbr->min_rtt_us = rs->rtt_us; in bbr_update_min_rtt()
A Dtcp_vegas.c116 if (sample->rtt_us < 0) in tcp_vegas_pkts_acked()
120 vrtt = sample->rtt_us + 1; in tcp_vegas_pkts_acked()
A Dtcp_lp.c278 if (sample->rtt_us > 0) in tcp_lp_pkts_acked()
279 tcp_lp_rtt_sample(sk, sample->rtt_us); in tcp_lp_pkts_acked()
A Dtcp_westwood.c108 if (sample->rtt_us > 0) in tcp_westwood_pkts_acked()
109 w->rtt = usecs_to_jiffies(sample->rtt_us); in tcp_westwood_pkts_acked()
A Dtcp_htcp.c112 if (sample->rtt_us > 0) in measure_achieved_throughput()
113 measure_rtt(sk, usecs_to_jiffies(sample->rtt_us)); in measure_achieved_throughput()
A Dtcp_cubic.c455 if (sample->rtt_us < 0) in cubictcp_acked()
462 delay = sample->rtt_us; in cubictcp_acked()
A Dtcp_input.c625 u32 new_sample = tp->rcv_rtt_est.rtt_us; in tcp_rcv_rtt_update()
652 tp->rcv_rtt_est.rtt_us = new_sample; in tcp_rcv_rtt_update()
710 if (time < (tp->rcv_rtt_est.rtt_us >> 3) || tp->rcv_rtt_est.rtt_us == 0) in tcp_rcv_space_adjust()
3055 if ((flag & FLAG_ACK_MAYBE_DELAYED) && rtt_us > tcp_min_rtt(tp)) { in tcp_update_rtt_min()
3063 rtt_us ? : jiffies_to_usecs(1)); in tcp_update_rtt_min()
3097 rs->rtt_us = ca_rtt_us; /* RTT of last (S)ACKed packet (or -1) */ in tcp_ack_update_rtt()
3118 long rtt_us = -1L; in tcp_synack_rtt_meas() local
3121 rtt_us = tcp_stamp_us_delta(tcp_clock_us(), tcp_rsk(req)->snt_synack); in tcp_synack_rtt_meas()
3123 tcp_ack_update_rtt(sk, FLAG_SYN_ACKED, rtt_us, -1L, rtt_us, &rs); in tcp_synack_rtt_meas()
3390 .rtt_us = sack->rate->rtt_us }; in tcp_clean_rtx_queue()
[all …]
A Dtcp.c3765 info->tcpi_rcv_rtt = tp->rcv_rtt_est.rtt_us >> 3; in tcp_get_info()
/linux/fs/afs/
A Dvl_probe.c52 unsigned int rtt_us = 0; in afs_vlserver_probe_result() local
118 if (rxrpc_kernel_get_srtt(call->net->socket, call->rxcall, &rtt_us) && in afs_vlserver_probe_result()
119 rtt_us < server->probe.rtt) { in afs_vlserver_probe_result()
120 server->probe.rtt = rtt_us; in afs_vlserver_probe_result()
121 server->rtt = rtt_us; in afs_vlserver_probe_result()
134 server_index, index, &alist->addrs[index].transport, rtt_us, ret); in afs_vlserver_probe_result()
A Dfs_probe.c106 unsigned int rtt_us = 0, cap0; in afs_fileserver_probe_result() local
170 if (rxrpc_kernel_get_srtt(call->net->socket, call->rxcall, &rtt_us) && in afs_fileserver_probe_result()
171 rtt_us < server->probe.rtt) { in afs_fileserver_probe_result()
172 server->probe.rtt = rtt_us; in afs_fileserver_probe_result()
173 server->rtt = rtt_us; in afs_fileserver_probe_result()
186 rtt_us, ret); in afs_fileserver_probe_result()
/linux/tools/testing/selftests/bpf/
A Dbpf_tcp_helpers.h131 __s32 rtt_us; member
142 long rtt_us; /* RTT of last (S)ACKed packet (or -1) */ member
/linux/net/mptcp/
A Dprotocol.c1816 u64 rtt_us, mstamp; in mptcp_rcv_space_adjust() local
1828 rtt_us = msk->rcvq_space.rtt_us; in mptcp_rcv_space_adjust()
1829 if (rtt_us && time < (rtt_us >> 3)) in mptcp_rcv_space_adjust()
1832 rtt_us = 0; in mptcp_rcv_space_adjust()
1840 sf_rtt_us = READ_ONCE(tp->rcv_rtt_est.rtt_us); in mptcp_rcv_space_adjust()
1843 rtt_us = max(sf_rtt_us, rtt_us); in mptcp_rcv_space_adjust()
1847 msk->rcvq_space.rtt_us = rtt_us; in mptcp_rcv_space_adjust()
1848 if (time < (rtt_us >> 3) || rtt_us == 0) in mptcp_rcv_space_adjust()
2838 msk->rcvq_space.rtt_us = 0; in mptcp_rcv_space_init()
A Dprotocol.h268 u64 rtt_us; /* last maximum rtt of subflows */ member
/linux/include/linux/
A Dtcp.h215 u32 rtt_us; /* Associated RTT */ member
373 u32 rtt_us; member
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_cubic.c501 if (sample->rtt_us < 0) in BPF_STRUCT_OPS()
508 delay = sample->rtt_us; in BPF_STRUCT_OPS()
/linux/include/net/
A Dtcp.h1020 s32 rtt_us; member
1041 long rtt_us; /* RTT of last (S)ACKed packet (or -1) */ member

Completed in 58 milliseconds