Searched refs:psn (Results 1 – 12 of 12) sorted by relevance
/drivers/infiniband/hw/qib/ |
D | qib_rc.c | 44 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 …]
|
D | qib_uc.c | 97 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()
|
D | qib_driver.c | 315 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()
|
D | qib_verbs.h | 342 u32 psn; /* first packet sequence number */ member 404 u32 psn; member
|
/drivers/infiniband/hw/ipath/ |
D | ipath_rc.c | 43 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 …]
|
D | ipath_uc.c | 97 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()
|
D | ipath_verbs.h | 281 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/ |
D | ipoib_cm.c | 274 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/ |
D | ud_header.c | 195 { STRUCT_FIELD(bth, psn),
|
D | ucm.c | 764 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/ |
D | qp.c | 2039 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/ |
D | mthca_qp.c | 1528 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); in build_mlx_header()
|