Home
last modified time | relevance | path

Searched full:rtt (Results 1 – 25 of 127) sorted by relevance

123456

/linux/Documentation/devicetree/bindings/rtc/
H A Datmel,at91sam9260-rtt.yaml5 $id: http://devicetree.org/schemas/rtc/atmel,at91sam9260-rtt.yaml#
8 title: Atmel AT91 RTT
20 - const: atmel,at91sam9260-rtt
23 - microchip,sam9x60-rtt
24 - microchip,sam9x7-rtt
25 - microchip,sama7d65-rtt
26 - const: atmel,at91sam9260-rtt
28 - const: microchip,sama7g5-rtt
29 - const: microchip,sam9x60-rtt
30 - const: atmel,at91sam9260-rtt
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Dcake.json17 …th unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
38 …dwidth 1Kbit diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
59 …rate-ingress diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
67 "name": "Create CAKE with rtt time",
77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake rtt 200",
80 …th unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 200us raw overhead",
101 …h unlimited besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
122 …th unlimited diffserv8 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
143 …th unlimited diffserv4 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
164 …ndwidth unlimited diffserv3 flowblind nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
[all …]
/linux/net/ipv4/
H A Dtcp_westwood.c40 u32 rtt; member
41 u32 rtt_min; /* minimum observed RTT */
43 u8 reset_rtt_min; /* Reset RTT min to next RTT sample*/
59 * RTT period of the connection lifetime.
71 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init()
109 w->rtt = usecs_to_jiffies(sample->rtt_us); in tcp_westwood_pkts_acked()
114 * It updates RTT evaluation window if it is the right moment to do
132 * See if a RTT-window has passed. in westwood_update_window()
133 * Be careful since if RTT i in westwood_update_window()
[all...]
H A Dtcp_nv.c21 * due to the increased noise in RTT values. In particular, we have
41 * nv_rtt_factor RTT averaging factor
43 * nv_dec_eval_min_calls Wait this many RTT measurements before dec cwnd
44 * nv_inc_eval_min_calls Wait this many RTT measurements before inc cwnd
45 * nv_ssthresh_eval_min_calls Wait this many RTT measurements before stopping
53 * rate < 1 pkt/RTT (after losses). The other (nv_cwnd_growth_rate_pos)
86 * < 0 => less than 1 packet/RTT */
101 u32 nv_last_rtt; /* last rtt */
102 u32 nv_min_rtt; /* active min rtt. Used to determine slope */
103 u32 nv_min_rtt_new; /* min rtt fo
[all...]
H A Dtcp_illinois.c41 MODULE_PARM_DESC(theta, "# of fast RTT's before full growth");
45 u64 sum_rtt; /* sum of rtt's measured within last rtt */
46 u16 cnt_rtt; /* # of rtts measured within last rtt */
47 u32 base_rtt; /* min of all rtt in usec */
48 u32 max_rtt; /* max of all rtt in usec */
49 u32 end_seq; /* right edge of current RTT */
53 u8 rtt_above; /* average rtt has gone above threshold */
85 /* Measure RTT for each ack. */
93 /* dup ack, no rtt sample */ in tcp_illinois_acked()
101 /* keep track of minimum RTT seen so far */ in tcp_illinois_acked()
[all …]
H A Dtcp_cdg.c80 struct cdg_minmax rtt; member
145 ca->delay_min = min_not_zero(ca->delay_min, ca->rtt.min); in tcp_cdg_hystart_update()
178 if (ca->rtt.min > thresh) { in tcp_cdg_hystart_update()
192 s32 gmin = ca->rtt.min - ca->rtt_prev.min; in tcp_cdg_grad()
193 s32 gmax = ca->rtt.max - ca->rtt_prev.max; in tcp_cdg_grad()
272 if (after(ack, ca->rtt_seq) && ca->rtt.v64) { in tcp_cdg_cong_avoid()
278 ca->rtt_prev = ca->rtt; in tcp_cdg_cong_avoid()
279 ca->rtt.v64 = 0; in tcp_cdg_cong_avoid()
316 ca->rtt.min = min(ca->rtt in tcp_cdg_acked()
[all...]
H A Dtcp_metrics.c37 * Kernel only stores RTT and RTTVAR in usec resolution
347 unsigned long rtt; in tcp_update_metrics() local
357 /* This session failed to estimate rtt. Why? in tcp_update_metrics()
371 rtt = tcp_metric_get(tm, TCP_METRIC_RTT); in tcp_update_metrics()
372 m = rtt - tp->srtt_us; in tcp_update_metrics()
374 /* If newly calculated rtt larger than stored one, store new in tcp_update_metrics()
375 * one. Otherwise, use EWMA. Remember, rtt overestimation is in tcp_update_metrics()
380 rtt = tp->srtt_us; in tcp_update_metrics()
382 rtt -= (m >> 3); in tcp_update_metrics()
383 tcp_metric_set(tm, TCP_METRIC_RTT, rtt); in tcp_update_metrics()
[all...]
H A Dtcp_lp.c17 * OWD have a similar meaning as RTT. Also correct the buggy formular.
188 * difference directly. As this time difference just simply equal to RTT, when
189 * the network status is stable, remote RTT will equal to local RTT, and result
219 * @sk: socket to add a rtt sample to
220 * @rtt: round trip time, which is ignored!
229 static void tcp_lp_rtt_sample(struct sock *sk, u32 rtt) in tcp_lp_rtt_sample()
227 tcp_lp_rtt_sample(struct sock * sk,u32 rtt) tcp_lp_rtt_sample() argument
H A Dtcp_htcp.c20 MODULE_PARM_DESC(use_rtt_scaling, "turn on/off RTT scaling");
87 /* keep track of minimum RTT seen so far, minRTT is zero at first */ in measure_rtt()
91 /* max RTT */ in measure_rtt()
200 * After we have the rtt data to calculate beta, we'd still prefer to wait one
201 * rtt before we adjust our beta to ensure we are working from a consistent
/linux/Documentation/netlink/specs/
H A Dtcp_metrics.yaml89 are off-by one (e.g. rtt is defined as enum 0, while netlink carries
93 name: rtt
96 Round Trip Time (RTT), in msecs with 3 bits fractional
102 Round Trip Time VARiance (RTT), in msecs with 2 bits fractional
117 name: rtt-us
120 Round Trip Time (RTT), in usecs, with 3 bits fractional
126 Round Trip Time (RTT), in usecs, with 2 bits fractional
/linux/fs/afs/
H A Dvl_probe.c21 server->rtt = UINT_MAX; in afs_finished_vl_probe()
120 if (rtt_us < server->probe.rtt) { in afs_vlserver_probe_result()
121 server->probe.rtt = rtt_us; in afs_vlserver_probe_result()
122 server->rtt = rtt_us; in afs_vlserver_probe_result()
126 smp_wmb(); /* Set rtt before responded. */ in afs_vlserver_probe_result()
135 _debug("probe [%u][%u] %pISpc rtt=%d ret=%d", in afs_vlserver_probe_result()
169 server->probe.rtt = UINT_MAX; in afs_do_probe_vlserver()
233 unsigned int rtt = UINT_MAX, rtt_s; in afs_wait_for_vl_probes() local
289 rtt_s = READ_ONCE(server->rtt); in afs_wait_for_vl_probes()
291 rtt_s < rtt) { in afs_wait_for_vl_probes()
[all …]
H A Dfs_probe.c86 server->rtt = UINT_MAX; in afs_finished_fs_probe()
212 if (rtt_us < estate->rtt) { in afs_fileserver_probe_result()
213 estate->rtt = rtt_us; in afs_fileserver_probe_result()
214 server->rtt = rtt_us; in afs_fileserver_probe_result()
218 smp_wmb(); /* Set rtt before responded. */ in afs_fileserver_probe_result()
226 _debug("probe[%x] %pU [%u] %pISpc rtt=%d ret=%d", in afs_fileserver_probe_result()
253 estate->rtt = UINT_MAX; in afs_fs_probe_fileserver()
/linux/net/sunrpc/
H A Dtimer.c12 * This RTT estimator is used only for RPC over datagram protocols.
30 * rpc_init_rtt - Initialize an RPC RTT estimator context
53 * rpc_update_rtt - Update an RPC RTT estimator context
56 * @m: recent actual RTT, in jiffies
58 * NB: When computing the smoothed RTT and standard deviation,
98 * the mean and mean deviation of RTT for the appropriate type of RPC
/linux/drivers/rtc/
H A Drtc-at91sam9.c3 * "RTT as Real Time Clock" driver for AT91SAM9 SoC family
30 * - A "Real-time Timer" (RTT) counts up in seconds from a base time.
38 * The RTC's value is the RTT counter plus that offset. The RTC's alarm
69 void __iomem *rtt; member
82 readl((rtc)->rtt + AT91_RTT_ ## field)
84 writel((val), (rtc)->rtt + AT91_RTT_ ## field)
360 rtc->rtt = devm_platform_ioremap_resource(pdev, 0); in at91_rtc_probe()
361 if (IS_ERR(rtc->rtt)) in at91_rtc_probe()
362 return PTR_ERR(rtc->rtt); in at91_rtc_probe()
365 "atmel,rtt-rtc-time-reg", 1, 0, in at91_rtc_probe()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c54 static const __u32 cube_rtt_scale = (bic_scale * 10); /* 1024*c/rtt */
57 /* calculate the "K" for (wmax-cwnd) = c/rtt * K^3
58 * so K = cubic_root( (wmax-cwnd)*rtt/c )
62 * rtt = 100ms
66 * RTT < 100 seconds
93 __u32 curr_rtt; /* the minimum rtt of current round */
316 /* calculate c * time^3 / rtt, in bictcp_update()
324 * rtt = (srtt >> 3) / HZ in bictcp_update()
340 /* c/rtt * (t-K)^3 */ in bictcp_update()
359 ca->cnt = 20; /* increase cwnd 5% per RTT */ in bictcp_update()
[all …]
/linux/net/dccp/ccids/
H A Dccid3.c
H A Dccid2.h
/linux/samples/bpf/
H A Dhbm_kern.h75 int rtt; member
95 pkti->rtt = tp->srtt_us >> 3; in get_tcp_info()
103 pkti->rtt = 0; in get_tcp_info()
115 pkti->rtt = 0; in hbm_get_pkt_info()
192 if (pkti->rtt) in hbm_update_stats()
194 pkti->rtt); in hbm_update_stats()
/linux/Documentation/driver-api/nvdimm/
H A Dbtt.rst169 d. In-memory data structure: Read Tracking Table (RTT)
181 incorrect data. To prevent this, we introduce the RTT.
183 The RTT is a simple, per arena table with 'nfree' entries. Every reader inserts
184 into rtt[lane_number], the postmap ABA it is reading, and clears it after the
186 RTT for its presence. If the postmap free block is in the RTT, it waits till the
187 reader clears the RTT entry, and only then starts writing to it.
231 4. Enter post-map ABA into RTT[lane]
235 8. Remove post-map ABA entry from RTT[lane]
244 4. Scan the RTT to check if free block is present, and spin/wait if it is.
/linux/net/sctp/
H A Dtransport.c54 * C1) Until an RTT measurement has been made for a packet sent to the in sctp_transport_init()
480 /* Update transport's RTO based on the newly calculated RTT. */
481 void sctp_transport_update_rto(struct sctp_transport *tp, __u32 rtt) in sctp_transport_update_rto() argument
490 /* 6.3.1 C3) When a new RTT measurement R' is made, set in sctp_transport_update_rto()
504 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> rto_beta); in sctp_transport_update_rto()
508 + (rtt >> rto_alpha); in sctp_transport_update_rto()
510 /* 6.3.1 C2) When the first RTT measurement R is made, set in sctp_transport_update_rto()
513 tp->srtt = rtt; in sctp_transport_update_rto()
514 tp->rttvar = rtt >> 1; in sctp_transport_update_rto()
539 tp->rtt = rtt; in sctp_transport_update_rto()
[all …]
/linux/net/rxrpc/
H A Dinput_rack.c69 ktime_t rtt = ktime_sub(call->acks_latest_ts, xmit_ts); in rxrpc_rack_update() local
78 if (rtt < minmax_get(&call->min_rtt)) in rxrpc_rack_update()
84 * matter for is that RACK.rtt is set to the rtt of the most recently in rxrpc_rack_update()
86 * setting RACK.rtt if the xmit time is greater. in rxrpc_rack_update()
89 call->rack_rtt = rtt; in rxrpc_rack_update()
94 call->rack_rtt = rtt; in rxrpc_rack_update()
322 * have taken a new RTT sample since last probe or the start of in rxrpc_tlp_send_probe()
H A Dsendmsg.c129 * a timeout of 2*RTT if no progress was made and a signal occurred.
135 signed long rtt, timeout; in rxrpc_wait_for_tx_window_waitall() local
137 rtt = READ_ONCE(call->srtt_us) >> 3; in rxrpc_wait_for_tx_window_waitall()
138 rtt = usecs_to_jiffies(rtt) * 2; in rxrpc_wait_for_tx_window_waitall()
139 if (rtt < 2) in rxrpc_wait_for_tx_window_waitall()
140 rtt = 2; in rxrpc_wait_for_tx_window_waitall()
142 timeout = rtt; in rxrpc_wait_for_tx_window_waitall()
159 timeout = rtt; in rxrpc_wait_for_tx_window_waitall()
/linux/tools/testing/selftests/bpf/
H A Dxdping.c45 printf("\nXDP RTT data:\n"); in get_stats()
217 * 10. The reason the last "real" ping RTT is much higher is that in main()
237 printf("\nNormal ping RTT data\n"); in main()
238 printf("[Ignore final RTT; it is distorted by XDP using the reply]\n"); in main()
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_rtt.c27 * RTT (Radio Retention Table) hardware implementation information
29 * There is an internal table (i.e. the rtt) for each chain (or bank).
115 "Load RTT value at idx %d, chain %d: 0x%x\n", in ar9003_hw_rtt_load_hist()
183 "RTT value at idx %d, chain %d is: 0x%x\n", in ar9003_hw_rtt_fill_hist()
/linux/include/linux/
H A Dtfrc.h

123456