Home
last modified time | relevance | path

Searched refs:mss_cache (Results 1 – 20 of 20) 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()
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_dctcp.c231 info->dctcp.dctcp_ab_ecn = tp->mss_cache *
233 info->dctcp.dctcp_ab_tot = tp->mss_cache * in dctcp_cwnd_undo()
H A Dtcp_rate.c199 tp->write_seq - tp->snd_nxt < tp->mss_cache && in tcp_rate_check_app_limited()
H A Dtcp_bbr.c246 unsigned int mss = tcp_sk(sk)->mss_cache; in bbr_rate_bytes_per_sec()
315 segs = max_t(u32, bytes / tp->mss_cache, bbr_min_tso_segs(sk)); in bbr_tso_segs_goal()
1116 bw = bw * tp->mss_cache * USEC_PER_SEC >> BW_SCALE; in bbr_get_info()
H A Dtcp_output.c1856 tp->mss_cache = mss_now; in tcp_sync_mss()
1874 mss_now = tp->mss_cache; in tcp_current_mss()
2246 cong_win = (tcp_snd_cwnd(tp) - in_flight) * tp->mss_cache; in tcp_tso_should_defer()
2251 if (limit >= max_segs * tp->mss_cache) in tcp_tso_should_defer()
2260 u32 chunk = min(tp->snd_wnd, tcp_snd_cwnd(tp) * tp->mss_cache); in tcp_tso_should_defer()
2274 if (limit > tcp_max_tso_deferred_mss(tp) * tp->mss_cache) in tcp_tso_should_defer()
2465 size_needed = probe_size + (tp->reordering + 1) * tp->mss_cache; in tcp_mtu_probe()
H A Dtcp_input.c437 per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + in tcp_sndbuf_expand()
631 unsigned int hint = min_t(unsigned int, tp->advmss, tp->mss_cache); in tcp_initialize_rcv_mss()
949 rate = (u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in tcp_update_pacing_rate()
1048 if (seq_len > tp->mss_cache) in tcp_dsack_seen()
1049 dup_segs = DIV_ROUND_UP(seq_len, tp->mss_cache); in tcp_dsack_seen()
1083 const u32 mss = tp->mss_cache; in tcp_check_sack_reordering()
2814 val = (u64)tcp_snd_cwnd(tp) * tcp_mss_to_mtu(sk, tp->mss_cache); in tcp_mtup_probe_success()
2998 tp->snd_una + tp->reordering * tp->mss_cache); in tcp_force_fast_retransmit()
3462 (tp->snd_una - prior_snd_una) < tp->mss_cache && in tcp_clean_rtx_queue()
3521 sample.in_flight = tp->mss_cache * in tcp_clean_rtx_queue()
H A Dtcp.c411 rate64 = (u64)rate * tp->mss_cache * USEC_PER_SEC; in tcp_compute_delivery_rate()
457 tp->mss_cache = TCP_MSS_DEFAULT; in tcp_init_sock()
4135 info->tcpi_snd_mss = tp->mss_cache; in tcp_get_info()
4329 val = tp->mss_cache; in do_tcp_getsockopt()
4987 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.c40 ((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.c53 rate = (__u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in tcp_update_pacing_rate()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c676 c_tx->tcp_seglen = tp->mss_cache * tp->gso_segs; in siw_update_tcpseg()
679 tp->mss_cache * in siw_update_tcpseg()
682 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/include/uapi/linux/
H A Dbpf.h6370 __u32 mss_cache; /* Cached effective mss, not including SACKS */ member
6813 __u32 mss_cache; member
/linux/tools/include/uapi/linux/
H A Dbpf.h6370 __u32 mss_cache; /* Cached effective mss, not including SACKS */ member
6813 __u32 mss_cache; member
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c192 FLOWC_PARAM(MSS, tp->mss_cache); in send_tx_flowc_wr()
H A Dchtls_cm.c153 tp->mss_cache = tp->rx_opt.mss_clamp; in assign_rxopt()
/linux/net/ipv6/
H A Dtcp_ipv6.c361 if (tcp_mtu_to_mss(sk, mtu) >= tcp_sk(sk)->mss_cache) in tcp_v6_mtu_reduced()
/linux/include/net/
H A Dtcp.h2460 tcp_sk(sk)->advmss, tcp_sk(sk)->mss_cache, in tcp_warn_once()
/linux/net/core/
H A Dfilter.c7200 case offsetof(struct bpf_tcp_sock, mss_cache): in bpf_tcp_sock_convert_ctx_access()
7201 BPF_TCP_SOCK_GET_COMMON(mss_cache); in bpf_tcp_sock_convert_ctx_access()
10664 case offsetof(struct bpf_sock_ops, mss_cache): in sock_ops_convert_ctx_access()
10665 SOCK_OPS_GET_TCP_SOCK_FIELD(mss_cache); in sock_ops_convert_ctx_access()