Home
last modified time | relevance | path

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

12

/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_uc.c54 u32 pmtu = ib_mtu_enum_to_int(qp->path_mtu); in ipath_make_uc_req() local
105 if (len > pmtu) { in ipath_make_uc_req()
107 len = pmtu; in ipath_make_uc_req()
134 if (len > pmtu) { in ipath_make_uc_req()
136 len = pmtu; in ipath_make_uc_req()
165 if (len > pmtu) { in ipath_make_uc_req()
166 len = pmtu; in ipath_make_uc_req()
189 if (len > pmtu) { in ipath_make_uc_req()
190 len = pmtu; in ipath_make_uc_req()
249 u32 pmtu = ib_mtu_enum_to_int(qp->path_mtu); in ipath_uc_rcv() local
[all …]
Dipath_rc.c43 u32 psn, u32 pmtu) in restart_sge() argument
47 len = ((psn - wqe->psn) & IPATH_PSN_MASK) * pmtu; in restart_sge()
87 struct ipath_other_headers *ohdr, u32 pmtu) in ipath_make_rc_ack() argument
130 if (len > pmtu) { in ipath_make_rc_ack()
131 len = pmtu; in ipath_make_rc_ack()
163 if (len > pmtu) in ipath_make_rc_ack()
164 len = pmtu; in ipath_make_rc_ack()
223 u32 pmtu = ib_mtu_enum_to_int(qp->path_mtu); in ipath_make_rc_req() local
242 ipath_make_rc_ack(dev, qp, ohdr, pmtu)) in ipath_make_rc_req()
320 if (len > pmtu) { in ipath_make_rc_req()
[all …]
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_uc.c54 u32 pmtu = ib_mtu_enum_to_int(qp->path_mtu); 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()
252 u32 pmtu = ib_mtu_enum_to_int(qp->path_mtu); in qib_uc_rcv() local
[all …]
Dqib_rc.c44 u32 psn, u32 pmtu) in restart_sge() argument
48 len = ((psn - wqe->psn) & QIB_PSN_MASK) * pmtu; in restart_sge()
79 struct qib_other_headers *ohdr, u32 pmtu) in qib_make_rc_ack() argument
141 if (len > pmtu) { in qib_make_rc_ack()
142 len = pmtu; in qib_make_rc_ack()
178 if (len > pmtu) in qib_make_rc_ack()
179 len = pmtu; in qib_make_rc_ack()
242 u32 pmtu = ib_mtu_enum_to_int(qp->path_mtu); in qib_make_rc_req() local
260 qib_make_rc_ack(dev, qp, ohdr, pmtu)) in qib_make_rc_req()
349 if (len > pmtu) { in qib_make_rc_req()
[all …]
Dqib_qp.c556 u32 pmtu = 0; /* for gcc warning only */ in qib_modify_qp() local
630 pmtu = IB_MTU_4096; in qib_modify_qp()
633 pmtu = IB_MTU_2048; in qib_modify_qp()
636 pmtu = IB_MTU_1024; in qib_modify_qp()
639 pmtu = IB_MTU_512; in qib_modify_qp()
642 pmtu = IB_MTU_256; in qib_modify_qp()
645 pmtu = IB_MTU_2048; in qib_modify_qp()
648 pmtu = attr->path_mtu; in qib_modify_qp()
769 qp->path_mtu = pmtu; in qib_modify_qp()
/linux-2.6.39/net/sctp/
Dtransport.c244 void sctp_transport_update_pmtu(struct sctp_transport *t, u32 pmtu) in sctp_transport_update_pmtu() argument
248 if (unlikely(pmtu < SCTP_DEFAULT_MINSEGMENT)) { in sctp_transport_update_pmtu()
250 __func__, pmtu, in sctp_transport_update_pmtu()
257 t->pathmtu = pmtu; in sctp_transport_update_pmtu()
262 dst->ops->update_pmtu(dst, pmtu); in sctp_transport_update_pmtu()
389 __u32 cwnd, ssthresh, flight_size, pba, pmtu; in sctp_transport_raise_cwnd() local
409 pmtu = transport->asoc->pathmtu; in sctp_transport_raise_cwnd()
429 if (bytes_acked > pmtu) in sctp_transport_raise_cwnd()
430 cwnd += pmtu; in sctp_transport_raise_cwnd()
456 cwnd += pmtu; in sctp_transport_raise_cwnd()
Dassociola.c1362 __u32 pmtu = 0; in sctp_assoc_sync_pmtu() local
1374 if (!pmtu || (t->pathmtu < pmtu)) in sctp_assoc_sync_pmtu()
1375 pmtu = t->pathmtu; in sctp_assoc_sync_pmtu()
1378 if (pmtu) { in sctp_assoc_sync_pmtu()
1379 asoc->pathmtu = pmtu; in sctp_assoc_sync_pmtu()
1380 asoc->frag_point = sctp_frag_point(asoc, pmtu); in sctp_assoc_sync_pmtu()
Doutput.c728 size_t pmtu; in sctp_packet_will_fit() local
733 pmtu = ((packet->transport->asoc) ? in sctp_packet_will_fit()
737 too_big = (psize + chunk_len > pmtu); in sctp_packet_will_fit()
Dinput.c398 struct sctp_transport *t, __u32 pmtu) in sctp_icmp_frag_needed() argument
400 if (!t || (t->pathmtu <= pmtu)) in sctp_icmp_frag_needed()
411 sctp_transport_update_pmtu(t, pmtu); in sctp_icmp_frag_needed()
/linux-2.6.39/net/dccp/
Doutput.c160 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) in dccp_sync_mss() argument
165 u32 cur_mps = ccmps ? min(pmtu, ccmps) : pmtu; in dccp_sync_mss()
188 icsk->icsk_pmtu_cookie = pmtu; in dccp_sync_mss()
Ddccp.h261 extern unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu);
/linux-2.6.39/drivers/infiniband/hw/ehca/
Dehca_av.c154 av->av.pmtu = shca->max_mtu; in ehca_create_ah()
221 new_ehca_av.pmtu = shca->max_mtu; in ehca_modify_ah()
Dehca_qes.h79 u8 pmtu; member
Dehca_reqs.c257 wqe_p->u.ud_av.ud_av.pmtu = 1; in ehca_write_swqe()
/linux-2.6.39/include/net/sctp/
Dsctp.h163 struct sctp_transport *t, __u32 pmtu);
501 static inline int sctp_frag_point(const struct sctp_association *asoc, int pmtu) in sctp_frag_point() argument
504 int frag = pmtu; in sctp_frag_point()
/linux-2.6.39/include/net/
Dip6_route.h131 u32 pmtu);
Dinet_connection_sock.h98 unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu);
Dtcp.h471 extern unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu);
508 extern int tcp_mtu_to_mss(struct sock *sk, int pmtu);
/linux-2.6.39/net/ipv6/
Droute.c1612 struct net *net, u32 pmtu, int ifindex) in rt6_do_pmtu_disc() argument
1626 if (pmtu >= dst_mtu(&rt->dst)) in rt6_do_pmtu_disc()
1629 if (pmtu < IPV6_MIN_MTU) { in rt6_do_pmtu_disc()
1636 pmtu = IPV6_MIN_MTU; in rt6_do_pmtu_disc()
1652 dst_metric_set(&rt->dst, RTAX_MTU, pmtu); in rt6_do_pmtu_disc()
1674 dst_metric_set(&nrt->dst, RTAX_MTU, pmtu); in rt6_do_pmtu_disc()
1697 struct net_device *dev, u32 pmtu) in rt6_pmtu_discovery() argument
1713 rt6_do_pmtu_disc(daddr, saddr, net, pmtu, 0); in rt6_pmtu_discovery()
1714 rt6_do_pmtu_disc(daddr, saddr, net, pmtu, dev->ifindex); in rt6_pmtu_discovery()
Dip6_tunnel.c889 __u32 *pmtu) in ip6_tnl_xmit2() argument
939 *pmtu = mtu; in ip6_tnl_xmit2()
/linux-2.6.39/net/ipv4/
Dtcp_output.c1147 int tcp_mtu_to_mss(struct sock *sk, int pmtu) in tcp_mtu_to_mss() argument
1156 mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); in tcp_mtu_to_mss()
1226 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) in tcp_sync_mss() argument
1232 if (icsk->icsk_mtup.search_high > pmtu) in tcp_sync_mss()
1233 icsk->icsk_mtup.search_high = pmtu; in tcp_sync_mss()
1235 mss_now = tcp_mtu_to_mss(sk, pmtu); in tcp_sync_mss()
1239 icsk->icsk_pmtu_cookie = pmtu; in tcp_sync_mss()
/linux-2.6.39/net/xfrm/
Dxfrm_policy.c2294 u32 pmtu, route_mtu_cached; in xfrm_init_pmtu() local
2296 pmtu = dst_mtu(dst->child); in xfrm_init_pmtu()
2297 xdst->child_mtu_cached = pmtu; in xfrm_init_pmtu()
2299 pmtu = xfrm_state_mtu(dst->xfrm, pmtu); in xfrm_init_pmtu()
2304 if (pmtu > route_mtu_cached) in xfrm_init_pmtu()
2305 pmtu = route_mtu_cached; in xfrm_init_pmtu()
2307 dst_metric_set(dst, RTAX_MTU, pmtu); in xfrm_init_pmtu()
/linux-2.6.39/include/scsi/
Discsi_if.h237 uint16_t pmtu; member
/linux-2.6.39/net/l2tp/
Dl2tp_ppp.c767 u32 pmtu = dst_mtu(__sk_dst_get(sk)); in pppol2tp_connect() local
768 if (pmtu != 0) in pppol2tp_connect()
769 session->mtu = session->mru = pmtu - in pppol2tp_connect()
/linux-2.6.39/drivers/scsi/cxgbi/
Dlibcxgbi.c811 unsigned int cxgbi_sock_select_mss(struct cxgbi_sock *csk, unsigned int pmtu) in cxgbi_sock_select_mss() argument
818 if (csk->advmss > pmtu - 40) in cxgbi_sock_select_mss()
819 csk->advmss = pmtu - 40; in cxgbi_sock_select_mss()

12