Home
last modified time | relevance | path

Searched refs:pmtu (Results 1 – 25 of 47) sorted by relevance

12

/linux/net/sctp/
A Dtransport.c360 __func__, t, t->pl.state, t->pl.pmtu, t->pl.probe_size, pmtu); in sctp_transport_pl_toobig()
362 if (pmtu < SCTP_MIN_PLPMTU || pmtu >= t->pl.probe_size) in sctp_transport_pl_toobig()
366 if (pmtu >= SCTP_MIN_PLPMTU && pmtu < SCTP_BASE_PLPMTU) { in sctp_transport_pl_toobig()
374 if (pmtu >= SCTP_BASE_PLPMTU && pmtu < t->pl.pmtu) { in sctp_transport_pl_toobig()
383 } else if (pmtu > t->pl.pmtu && pmtu < t->pl.probe_size) { in sctp_transport_pl_toobig()
388 if (pmtu >= SCTP_BASE_PLPMTU && pmtu < t->pl.pmtu) { in sctp_transport_pl_toobig()
415 pmtu = SCTP_TRUNC4(pmtu); in sctp_transport_update_pmtu()
443 t->pathmtu = pmtu; in sctp_transport_update_pmtu()
602 if (bytes_acked > pmtu) in sctp_transport_raise_cwnd()
603 cwnd += pmtu; in sctp_transport_raise_cwnd()
[all …]
A Doutput.c785 size_t psize, pmtu, maxsize; in sctp_packet_will_fit() local
799 pmtu = packet->transport->asoc->pathmtu; in sctp_packet_will_fit()
801 pmtu = packet->transport->pathmtu; in sctp_packet_will_fit()
804 if (psize + chunk_len > pmtu) { in sctp_packet_will_fit()
827 maxsize = pmtu - packet->overhead; in sctp_packet_will_fit()
A Dassociola.c1415 void sctp_assoc_set_pmtu(struct sctp_association *asoc, __u32 pmtu) in sctp_assoc_set_pmtu() argument
1417 if (asoc->pathmtu != pmtu) { in sctp_assoc_set_pmtu()
1418 asoc->pathmtu = pmtu; in sctp_assoc_set_pmtu()
1432 __u32 pmtu = 0; in sctp_assoc_sync_pmtu() local
1444 if (!pmtu || (t->pathmtu < pmtu)) in sctp_assoc_sync_pmtu()
1445 pmtu = t->pathmtu; in sctp_assoc_sync_pmtu()
1448 sctp_assoc_set_pmtu(asoc, pmtu); in sctp_assoc_sync_pmtu()
A Dinput.c386 struct sctp_transport *t, __u32 pmtu) in sctp_icmp_frag_needed() argument
389 (t->pathmtu <= pmtu && in sctp_icmp_frag_needed()
390 t->pl.probe_size + sctp_transport_pl_hlen(t) <= pmtu)) in sctp_icmp_frag_needed()
394 atomic_set(&t->mtu_info, pmtu); in sctp_icmp_frag_needed()
411 if (!sctp_transport_update_pmtu(t, pmtu)) in sctp_icmp_frag_needed()
/linux/drivers/infiniband/hw/qib/
A Dqib_uc.c57 u32 pmtu = qp->pmtu; in qib_make_uc_req() local
108 if (len > pmtu) { in qib_make_uc_req()
110 len = pmtu; in qib_make_uc_req()
137 if (len > pmtu) { in qib_make_uc_req()
139 len = pmtu; in qib_make_uc_req()
168 if (len > pmtu) { in qib_make_uc_req()
169 len = pmtu; in qib_make_uc_req()
192 if (len > pmtu) { in qib_make_uc_req()
193 len = pmtu; in qib_make_uc_req()
247 u32 pmtu = qp->pmtu; in qib_uc_rcv() local
[all …]
A Dqib_rc.c125 if (len > pmtu) { in qib_make_rc_ack()
126 len = pmtu; in qib_make_rc_ack()
159 if (len > pmtu) in qib_make_rc_ack()
160 len = pmtu; in qib_make_rc_ack()
227 u32 pmtu = qp->pmtu; in qib_make_rc_req() local
321 len = pmtu; in qib_make_rc_req()
356 len = pmtu; in qib_make_rc_req()
484 len = pmtu; in qib_make_rc_req()
523 len = pmtu; in qib_make_rc_req()
1599 qp->pmtu; in qib_rc_rcv_error()
[all …]
A Dqib_qp.c294 int mtu, pmtu, pidx = qp->port_num - 1; in qib_get_pmtu_from_attr() local
303 pmtu = mtu_to_enum(dd->pport[pidx].ibmtu); in qib_get_pmtu_from_attr()
305 pmtu = attr->path_mtu; in qib_get_pmtu_from_attr()
306 return pmtu; in qib_get_pmtu_from_attr()
314 u32 qib_mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) in qib_mtu_from_qp() argument
316 return ib_mtu_enum_to_int(pmtu); in qib_mtu_from_qp()
395 if (wqe->length > qp->pmtu) in qib_check_send_wqe()
/linux/drivers/infiniband/hw/hfi1/
A Duc.c30 u32 pmtu = qp->pmtu; in hfi1_make_uc_req() local
121 if (len > pmtu) { in hfi1_make_uc_req()
123 len = pmtu; in hfi1_make_uc_req()
150 if (len > pmtu) { in hfi1_make_uc_req()
152 len = pmtu; in hfi1_make_uc_req()
181 if (len > pmtu) { in hfi1_make_uc_req()
182 len = pmtu; in hfi1_make_uc_req()
206 if (len > pmtu) { in hfi1_make_uc_req()
207 len = pmtu; in hfi1_make_uc_req()
271 u32 pmtu = qp->pmtu; in hfi1_uc_rcv() local
[all …]
A Drc.c77 u32 pmtu = qp->pmtu; in make_rc_ack() local
162 len = pmtu; in make_rc_ack()
235 if (len > pmtu) { in make_rc_ack()
236 len = pmtu; in make_rc_ack()
402 u32 pmtu = qp->pmtu; in hfi1_make_rc_req() local
561 len = pmtu; in hfi1_make_rc_req()
603 len = pmtu; in hfi1_make_rc_req()
916 len = pmtu; in hfi1_make_rc_req()
961 len = pmtu; in hfi1_make_rc_req()
2317 u32 pmtu = qp->pmtu; in rc_rcv_resp() local
[all …]
A Drc.h36 u32 psn, u32 pmtu) in restart_sge() argument
40 len = delta_psn(psn, wqe->psn) * pmtu; in restart_sge()
A Dopfn.c257 if (qp->pmtu == enum_to_mtu(OPA_MTU_4096) || in opfn_qp_init()
258 qp->pmtu == enum_to_mtu(OPA_MTU_8192)) { in opfn_qp_init()
A Dqp.h103 u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu);
A Dqp.c277 if (wqe->length > qp->pmtu) in hfi1_setup_wqe()
644 qp->pmtu, in qp_iter_print()
799 u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) in mtu_from_qp() argument
815 mtu = verbs_mtu_enum_to_int(qp->ibqp.device, pmtu); in mtu_from_qp()
A Dtid_rdma.c1192 if (flow->req->qp->pmtu == enum_to_mtu(OPA_MTU_4096)) in kern_get_phys_blocks()
1308 u32 pmtu_pg = flow->req->qp->pmtu >> PAGE_SHIFT; in kern_program_rcv_group()
1830 qp->pmtu); in hfi1_build_tid_rdma_read_req()
2497 u32 pmtu = qp->pmtu; in hfi1_rc_rcv_tid_rdma_read_resp() local
2501 len = restart_sge(&ss, req->e.swqe, ipsn, pmtu); in hfi1_rc_rcv_tid_rdma_read_resp()
2502 if (unlikely(len < pmtu)) in hfi1_rc_rcv_tid_rdma_read_resp()
3099 npkts * qp->pmtu); in hfi1_tid_rdma_restart_req()
3100 flow->tid_offset += npkts * qp->pmtu; in hfi1_tid_rdma_restart_req()
4318 u32 pmtu = qp->pmtu; in hfi1_rc_rcv_tid_rdma_write_data() local
4325 pmtu; in hfi1_rc_rcv_tid_rdma_write_data()
[all …]
/linux/tools/testing/selftests/net/
A Dpmtu.sh1101 pmtu="$(route_get_dst_pmtu_from_exception "${ns_a}" ${dst})"
1183 pmtu="$(route_get_dst_pmtu_from_exception "${ns_c}" ${dst})"
1185 pmtu="$(route_get_dst_pmtu_from_exception "${ns_a}" ${dst})"
1272 pmtu="$(route_get_dst_pmtu_from_exception "${ns_c}" ${dst})"
1352 pmtu="$(route_get_dst_pmtu_from_exception "${ns_a}" ${dst})"
1426 pmtu="$(route_get_dst_pmtu_from_exception "${ns_a}" ${dst})"
1466 pmtu="$(route_get_dst_pmtu_from_exception "${ns_a}" ${tunnel4_b_addr})"
1496 check_pmtu_value "3000" "${pmtu}" "decreasing tunnel MTU" || fail=1
1501 check_pmtu_value "9000" "${pmtu}" "increasing tunnel MTU" || fail=1
1556 check_pmtu_value "3000" "${pmtu}" "decreasing tunnel MTU" || fail=1
[all …]
A DMakefile9 TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh udpgso.sh ip_defrag.sh
/linux/include/net/sctp/
A Dsctp.h150 struct sctp_transport *t, __u32 pmtu);
611 __u32 pmtu = sctp_dst_mtu(t->dst); in sctp_transport_pmtu_check() local
613 if (t->pathmtu == pmtu) in sctp_transport_pmtu_check()
616 t->pathmtu = pmtu; in sctp_transport_pmtu_check()
638 t->pl.pmtu = SCTP_BASE_PLPMTU; in sctp_transport_pl_reset()
657 t->pl.pmtu = SCTP_BASE_PLPMTU; in sctp_transport_pl_update()
A Dstructs.h988 __u16 pmtu; member
1024 bool sctp_transport_update_pmtu(struct sctp_transport *t, u32 pmtu);
2165 void sctp_assoc_set_pmtu(struct sctp_association *asoc, __u32 pmtu);
/linux/drivers/scsi/qedi/
A Dqedi_iscsi.c492 mss = pmtu - hdrs; in qedi_calc_mss()
567 conn_info->mss = qedi_calc_mss(qedi_ep->pmtu, in qedi_iscsi_offload_conn()
963 path_req.pmtu = qedi->ll2_mtu; in qedi_ep_connect()
964 qedi_ep->pmtu = qedi->ll2_mtu; in qedi_ep_connect()
1319 if (path_data->pmtu < DEF_PATH_MTU) { in qedi_set_path()
1320 qedi_ep->pmtu = qedi->ll2_mtu; in qedi_set_path()
1323 path_data->pmtu, qedi_ep->pmtu); in qedi_set_path()
1326 if (path_data->pmtu != qedi->ll2_mtu) { in qedi_set_path()
1327 if (path_data->pmtu > JUMBO_MTU) { in qedi_set_path()
1333 qedi_reset_host_mtu(qedi, path_data->pmtu); in qedi_set_path()
[all …]
A Dqedi_iscsi.h71 u16 pmtu; member
/linux/net/dccp/
A Doutput.c161 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) in dccp_sync_mss() argument
166 u32 cur_mps = ccmps ? min(pmtu, ccmps) : pmtu; in dccp_sync_mss()
189 icsk->icsk_pmtu_cookie = pmtu; in dccp_sync_mss()
/linux/include/net/
A Dip6_tunnel.h145 struct flowi6 *fl6, int encap_limit, __u32 *pmtu, __u8 proto);
/linux/include/rdma/
A Drdmavt_qp.h350 u16 pmtu; /* decoded from path_mtu */ member
662 return (len + qp->pmtu - 1) >> qp->log_pmtu; in rvt_div_round_up_mtu()
/linux/net/ipv4/
A Dtcp_output.c1692 static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu) in __tcp_mtu_to_mss() argument
1701 mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); in __tcp_mtu_to_mss()
1724 int tcp_mtu_to_mss(struct sock *sk, int pmtu) in tcp_mtu_to_mss() argument
1727 return __tcp_mtu_to_mss(sk, pmtu) - in tcp_mtu_to_mss()
1794 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) in tcp_sync_mss() argument
1800 if (icsk->icsk_mtup.search_high > pmtu) in tcp_sync_mss()
1801 icsk->icsk_mtup.search_high = pmtu; in tcp_sync_mss()
1803 mss_now = tcp_mtu_to_mss(sk, pmtu); in tcp_sync_mss()
1807 icsk->icsk_pmtu_cookie = pmtu; in tcp_sync_mss()
/linux/drivers/infiniband/sw/rdmavt/
A Dqp.c1413 int pmtu = 0; /* for gcc warning only */ in rvt_modify_qp() local
1504 pmtu = rdi->driver_f.get_pmtu_from_attr(rdi, qp, attr); in rvt_modify_qp()
1505 if (pmtu < 0) in rvt_modify_qp()
1607 qp->pmtu = rdi->driver_f.mtu_from_qp(rdi, qp, pmtu); in rvt_modify_qp()
1608 qp->log_pmtu = ilog2(qp->pmtu); in rvt_modify_qp()
1728 attr->path_mtu = rdi->driver_f.mtu_to_path_mtu(qp->pmtu); in rvt_query_qp()

Completed in 79 milliseconds

12