Home
last modified time | relevance | path

Searched refs:psn (Results 1 – 19 of 19) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_rc.c43 u32 psn, u32 pmtu) in restart_sge() argument
47 len = ((psn - wqe->psn) & IPATH_PSN_MASK) * pmtu; in restart_sge()
139 qp->s_ack_rdma_psn = e->psn; in ipath_make_rc_ack()
152 bth2 = e->psn; in ipath_make_rc_ack()
299 wqe->psn = qp->s_next_psn; in ipath_make_rc_req()
319 wqe->lpsn = wqe->psn; in ipath_make_rc_req()
358 wqe->lpsn = wqe->psn; in ipath_make_rc_req()
431 wqe->lpsn = wqe->psn; in ipath_make_rc_req()
568 len = ((qp->s_psn - wqe->psn) & IPATH_PSN_MASK) * pmtu; in ipath_make_rc_req()
724 static void reset_psn(struct ipath_qp *qp, u32 psn) in reset_psn() argument
[all …]
Dipath_uc.c97 qp->s_psn = wqe->psn = qp->s_next_psn; in ipath_make_uc_req()
246 u32 psn; in ipath_uc_rcv() local
261 psn = be32_to_cpu(ohdr->bth[2]); in ipath_uc_rcv()
274 psn = be32_to_cpu(((__be32 *) data)[0]); in ipath_uc_rcv()
277 psn = be32_to_cpu(ohdr->bth[2]); in ipath_uc_rcv()
288 if (unlikely(ipath_cmp24(psn, qp->r_psn) != 0)) { in ipath_uc_rcv()
293 qp->r_psn = psn; in ipath_uc_rcv()
Dipath_verbs.h287 u32 psn; /* first packet sequence number */ member
348 u32 psn; member
779 void ipath_restart_rc(struct ipath_qp *qp, u32 psn);
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_rc.c44 u32 psn, u32 pmtu) in restart_sge() argument
48 len = ((psn - wqe->psn) & QIB_PSN_MASK) * pmtu; in restart_sge()
149 qp->s_ack_rdma_psn = e->psn; in qib_make_rc_ack()
162 bth2 = e->psn & QIB_PSN_MASK; in qib_make_rc_ack()
323 wqe->psn = qp->s_next_psn; in qib_make_rc_req()
343 wqe->lpsn = wqe->psn; in qib_make_rc_req()
383 wqe->lpsn = wqe->psn; in qib_make_rc_req()
458 wqe->lpsn = wqe->psn; in qib_make_rc_req()
600 len = ((qp->s_psn - wqe->psn) & QIB_PSN_MASK) * pmtu; in qib_make_rc_req()
618 delta = (((int) bth2 - (int) wqe->psn) << 8) >> 8; in qib_make_rc_req()
[all …]
Dqib_uc.c97 wqe->psn = qp->s_next_psn; in qib_make_uc_req()
248 u32 psn; in qib_uc_rcv() local
268 psn = be32_to_cpu(ohdr->bth[2]); in qib_uc_rcv()
272 if (unlikely(qib_cmp24(psn, qp->r_psn) != 0)) { in qib_uc_rcv()
277 qp->r_psn = psn; in qib_uc_rcv()
Dqib_driver.c315 u32 psn; in qib_rcv_hdrerr() local
346 psn = be32_to_cpu(ohdr->bth[2]); in qib_rcv_hdrerr()
384 diff = qib_cmp24(psn, qp->r_psn); in qib_rcv_hdrerr()
Dqib_verbs.h350 u32 psn; /* first packet sequence number */ member
412 u32 psn; member
/linux-4.4.14/drivers/staging/rdma/hfi1/
Drc.c64 u32 psn, u32 pmtu) in restart_sge() argument
68 len = delta_psn(psn, wqe->psn) * pmtu; in restart_sge()
170 qp->s_ack_rdma_psn = e->psn; in make_rc_ack()
183 bth2 = mask_psn(e->psn); in make_rc_ack()
353 wqe->psn = qp->s_next_psn; in hfi1_make_rc_req()
373 wqe->lpsn = wqe->psn; in hfi1_make_rc_req()
412 wqe->lpsn = wqe->psn; in hfi1_make_rc_req()
486 wqe->lpsn = wqe->psn; in hfi1_make_rc_req()
630 len = (delta_psn(qp->s_psn, wqe->psn)) * pmtu; in hfi1_make_rc_req()
648 delta = delta_psn(bth2, wqe->psn); in hfi1_make_rc_req()
[all …]
Dtrace.h454 __field(u32, psn)
506 __entry->psn =
535 __entry->psn,
1256 TP_PROTO(struct hfi1_qp *qp, u32 psn),
1257 TP_ARGS(qp, psn),
1262 __field(u32, psn)
1273 __entry->psn = psn;
1285 __entry->psn,
1295 TP_PROTO(struct hfi1_qp *qp, u32 psn),
1296 TP_ARGS(qp, psn)
[all …]
Duc.c115 wqe->psn = qp->s_next_psn; in hfi1_make_uc_req()
273 u32 psn; in hfi1_uc_rcv() local
318 psn = be32_to_cpu(ohdr->bth[2]); in hfi1_uc_rcv()
322 if (unlikely(cmp_psn(psn, qp->r_psn) != 0)) { in hfi1_uc_rcv()
327 qp->r_psn = psn; in hfi1_uc_rcv()
Duser_sdma.c1159 psn = val & mask; in set_pkt_bth_psn() local
1161 psn = (psn & ~BTH_SEQ_MASK) | ((psn + frags) & BTH_SEQ_MASK); in set_pkt_bth_psn()
1163 psn = psn + frags; in set_pkt_bth_psn()
1164 return psn & mask; in set_pkt_bth_psn()
Dverbs.h357 u32 psn; /* first packet sequence number */ member
419 u32 psn; member
/linux-4.4.14/include/uapi/rdma/
Dib_user_cm.h135 __u32 psn; member
159 __u32 psn; member
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c274 unsigned psn) in ipoib_cm_modify_rx_qp() argument
297 qp_attr.rq_psn = psn; in ipoib_cm_modify_rx_qp()
421 unsigned psn) in ipoib_cm_send_rep() argument
436 rep.starting_psn = psn; in ipoib_cm_send_rep()
445 unsigned psn; in ipoib_cm_req_handler() local
465 psn = prandom_u32() & 0xffffff; in ipoib_cm_req_handler()
466 ret = ipoib_cm_modify_rx_qp(dev, cm_id, p->qp, psn); in ipoib_cm_req_handler()
486 ret = ipoib_cm_send_rep(dev, cm_id, p->qp, &event->param.req_rcvd, psn); in ipoib_cm_req_handler()
/linux-4.4.14/include/rdma/
Dib_pack.h210 __be32 psn; member
/linux-4.4.14/drivers/infiniband/core/
Dud_header.c195 { STRUCT_FIELD(bth, psn),
Ducm.c763 param.starting_psn = cmd.psn; in ib_ucm_send_req()
808 param.starting_psn = cmd.psn; in ib_ucm_send_rep()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dqp.c2198 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); in build_sriov_qp0_header()
2425 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); in build_mlx_header()
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_qp.c1528 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); in build_mlx_header()