Searched refs:pmtu (Results 1 - 46 of 46) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_uc.c54 u32 pmtu = qp->pmtu; qib_make_uc_req() local
108 if (len > pmtu) { qib_make_uc_req()
110 len = pmtu; qib_make_uc_req()
137 if (len > pmtu) { qib_make_uc_req()
139 len = pmtu; qib_make_uc_req()
168 if (len > pmtu) { qib_make_uc_req()
169 len = pmtu; qib_make_uc_req()
192 if (len > pmtu) { qib_make_uc_req()
193 len = pmtu; qib_make_uc_req()
251 u32 pmtu = qp->pmtu; qib_uc_rcv() local
371 if (unlikely(tlen != (hdrsize + pmtu + 4))) qib_uc_rcv()
373 qp->r_rcv_len += pmtu; qib_uc_rcv()
376 qib_copy_sge(&qp->r_sge, data, pmtu, 0); qib_uc_rcv()
462 if (unlikely(tlen != (hdrsize + pmtu + 4)))
464 qp->r_rcv_len += pmtu;
467 qib_copy_sge(&qp->r_sge, data, pmtu, 1);
H A Dqib_rc.c44 u32 psn, u32 pmtu) restart_sge()
48 len = ((psn - wqe->psn) & QIB_PSN_MASK) * pmtu; restart_sge()
71 * @pmtu: the path MTU
78 struct qib_other_headers *ohdr, u32 pmtu) qib_make_rc_ack()
140 if (len > pmtu) {
141 len = pmtu;
177 if (len > pmtu)
178 len = pmtu;
241 u32 pmtu = qp->pmtu; qib_make_rc_req() local
259 qib_make_rc_ack(dev, qp, ohdr, pmtu)) qib_make_rc_req()
344 if (len > pmtu) { qib_make_rc_req()
345 wqe->lpsn += (len - 1) / pmtu; qib_make_rc_req()
347 len = pmtu; qib_make_rc_req()
384 if (len > pmtu) { qib_make_rc_req()
385 wqe->lpsn += (len - 1) / pmtu; qib_make_rc_req()
387 len = pmtu; qib_make_rc_req()
424 if (len > pmtu) qib_make_rc_req()
425 qp->s_next_psn += (len - 1) / pmtu; qib_make_rc_req()
518 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); qib_make_rc_req()
529 if (len > pmtu) { qib_make_rc_req()
530 len = pmtu; qib_make_rc_req()
559 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); qib_make_rc_req()
570 if (len > pmtu) { qib_make_rc_req()
571 len = pmtu; qib_make_rc_req()
600 len = ((qp->s_psn - wqe->psn) & QIB_PSN_MASK) * pmtu; qib_make_rc_req()
1393 * @pmtu: the path MTU
1404 u32 psn, u32 hdrsize, u32 pmtu, qib_rc_rcv_resp()
1499 wqe, psn, pmtu); qib_rc_rcv_resp()
1509 if (unlikely(tlen != (hdrsize + pmtu + 4))) qib_rc_rcv_resp()
1511 if (unlikely(pmtu >= qp->s_rdma_read_len)) qib_rc_rcv_resp()
1532 qp->s_rdma_read_len -= pmtu; qib_rc_rcv_resp()
1535 qib_copy_sge(&qp->s_rdma_read_sge, data, pmtu, 0); qib_rc_rcv_resp()
1545 * Check that the data size is >= 0 && <= pmtu. qib_rc_rcv_resp()
1558 wqe, psn, pmtu); qib_rc_rcv_resp()
1570 * Check that the data size is >= 1 && <= pmtu. qib_rc_rcv_resp()
1724 * request and start on pmtu boundaries. OP()
1730 qp->pmtu; OP()
1874 u32 pmtu = qp->pmtu; qib_rc_rcv() local
1905 hdrsize, pmtu, rcd); qib_rc_rcv()
1977 if (unlikely(tlen != (hdrsize + pmtu + 4))) qib_rc_rcv()
1979 qp->r_rcv_len += pmtu; qib_rc_rcv()
1982 qib_copy_sge(&qp->r_sge, data, pmtu, 1); qib_rc_rcv()
2136 if (len > pmtu) OP()
2137 qp->r_psn += (len - 1) / pmtu; OP()
43 restart_sge(struct qib_sge_state *ss, struct qib_swqe *wqe, u32 psn, u32 pmtu) restart_sge() argument
77 qib_make_rc_ack(struct qib_ibdev *dev, struct qib_qp *qp, struct qib_other_headers *ohdr, u32 pmtu) qib_make_rc_ack() argument
1399 qib_rc_rcv_resp(struct qib_ibport *ibp, struct qib_other_headers *ohdr, void *data, u32 tlen, struct qib_qp *qp, u32 opcode, u32 psn, u32 hdrsize, u32 pmtu, struct qib_ctxtdata *rcd) qib_rc_rcv_resp() argument
H A Dqib_qp.c579 u32 pmtu = 0; /* for gcc warning only */ qib_modify_qp() local
653 pmtu = IB_MTU_4096; qib_modify_qp()
656 pmtu = IB_MTU_2048; qib_modify_qp()
659 pmtu = IB_MTU_1024; qib_modify_qp()
662 pmtu = IB_MTU_512; qib_modify_qp()
665 pmtu = IB_MTU_256; qib_modify_qp()
668 pmtu = IB_MTU_2048; qib_modify_qp()
671 pmtu = attr->path_mtu; qib_modify_qp()
792 qp->path_mtu = pmtu; qib_modify_qp()
793 qp->pmtu = ib_mtu_enum_to_int(pmtu); qib_modify_qp()
H A Dqib_verbs.h441 u32 pmtu; /* decoded from path_mtu */ member in struct:qib_qp
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_uc.c54 u32 pmtu = ib_mtu_enum_to_int(qp->path_mtu); ipath_make_uc_req() local
105 if (len > pmtu) { ipath_make_uc_req()
107 len = pmtu; ipath_make_uc_req()
134 if (len > pmtu) { ipath_make_uc_req()
136 len = pmtu; ipath_make_uc_req()
165 if (len > pmtu) { ipath_make_uc_req()
166 len = pmtu; ipath_make_uc_req()
189 if (len > pmtu) { ipath_make_uc_req()
190 len = pmtu; ipath_make_uc_req()
249 u32 pmtu = ib_mtu_enum_to_int(qp->path_mtu); ipath_uc_rcv() local
365 if (unlikely(tlen != (hdrsize + pmtu + 4))) { OP()
370 qp->r_rcv_len += pmtu;
376 ipath_copy_sge(&qp->r_sge, data, pmtu);
471 if (unlikely(tlen != (hdrsize + pmtu + 4))) { OP()
475 qp->r_rcv_len += pmtu;
480 ipath_copy_sge(&qp->r_sge, data, pmtu);
H A Dipath_rc.c43 u32 psn, u32 pmtu) restart_sge()
47 len = ((psn - wqe->psn) & IPATH_PSN_MASK) * pmtu; restart_sge()
80 * @pmtu: the path MTU
87 struct ipath_other_headers *ohdr, u32 pmtu) ipath_make_rc_ack()
130 if (len > pmtu) {
131 len = pmtu;
163 if (len > pmtu)
164 len = pmtu;
223 u32 pmtu = ib_mtu_enum_to_int(qp->path_mtu); ipath_make_rc_req() local
242 ipath_make_rc_ack(dev, qp, ohdr, pmtu)) ipath_make_rc_req()
320 if (len > pmtu) { ipath_make_rc_req()
321 wqe->lpsn += (len - 1) / pmtu; ipath_make_rc_req()
323 len = pmtu; ipath_make_rc_req()
359 if (len > pmtu) { ipath_make_rc_req()
360 wqe->lpsn += (len - 1) / pmtu; ipath_make_rc_req()
362 len = pmtu; ipath_make_rc_req()
399 if (len > pmtu) ipath_make_rc_req()
400 qp->s_next_psn += (len - 1) / pmtu; ipath_make_rc_req()
506 if (len > pmtu) { ipath_make_rc_req()
507 len = pmtu; ipath_make_rc_req()
542 if (len > pmtu) { ipath_make_rc_req()
543 len = pmtu; ipath_make_rc_req()
568 len = ((qp->s_psn - wqe->psn) & IPATH_PSN_MASK) * pmtu; ipath_make_rc_req()
1110 * @pmtu: the path MTU
1122 u32 psn, u32 hdrsize, u32 pmtu, ipath_rc_rcv_resp()
1199 wqe, psn, pmtu); ipath_rc_rcv_resp()
1215 if (unlikely(tlen != (hdrsize + pmtu + 4)))
1217 if (unlikely(pmtu >= qp->s_rdma_read_len))
1234 qp->s_rdma_read_len -= pmtu;
1237 ipath_copy_sge(&qp->s_rdma_read_sge, data, pmtu);
1250 * Check that the data size is >= 0 && <= pmtu.
1263 wqe, psn, pmtu);
1281 * Check that the data size is >= 1 && <= pmtu.
1431 * request and start on pmtu boundaries. OP()
1579 u32 pmtu = ib_mtu_enum_to_int(qp->path_mtu); ipath_rc_rcv() local
1621 hdrsize, pmtu, header_in_data); ipath_rc_rcv()
1681 if (unlikely(tlen != (hdrsize + pmtu + 4))) ipath_rc_rcv()
1683 qp->r_rcv_len += pmtu; ipath_rc_rcv()
1686 ipath_copy_sge(&qp->r_sge, data, pmtu); ipath_rc_rcv()
1836 if (len > pmtu) OP()
1837 qp->r_psn += (len - 1) / pmtu; OP()
42 restart_sge(struct ipath_sge_state *ss, struct ipath_swqe *wqe, u32 psn, u32 pmtu) restart_sge() argument
86 ipath_make_rc_ack(struct ipath_ibdev *dev, struct ipath_qp *qp, struct ipath_other_headers *ohdr, u32 pmtu) ipath_make_rc_ack() argument
1117 ipath_rc_rcv_resp(struct ipath_ibdev *dev, struct ipath_other_headers *ohdr, void *data, u32 tlen, struct ipath_qp *qp, u32 opcode, u32 psn, u32 hdrsize, u32 pmtu, int header_in_data) ipath_rc_rcv_resp() argument
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Duc.c72 u32 pmtu = qp->pmtu; hfi1_make_uc_req() local
126 if (len > pmtu) { hfi1_make_uc_req()
128 len = pmtu; hfi1_make_uc_req()
155 if (len > pmtu) { hfi1_make_uc_req()
157 len = pmtu; hfi1_make_uc_req()
186 if (len > pmtu) { hfi1_make_uc_req()
187 len = pmtu; hfi1_make_uc_req()
211 if (len > pmtu) { hfi1_make_uc_req()
212 len = pmtu; hfi1_make_uc_req()
276 u32 pmtu = qp->pmtu; hfi1_uc_rcv() local
412 if (unlikely(tlen != (hdrsize + pmtu + 4))) hfi1_uc_rcv()
414 qp->r_rcv_len += pmtu; hfi1_uc_rcv()
417 hfi1_copy_sge(&qp->r_sge, data, pmtu, 0); hfi1_uc_rcv()
512 if (unlikely(tlen != (hdrsize + pmtu + 4)))
514 qp->r_rcv_len += pmtu;
517 hfi1_copy_sge(&qp->r_sge, data, pmtu, 1);
H A Drc.c64 u32 psn, u32 pmtu) restart_sge()
68 len = delta_psn(psn, wqe->psn) * pmtu; restart_sge()
91 * @pmtu: the path MTU
98 struct hfi1_other_headers *ohdr, u32 pmtu) make_rc_ack()
161 if (len > pmtu) {
162 len = pmtu;
198 if (len > pmtu) {
199 len = pmtu;
271 u32 pmtu = qp->pmtu; hfi1_make_rc_req() local
290 make_rc_ack(dev, qp, ohdr, pmtu)) hfi1_make_rc_req()
374 if (len > pmtu) { hfi1_make_rc_req()
375 wqe->lpsn += (len - 1) / pmtu; hfi1_make_rc_req()
377 len = pmtu; hfi1_make_rc_req()
413 if (len > pmtu) { hfi1_make_rc_req()
414 wqe->lpsn += (len - 1) / pmtu; hfi1_make_rc_req()
416 len = pmtu; hfi1_make_rc_req()
453 if (len > pmtu) hfi1_make_rc_req()
454 qp->s_next_psn += (len - 1) / pmtu; hfi1_make_rc_req()
546 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); hfi1_make_rc_req()
557 if (len > pmtu) { hfi1_make_rc_req()
558 len = pmtu; hfi1_make_rc_req()
588 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); hfi1_make_rc_req()
599 if (len > pmtu) { hfi1_make_rc_req()
600 len = pmtu; hfi1_make_rc_req()
630 len = (delta_psn(qp->s_psn, wqe->psn)) * pmtu; hfi1_make_rc_req()
1424 * @pmtu: the path MTU
1433 u32 opcode, u32 psn, u32 hdrsize, u32 pmtu, rc_rcv_resp()
1503 wqe, psn, pmtu); rc_rcv_resp()
1513 if (unlikely(tlen != (hdrsize + pmtu + 4))) rc_rcv_resp()
1515 if (unlikely(pmtu >= qp->s_rdma_read_len)) rc_rcv_resp()
1536 qp->s_rdma_read_len -= pmtu; rc_rcv_resp()
1539 hfi1_copy_sge(&qp->s_rdma_read_sge, data, pmtu, 0); rc_rcv_resp()
1549 * Check that the data size is >= 0 && <= pmtu. rc_rcv_resp()
1561 wqe, psn, pmtu); rc_rcv_resp()
1573 * Check that the data size is >= 1 && <= pmtu. rc_rcv_resp()
1723 * request and start on pmtu boundaries. OP()
1728 offset = delta_psn(psn, e->psn) * qp->pmtu; OP()
1952 u32 pmtu = qp->pmtu; hfi1_rc_rcv() local
1992 hdrsize, pmtu, rcd); hfi1_rc_rcv()
2057 if (unlikely(tlen != (hdrsize + pmtu + 4))) hfi1_rc_rcv()
2059 qp->r_rcv_len += pmtu; hfi1_rc_rcv()
2062 hfi1_copy_sge(&qp->r_sge, data, pmtu, 1); hfi1_rc_rcv()
2223 if (len > pmtu) OP()
2224 qp->r_psn += (len - 1) / pmtu; OP()
63 restart_sge(struct hfi1_sge_state *ss, struct hfi1_swqe *wqe, u32 psn, u32 pmtu) restart_sge() argument
97 make_rc_ack(struct hfi1_ibdev *dev, struct hfi1_qp *qp, struct hfi1_other_headers *ohdr, u32 pmtu) make_rc_ack() argument
1430 rc_rcv_resp(struct hfi1_ibport *ibp, struct hfi1_other_headers *ohdr, void *data, u32 tlen, struct hfi1_qp *qp, u32 opcode, u32 psn, u32 hdrsize, u32 pmtu, struct hfi1_ctxtdata *rcd) rc_rcv_resp() argument
H A Dqp.c619 u32 pmtu = 0; /* for gcc warning only */ hfi1_modify_qp() local
693 pmtu = mtu_to_enum(dd->pport[pidx].ibmtu, IB_MTU_2048); hfi1_modify_qp()
695 pmtu = attr->path_mtu; hfi1_modify_qp()
823 mtu = verbs_mtu_enum_to_int(ibqp->device, pmtu); hfi1_modify_qp()
826 pmtu = mtu_to_enum(mtu, OPA_MTU_8192); hfi1_modify_qp()
828 qp->path_mtu = pmtu; hfi1_modify_qp()
829 qp->pmtu = mtu; hfi1_modify_qp()
1668 qp->pmtu, qp_iter_print()
H A Dverbs.h450 u32 pmtu; /* decoded from path_mtu */ member in struct:hfi1_qp
/linux-4.4.14/net/sctp/
H A Dtransport.c220 /* Initialize the pmtu of a transport. */ sctp_transport_pmtu()
236 void sctp_transport_update_pmtu(struct sock *sk, struct sctp_transport *t, u32 pmtu) sctp_transport_update_pmtu() argument
240 if (unlikely(pmtu < SCTP_DEFAULT_MINSEGMENT)) { sctp_transport_update_pmtu()
241 pr_warn("%s: Reported pmtu %d too low, using default minimum of %d\n", sctp_transport_update_pmtu()
242 __func__, pmtu, sctp_transport_update_pmtu()
245 * pmtu discovery on this transport. sctp_transport_update_pmtu()
249 t->pathmtu = pmtu; sctp_transport_update_pmtu()
257 dst->ops->update_pmtu(dst, sk, NULL, pmtu); sctp_transport_update_pmtu()
385 __u32 cwnd, ssthresh, flight_size, pba, pmtu; sctp_transport_raise_cwnd() local
405 pmtu = transport->asoc->pathmtu; sctp_transport_raise_cwnd()
425 if (bytes_acked > pmtu) sctp_transport_raise_cwnd()
426 cwnd += pmtu; sctp_transport_raise_cwnd()
451 cwnd += pmtu; sctp_transport_raise_cwnd()
H A Dassociola.c639 /* Initialize the pmtu of the transport. */ sctp_assoc_add_peer()
1389 /* Update the association's pmtu and frag_point by going through all the
1395 __u32 pmtu = 0; sctp_assoc_sync_pmtu() local
1400 /* Get the lowest pmtu of all the transports. */ sctp_assoc_sync_pmtu()
1407 if (!pmtu || (t->pathmtu < pmtu)) sctp_assoc_sync_pmtu()
1408 pmtu = t->pathmtu; sctp_assoc_sync_pmtu()
1411 if (pmtu) { sctp_assoc_sync_pmtu()
1412 asoc->pathmtu = pmtu; sctp_assoc_sync_pmtu()
1413 asoc->frag_point = sctp_frag_point(asoc, pmtu); sctp_assoc_sync_pmtu()
1416 pr_debug("%s: asoc:%p, pmtu:%d, frag_point:%d\n", __func__, asoc, sctp_assoc_sync_pmtu()
H A Dinput.c390 struct sctp_transport *t, __u32 pmtu) sctp_icmp_frag_needed()
392 if (!t || (t->pathmtu <= pmtu)) sctp_icmp_frag_needed()
403 sctp_transport_update_pmtu(sk, t, pmtu); sctp_icmp_frag_needed()
405 /* Update association pmtu. */ sctp_icmp_frag_needed()
409 /* Retransmit with the new pmtu setting. sctp_icmp_frag_needed()
389 sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, struct sctp_transport *t, __u32 pmtu) sctp_icmp_frag_needed() argument
H A Doutput.c754 size_t pmtu; sctp_packet_will_fit() local
759 pmtu = ((packet->transport->asoc) ? sctp_packet_will_fit()
763 too_big = (psize + chunk_len > pmtu); sctp_packet_will_fit()
H A Doutqueue.c408 /* If we are doing retransmission due to a timeout or pmtu sctp_retransmit_mark()
/linux-4.4.14/drivers/staging/rdma/ehca/
H A Dehca_av.c154 av->av.pmtu = shca->max_mtu; ehca_create_ah()
221 new_ehca_av.pmtu = shca->max_mtu; ehca_modify_ah()
H A Dehca_qes.h79 u8 pmtu; member in struct:ehca_ud_av
H A Dehca_reqs.c257 wqe_p->u.ud_av.ud_av.pmtu = 1; ehca_write_swqe()
/linux-4.4.14/include/uapi/linux/
H A Din.h125 #define IP_PMTUDISC_PROBE 3 /* Ignore dst pmtu */
126 /* Always use interface mtu (ignores dst pmtu) but don't set DF flag.
/linux-4.4.14/net/dccp/
H A Doutput.c162 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) dccp_sync_mss() argument
167 u32 cur_mps = ccmps ? min(pmtu, ccmps) : pmtu; dccp_sync_mss()
190 icsk->icsk_pmtu_cookie = pmtu; dccp_sync_mss()
H A Dtimer.c47 /* NOTE. draft-ietf-tcpimpl-pmtud-01.txt requires pmtu dccp_write_timeout()
H A Ddccp.h261 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu);
H A Dipv4.c337 * but it is obsoleted by pmtu discovery). dccp_v4_err()
/linux-4.4.14/include/net/sctp/
H A Dsctp.h138 struct sctp_transport *t, __u32 pmtu);
409 static inline int sctp_frag_point(const struct sctp_association *asoc, int pmtu) sctp_frag_point() argument
412 int frag = pmtu; sctp_frag_point()
591 * pmtu code.
/linux-4.4.14/include/net/
H A Dinet_connection_sock.h77 * @icsk_pmtu_cookie Last pmtu seen by socket
102 unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu);
H A Dtcp.h581 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu);
618 int tcp_mtu_to_mss(struct sock *sk, int pmtu);
H A Dxfrm.h113 pmtu disc will update pmtu on raw IP route and increase its genid.
/linux-4.4.14/net/xfrm/
H A Dxfrm_policy.c2722 u32 pmtu, route_mtu_cached; xfrm_init_pmtu() local
2724 pmtu = dst_mtu(dst->child); xfrm_init_pmtu()
2725 xdst->child_mtu_cached = pmtu; xfrm_init_pmtu()
2727 pmtu = xfrm_state_mtu(dst->xfrm, pmtu); xfrm_init_pmtu()
2732 if (pmtu > route_mtu_cached) xfrm_init_pmtu()
2733 pmtu = route_mtu_cached; xfrm_init_pmtu()
2735 dst_metric_set(dst, RTAX_MTU, pmtu); xfrm_init_pmtu()
/linux-4.4.14/net/ipv6/
H A Dicmp.c184 /* Do not limit pmtu discovery, it would break it. */ icmpv6_xrlim_allow()
662 pmtu discovery. icmpv6_notify()
H A Dip6_tunnel.c1018 * @pmtu: Path MTU is stored if packet is too big
1035 __u32 *pmtu) ip6_tnl_xmit2()
1109 *pmtu = mtu; ip6_tnl_xmit2()
1030 ip6_tnl_xmit2(struct sk_buff *skb, struct net_device *dev, __u8 dsfield, struct flowi6 *fl6, int encap_limit, __u32 *pmtu) ip6_tnl_xmit2() argument
H A Dip6_gre.c607 __u32 *pmtu) ip6gre_xmit2()
672 *pmtu = mtu; ip6gre_xmit2()
602 ip6gre_xmit2(struct sk_buff *skb, struct net_device *dev, __u8 dsfield, struct flowi6 *fl6, int encap_limit, __u32 *pmtu) ip6gre_xmit2() argument
H A Droute.c1554 * rely only on pmtu discovery" ip6_default_advmss()
2640 /* In IPv6 pmtu discovery is not optional, rt6_mtu_change_route()
/linux-4.4.14/net/ipv4/
H A Dtcp_output.c1285 static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu) __tcp_mtu_to_mss() argument
1294 mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); __tcp_mtu_to_mss()
1318 int tcp_mtu_to_mss(struct sock *sk, int pmtu) tcp_mtu_to_mss() argument
1321 return __tcp_mtu_to_mss(sk, pmtu) - tcp_mtu_to_mss()
1364 /* This function synchronize snd mss to current pmtu/exthdr set.
1373 inet_csk(sk)->icsk_pmtu_cookie is last pmtu, seen by this function.
1377 taking into account current pmtu, but never exceeds
1386 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) tcp_sync_mss() argument
1392 if (icsk->icsk_mtup.search_high > pmtu) tcp_sync_mss()
1393 icsk->icsk_mtup.search_high = pmtu; tcp_sync_mss()
1395 mss_now = tcp_mtu_to_mss(sk, pmtu); tcp_sync_mss()
1399 icsk->icsk_pmtu_cookie = pmtu; tcp_sync_mss()
H A Droute.c622 u32 pmtu, unsigned long expires) update_or_create_fnhe()
654 if (pmtu) { update_or_create_fnhe()
655 fnhe->fnhe_pmtu = pmtu; update_or_create_fnhe()
679 fnhe->fnhe_pmtu = pmtu; update_or_create_fnhe()
621 update_or_create_fnhe(struct fib_nh *nh, __be32 daddr, __be32 gw, u32 pmtu, unsigned long expires) update_or_create_fnhe() argument
H A Dip_gre.c104 (branches, that exceed pmtu are pruned) and tunnel mtu
H A Dip_output.c1382 /* Unless user demanded real pmtu discovery (IP_PMTUDISC_DO), we allow __ip_make_skb()
H A Dtcp_ipv4.c520 * but it is obsoleted by pmtu discovery). tcp_v4_err()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
H A Dreg.h1275 MLXSW_ITEM32(reg, pmtu, local_port, 0x00, 16, 8);
1284 MLXSW_ITEM32(reg, pmtu, max_mtu, 0x04, 16, 16);
1292 MLXSW_ITEM32(reg, pmtu, admin_mtu, 0x08, 16, 16);
1301 MLXSW_ITEM32(reg, pmtu, oper_mtu, 0x0C, 16, 16);
1306 MLXSW_REG_ZERO(pmtu, payload); mlxsw_reg_pmtu_pack()
H A Dswitchx2.c225 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); mlxsw_sx_port_mtu_set()
234 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); mlxsw_sx_port_mtu_set()
H A Dspectrum.c263 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); mlxsw_sp_port_mtu_set()
272 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); mlxsw_sp_port_mtu_set()
/linux-4.4.14/net/l2tp/
H A Dl2tp_ppp.c756 u32 pmtu = dst_mtu(dst); pppol2tp_connect() local
758 if (pmtu != 0) pppol2tp_connect()
759 session->mtu = session->mru = pmtu - pppol2tp_connect()
/linux-4.4.14/include/scsi/
H A Discsi_if.h357 uint16_t pmtu; member in struct:iscsi_path
/linux-4.4.14/drivers/net/ethernet/broadcom/
H A Dcnic.c349 path_req.pmtu = csk->mtu; cnic_send_nlmsg()
2188 conn_addr->pmtu = kwqe3->pmtu; cnic_bnx2x_connect()
3492 l4kwqe3->pmtu = csk->mtu; cnic_cm_conn_req()
3514 l4kwqe3->mss = l4kwqe3->pmtu - sizeof(struct ipv6hdr) - cnic_cm_conn_req()
3518 l4kwqe3->mss = l4kwqe3->pmtu - sizeof(struct iphdr) - cnic_cm_conn_req()
H A Dcnic_defs.h358 u16 pmtu; member in struct:l4_kwq_connect_req3
362 u16 pmtu; member in struct:l4_kwq_connect_req3
5054 u32 pmtu; member in struct:l5cm_conn_addr_params
/linux-4.4.14/drivers/scsi/cxgbi/
H A Dlibcxgbi.c1066 unsigned int cxgbi_sock_select_mss(struct cxgbi_sock *csk, unsigned int pmtu) cxgbi_sock_select_mss() argument
1073 if (csk->advmss > pmtu - 40) cxgbi_sock_select_mss()
1074 csk->advmss = pmtu - 40; cxgbi_sock_select_mss()
/linux-4.4.14/net/netfilter/ipvs/
H A Dip_vs_xmit.c237 /* If we're going to tunnel the packet and pmtu discovery ensure_mtu_is_adequate()

Completed in 1564 milliseconds