/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 56 u32 pmtu = qp->pmtu; in qib_make_uc_req() local 107 if (len > pmtu) { in qib_make_uc_req() 109 len = pmtu; in qib_make_uc_req() 136 if (len > pmtu) { in qib_make_uc_req() 138 len = pmtu; in qib_make_uc_req() 167 if (len > pmtu) { in qib_make_uc_req() 168 len = pmtu; in qib_make_uc_req() 191 if (len > pmtu) { in qib_make_uc_req() 192 len = pmtu; in qib_make_uc_req() 246 u32 pmtu = qp->pmtu; in qib_uc_rcv() local [all …]
|
D | qib_rc.c | 43 u32 psn, u32 pmtu) in restart_sge() argument 47 len = ((psn - wqe->psn) & QIB_PSN_MASK) * pmtu; in restart_sge() 68 struct ib_other_headers *ohdr, u32 pmtu) in qib_make_rc_ack() argument 130 if (len > pmtu) { in qib_make_rc_ack() 131 len = pmtu; in qib_make_rc_ack() 164 if (len > pmtu) in qib_make_rc_ack() 165 len = pmtu; in qib_make_rc_ack() 231 u32 pmtu = qp->pmtu; in qib_make_rc_req() local 242 qib_make_rc_ack(dev, qp, ohdr, pmtu)) in qib_make_rc_req() 326 if (len > pmtu) { in qib_make_rc_req() [all …]
|
D | qib_qp.c | 294 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()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | uc.c | 71 u32 pmtu = qp->pmtu; in hfi1_make_uc_req() local 162 if (len > pmtu) { in hfi1_make_uc_req() 164 len = pmtu; in hfi1_make_uc_req() 191 if (len > pmtu) { in hfi1_make_uc_req() 193 len = pmtu; in hfi1_make_uc_req() 222 if (len > pmtu) { in hfi1_make_uc_req() 223 len = pmtu; in hfi1_make_uc_req() 247 if (len > pmtu) { in hfi1_make_uc_req() 248 len = pmtu; in hfi1_make_uc_req() 316 u32 pmtu = qp->pmtu; in hfi1_uc_rcv() local [all …]
|
D | rc.c | 61 u32 psn, u32 pmtu) in restart_sge() argument 65 len = delta_psn(psn, wqe->psn) * pmtu; in restart_sge() 95 u32 pmtu = qp->pmtu; in make_rc_ack() local 157 if (len > pmtu) { in make_rc_ack() 158 len = pmtu; in make_rc_ack() 191 if (len > pmtu) { in make_rc_ack() 192 len = pmtu; in make_rc_ack() 267 u32 pmtu = qp->pmtu; in hfi1_make_rc_req() local 410 if (len > pmtu) { in hfi1_make_rc_req() 412 len = pmtu; in hfi1_make_rc_req() [all …]
|
D | qp.h | 150 u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu);
|
D | qp.c | 596 qp->pmtu, in qp_iter_print() 736 u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) in mtu_from_qp() argument 752 mtu = verbs_mtu_enum_to_int(qp->ibqp.device, pmtu); in mtu_from_qp()
|
/Linux-v4.19/net/sctp/ |
D | transport.c | 260 bool sctp_transport_update_pmtu(struct sctp_transport *t, u32 pmtu) in sctp_transport_update_pmtu() argument 266 if (unlikely(pmtu < SCTP_DEFAULT_MINSEGMENT)) { in sctp_transport_update_pmtu() 268 __func__, pmtu, SCTP_DEFAULT_MINSEGMENT); in sctp_transport_update_pmtu() 270 pmtu = SCTP_DEFAULT_MINSEGMENT; in sctp_transport_update_pmtu() 272 pmtu = SCTP_TRUNC4(pmtu); in sctp_transport_update_pmtu() 280 dst->ops->update_pmtu(dst, sk, NULL, pmtu); in sctp_transport_update_pmtu() 293 pmtu = sctp_dst_mtu(dst); in sctp_transport_update_pmtu() 294 change = t->pathmtu != pmtu; in sctp_transport_update_pmtu() 296 t->pathmtu = pmtu; in sctp_transport_update_pmtu() 415 __u32 cwnd, ssthresh, flight_size, pba, pmtu; in sctp_transport_raise_cwnd() local [all …]
|
D | output.c | 789 size_t psize, pmtu, maxsize; in sctp_packet_will_fit() local 803 pmtu = packet->transport->asoc->pathmtu; in sctp_packet_will_fit() 805 pmtu = packet->transport->pathmtu; in sctp_packet_will_fit() 808 if (psize + chunk_len > pmtu) { in sctp_packet_will_fit() 831 maxsize = pmtu - packet->overhead; in sctp_packet_will_fit()
|
D | associola.c | 1428 void sctp_assoc_set_pmtu(struct sctp_association *asoc, __u32 pmtu) in sctp_assoc_set_pmtu() argument 1430 if (asoc->pathmtu != pmtu) { in sctp_assoc_set_pmtu() 1431 asoc->pathmtu = pmtu; in sctp_assoc_set_pmtu() 1445 __u32 pmtu = 0; in sctp_assoc_sync_pmtu() local 1457 if (!pmtu || (t->pathmtu < pmtu)) in sctp_assoc_sync_pmtu() 1458 pmtu = t->pathmtu; in sctp_assoc_sync_pmtu() 1461 sctp_assoc_set_pmtu(asoc, pmtu); in sctp_assoc_sync_pmtu()
|
D | input.c | 392 struct sctp_transport *t, __u32 pmtu) in sctp_icmp_frag_needed() argument 394 if (!t || (t->pathmtu <= pmtu)) in sctp_icmp_frag_needed() 398 atomic_set(&t->mtu_info, pmtu); in sctp_icmp_frag_needed() 415 if (!sctp_transport_update_pmtu(t, pmtu)) in sctp_icmp_frag_needed()
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | pmtu.sh | 250 pmtu="$(route_get_dst_pmtu_from_exception "${ns_a}" ${vti4_b_addr})" 251 if [ "${pmtu}" != "" ]; then 252 …err " unexpected exception created with PMTU ${pmtu} for IP payload length ${esp_payload_rfc4106}" 258 pmtu="$(route_get_dst_pmtu_from_exception "${ns_a}" ${vti4_b_addr})" 259 if [ "${pmtu}" = "" ]; then 265 if [ ${pmtu} -ne ${esp_payload_rfc4106} ]; then 266 err " wrong PMTU ${pmtu} in exception, expected: ${esp_payload_rfc4106}"
|
D | Makefile | 8 TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh udpgso.sh
|
/Linux-v4.19/drivers/scsi/qedi/ |
D | qedi_iscsi.c | 464 static u16 qedi_calc_mss(u16 pmtu, u8 is_ipv6, u8 tcp_ts_en, u8 vlan_en) in qedi_calc_mss() argument 474 mss = pmtu - hdrs; in qedi_calc_mss() 549 conn_info->mss = qedi_calc_mss(qedi_ep->pmtu, in qedi_iscsi_offload_conn() 910 path_req.pmtu = qedi->ll2_mtu; in qedi_ep_connect() 911 qedi_ep->pmtu = qedi->ll2_mtu; in qedi_ep_connect() 1237 if (path_data->pmtu < DEF_PATH_MTU) { in qedi_set_path() 1238 qedi_ep->pmtu = qedi->ll2_mtu; in qedi_set_path() 1241 path_data->pmtu, qedi_ep->pmtu); in qedi_set_path() 1244 if (path_data->pmtu != qedi->ll2_mtu) { in qedi_set_path() 1245 if (path_data->pmtu > JUMBO_MTU) { in qedi_set_path() [all …]
|
D | qedi_iscsi.h | 73 u16 pmtu; member
|
/Linux-v4.19/net/dccp/ |
D | output.c | 163 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) in dccp_sync_mss() argument 168 u32 cur_mps = ccmps ? min(pmtu, ccmps) : pmtu; in dccp_sync_mss() 191 icsk->icsk_pmtu_cookie = pmtu; in dccp_sync_mss()
|
/Linux-v4.19/include/rdma/ |
D | rdmavt_qp.h | 290 u16 pmtu; /* decoded from path_mtu */ member 639 return (len + qp->pmtu - 1) >> qp->log_pmtu; in rvt_div_round_up_mtu()
|
D | rdma_vt.h | 287 u32 pmtu);
|
/Linux-v4.19/include/net/ |
D | ip6_tunnel.h | 143 struct flowi6 *fl6, int encap_limit, __u32 *pmtu, __u8 proto);
|
D | inet_connection_sock.h | 107 unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu);
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | switchib.c | 127 err = mlxsw_reg_query(mlxsw_sib->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sib_port_mtu_set() 136 return mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sib_port_mtu_set()
|
/Linux-v4.19/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 1166 int pmtu = 0; /* for gcc warning only */ in rvt_modify_qp() local 1257 pmtu = rdi->driver_f.get_pmtu_from_attr(rdi, qp, attr); in rvt_modify_qp() 1258 if (pmtu < 0) in rvt_modify_qp() 1360 qp->pmtu = rdi->driver_f.mtu_from_qp(rdi, qp, pmtu); in rvt_modify_qp() 1361 qp->log_pmtu = ilog2(qp->pmtu); in rvt_modify_qp() 1486 attr->path_mtu = rdi->driver_f.mtu_to_path_mtu(qp->pmtu); in rvt_query_qp()
|
/Linux-v4.19/net/ipv4/ |
D | tcp_output.c | 1433 static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu) in __tcp_mtu_to_mss() argument 1442 mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); in __tcp_mtu_to_mss() 1466 int tcp_mtu_to_mss(struct sock *sk, int pmtu) in tcp_mtu_to_mss() argument 1469 return __tcp_mtu_to_mss(sk, pmtu) - in tcp_mtu_to_mss() 1535 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) in tcp_sync_mss() argument 1541 if (icsk->icsk_mtup.search_high > pmtu) in tcp_sync_mss() 1542 icsk->icsk_mtup.search_high = pmtu; in tcp_sync_mss() 1544 mss_now = tcp_mtu_to_mss(sk, pmtu); in tcp_sync_mss() 1548 icsk->icsk_pmtu_cookie = pmtu; in tcp_sync_mss()
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_policy.c | 2575 u32 pmtu, route_mtu_cached; in xfrm_init_pmtu() local 2579 pmtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_init_pmtu() 2580 xdst->child_mtu_cached = pmtu; in xfrm_init_pmtu() 2582 pmtu = xfrm_state_mtu(dst->xfrm, pmtu); in xfrm_init_pmtu() 2587 if (pmtu > route_mtu_cached) in xfrm_init_pmtu() 2588 pmtu = route_mtu_cached; in xfrm_init_pmtu() 2590 dst_metric_set(dst, RTAX_MTU, pmtu); in xfrm_init_pmtu()
|
/Linux-v4.19/include/net/sctp/ |
D | structs.h | 1015 bool sctp_transport_update_pmtu(struct sctp_transport *t, u32 pmtu); 2134 void sctp_assoc_set_pmtu(struct sctp_association *asoc, __u32 pmtu);
|