Home
last modified time | relevance | path

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

/Linux-v6.1/net/ipv4/
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()
222 return max_t(u32, (w->bw_est * w->rtt_min) / tp->mss_cache, 2); in tcp_westwood_bw_rttmin()
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()
Dtcp_dctcp.c199 info->dctcp.dctcp_ab_ecn = tp->mss_cache * in dctcp_get_info()
201 info->dctcp.dctcp_ab_tot = tp->mss_cache * in dctcp_get_info()
Dtcp_rate.c199 tp->write_seq - tp->snd_nxt < tp->mss_cache && in tcp_rate_check_app_limited()
Dtcp_bbr.c246 unsigned int mss = tcp_sk(sk)->mss_cache; in bbr_rate_bytes_per_sec()
314 segs = max_t(u32, bytes / tp->mss_cache, bbr_min_tso_segs(sk)); in bbr_tso_segs_goal()
1115 bw = bw * tp->mss_cache * USEC_PER_SEC >> BW_SCALE; in bbr_get_info()
Dtcp_output.c1811 tp->mss_cache = mss_now; in tcp_sync_mss()
1829 mss_now = tp->mss_cache; in tcp_current_mss()
2210 cong_win = (tcp_snd_cwnd(tp) - in_flight) * tp->mss_cache; in tcp_tso_should_defer()
2215 if (limit >= max_segs * tp->mss_cache) in tcp_tso_should_defer()
2224 u32 chunk = min(tp->snd_wnd, tcp_snd_cwnd(tp) * tp->mss_cache); in tcp_tso_should_defer()
2238 if (limit > tcp_max_tso_deferred_mss(tp) * tp->mss_cache) in tcp_tso_should_defer()
2365 size_needed = probe_size + (tp->reordering + 1) * tp->mss_cache; in tcp_mtu_probe()
Dtcp_input.c410 per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + in tcp_sndbuf_expand()
603 unsigned int hint = min_t(unsigned int, tp->advmss, tp->mss_cache); in tcp_initialize_rcv_mss()
902 rate = (u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in tcp_update_pacing_rate()
1001 if (seq_len > tp->mss_cache) in tcp_dsack_seen()
1002 dup_segs = DIV_ROUND_UP(seq_len, tp->mss_cache); in tcp_dsack_seen()
1036 const u32 mss = tp->mss_cache; in tcp_check_sack_reordering()
2729 val = (u64)tcp_snd_cwnd(tp) * tcp_mss_to_mtu(sk, tp->mss_cache); in tcp_mtup_probe_success()
2885 tp->snd_una + tp->reordering * tp->mss_cache); in tcp_force_fast_retransmit()
3354 (tp->snd_una - prior_snd_una) < tp->mss_cache && in tcp_clean_rtx_queue()
3413 sample.in_flight = tp->mss_cache * in tcp_clean_rtx_queue()
Dtcp.c401 rate64 = (u64)rate * tp->mss_cache * USEC_PER_SEC; in tcp_compute_delivery_rate()
444 tp->mss_cache = TCP_MSS_DEFAULT; in tcp_init_sock()
3889 info->tcpi_snd_mss = tp->mss_cache; in tcp_get_info()
4072 val = tp->mss_cache; in do_tcp_getsockopt()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtcp_ca_write_sk_pacing.c36 ((tp->snd_cwnd * tp->mss_cache * USEC_PER_SEC) << 3) / in BPF_PROG()
Dtest_sock_fields.c95 dst->mss_cache = src->mss_cache; in tpcpy()
/Linux-v6.1/drivers/infiniband/sw/siw/
Dsiw_qp_tx.c687 c_tx->tcp_seglen = tp->mss_cache * tp->gso_segs; in siw_update_tcpseg()
690 tp->mss_cache * in siw_update_tcpseg()
693 c_tx->tcp_seglen = tp->mss_cache; in siw_update_tcpseg()
/Linux-v6.1/include/linux/
Dtcp.h237 u32 mss_cache; /* Cached effective mss, not including SACKS */ member
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c93 tp->rcv_nxt, tp->snd_nxt, tp->snd_una, tp->mss_cache, in print_tp()
/Linux-v6.1/tools/include/uapi/linux/
Dbpf.h5987 __u32 mss_cache; /* Cached effective mss, not including SACKS */ member
6347 __u32 mss_cache; member
/Linux-v6.1/include/uapi/linux/
Dbpf.h5987 __u32 mss_cache; /* Cached effective mss, not including SACKS */ member
6347 __u32 mss_cache; member
/Linux-v6.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c192 FLOWC_PARAM(MSS, tp->mss_cache); in send_tx_flowc_wr()
Dchtls_cm.c153 tp->mss_cache = tp->rx_opt.mss_clamp; in assign_rxopt()
/Linux-v6.1/net/ipv6/
Dtcp_ipv6.c369 if (tcp_mtu_to_mss(sk, mtu) >= tcp_sk(sk)->mss_cache) in tcp_v6_mtu_reduced()
/Linux-v6.1/net/core/
Dfilter.c6857 case offsetof(struct bpf_tcp_sock, mss_cache): in bpf_tcp_sock_convert_ctx_access()
6858 BPF_TCP_SOCK_GET_COMMON(mss_cache); in bpf_tcp_sock_convert_ctx_access()
10308 case offsetof(struct bpf_sock_ops, mss_cache): in sock_ops_convert_ctx_access()
10309 SOCK_OPS_GET_TCP_SOCK_FIELD(mss_cache); in sock_ops_convert_ctx_access()