Home
last modified time | relevance | path

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

/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()
382 wqe->lpsn = wqe->psn; in qib_make_rc_req()
456 wqe->lpsn = wqe->psn; in qib_make_rc_req()
598 len = ((qp->s_psn - wqe->psn) & QIB_PSN_MASK) * pmtu; in qib_make_rc_req()
616 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()
383 diff = qib_cmp24(psn, qp->r_psn); in qib_rcv_hdrerr()
Dqib_verbs.h342 u32 psn; /* first packet sequence number */ member
404 u32 psn; member
/drivers/infiniband/hw/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.h281 u32 psn; /* first packet sequence number */ member
342 u32 psn; member
771 void ipath_restart_rc(struct ipath_qp *qp, u32 psn);
/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()
/drivers/infiniband/core/
Dud_header.c195 { STRUCT_FIELD(bth, psn),
Ducm.c764 param.starting_psn = cmd.psn; in ib_ucm_send_req()
809 param.starting_psn = cmd.psn; in ib_ucm_send_rep()
/drivers/infiniband/hw/mlx4/
Dqp.c2039 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); in build_sriov_qp0_header()
2263 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); in build_mlx_header()
/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()