Home
last modified time | relevance | path

Searched refs:mss_cache (Results 1 – 15 of 15) sorted by relevance

/linux/net/ipv4/
H A Dtcp_westwood.c191 w->accounted += tp->mss_cache; in westwood_acked_count()
192 w->cumul_ack = tp->mss_cache; in westwood_acked_count()
195 if (w->cumul_ack > tp->mss_cache) { in westwood_acked_count()
199 w->cumul_ack = tp->mss_cache; in westwood_acked_count()
214 * in packets we use mss_cache). Rttmin is guaranteed to be >= 2
222 return max_t(u32, (w->bw_est * w->rtt_min) / tp->mss_cache, 2); in tcp_westwood_bw_rttmin()
H A Dtcp_nv.c349 bytes_acked >= (ca->nv_min_cwnd - 1) * tp->mss_cache && in tcpnv_acked()
355 ca->nv_min_cwnd * tp->mss_cache; in tcpnv_acked()
367 80000ULL * tp->mss_cache); in tcpnv_acked()
H A Dtcp_input.c570 if (d_ceb > delta * tp->mss_cache) in __tcp_accecn_process()
573 safe_delta * tp->mss_cache >> TCP_ACCECN_SAFETY_SHIFT) in __tcp_accecn_process()
615 per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + in tcp_sndbuf_expand()
809 unsigned int hint = min_t(unsigned int, tp->advmss, tp->mss_cache); in tcp_initialize_rcv_mss()
1144 rate = (u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in tcp_update_pacing_rate()
1244 if (seq_len > tp->mss_cache) in tcp_dsack_seen()
1245 dup_segs = DIV_ROUND_UP(seq_len, tp->mss_cache); in tcp_dsack_seen()
1279 const u32 mss = tp->mss_cache; in tcp_check_sack_reordering()
3091 val = (u64)tcp_snd_cwnd(tp) * tcp_mss_to_mtu(sk, tp->mss_cache); in tcp_mtup_probe_success()
3718 (tp->snd_una - prior_snd_una) < tp->mss_cache in tcp_clean_rtx_queue()
[all...]
H A Dtcp_output.c985 * advertised. But we subtract them from tp->mss_cache so that in tcp_syn_options()
2068 tp->mss_cache is current effective sending mss, including
2076 NOTE2. inet_csk(sk)->icsk_pmtu_cookie and tp->mss_cache
2095 tp->mss_cache = mss_now; in tcp_sync_mss()
2112 mss_now = tp->mss_cache; in tcp_current_mss()
2122 /* The mss_cache is sized based on tp->tcp_header_len, which assumes in tcp_current_mss()
2485 cong_win = (tcp_snd_cwnd(tp) - in_flight) * tp->mss_cache; in tcp_tso_should_defer()
2490 if (limit >= max_segs * tp->mss_cache) in tcp_tso_should_defer()
2499 u32 chunk = min(tp->snd_wnd, tcp_snd_cwnd(tp) * tp->mss_cache); in tcp_tso_should_defer()
2513 if (limit > tcp_max_tso_deferred_mss(tp) * tp->mss_cache) in tcp_tso_should_defer()
[all...]
H A Dtcp.c395 rate64 = (u64)rate * tp->mss_cache * USEC_PER_SEC; in tcp_compute_delivery_rate()
459 tp->mss_cache = TCP_MSS_DEFAULT; in tcp_init_sock()
1104 tp->write_seq - tp->snd_nxt < tp->mss_cache && in tcp_rate_check_app_limited()
4281 info->tcpi_snd_mss = tp->mss_cache; in tcp_get_info()
4500 val = tp->mss_cache; in do_tcp_getsockopt()
5205 CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, tcp_sock_read_txrx, mss_cache); in tcp_struct_check()
/linux/tools/testing/selftests/bpf/progs/
H A Dtcp_ca_write_sk_pacing.c38 ((tp->snd_cwnd * tp->mss_cache * USEC_PER_SEC) << 3) / in BPF_PROG()
H A Dtest_sock_fields.c98 dst->mss_cache = src->mss_cache; in tpcpy()
H A Dbpf_cc_cubic.c44 rate = (__u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in div64_u64()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c680 c_tx->tcp_seglen = tp->mss_cache * tp->gso_segs; in siw_update_tcpseg()
683 tp->mss_cache * in siw_update_tcpseg()
686 c_tx->tcp_seglen = tp->mss_cache; in siw_update_tcpseg()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_fields.c93 tp->rcv_nxt, tp->snd_nxt, tp->snd_una, tp->mss_cache, in print_tp()
/linux/tools/include/uapi/linux/
H A Dbpf.h6498 __u32 mss_cache; /* Cached effective mss, not including SACKS */
6957 __u32 mss_cache;
6435 __u32 mss_cache; /* Cached effective mss, not including SACKS */ global() member
6892 __u32 mss_cache; global() member
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c
/linux/net/ipv6/
H A Dtcp_ipv6.c389 if (tcp_mtu_to_mss(sk, mtu) >= tcp_sk(sk)->mss_cache) in tcp_v6_mtu_reduced()
/linux/include/net/
H A Dtcp.h2675 "%scwn:%u out:%u sacked:%u lost:%u retrans:%u tlp_high_seq:%u sk_state:%u ca_state:%u advmss:%u mss_cache:%u pmtu:%u\n",
2682 tcp_sk(sk)->advmss, tcp_sk(sk)->mss_cache, in tcp_plb_init()
/linux/net/core/
H A Dfilter.c7505 case offsetof(struct bpf_tcp_sock, mss_cache): in BPF_CALL_1()
7506 BPF_TCP_SOCK_GET_COMMON(mss_cache); in BPF_CALL_1()
10985 case offsetof(struct bpf_sock_ops, mss_cache): in sock_ops_convert_ctx_access()
10986 SOCK_OPS_GET_TCP_SOCK_FIELD(mss_cache); in sock_ops_convert_ctx_access()