psn 1491 arch/mips/mm/tlbex.c unsigned long psn; psn 1493 arch/mips/mm/tlbex.c psn = ilog2(_PAGE_HUGE); /* bit used to indicate huge page */ psn 1521 arch/mips/mm/tlbex.c pwctl |= (1 << 6 | psn); psn 262 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(bth, psn), psn 1525 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.sq.psn = qp1_qp->qplib_qp.sq.psn; psn 1693 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.rq.psn = qp_attr->rq_psn; psn 1704 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.sq.psn = qp_attr->sq_psn; psn 1813 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp_attr->rq_psn = qplib_qp->rq.psn; psn 1815 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp_attr->sq_psn = qplib_qp->sq.psn; psn 1954 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.bth.psn = cpu_to_be32(qp->send_psn); psn 1257 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.rq_psn = cpu_to_le32(qp->rq.psn); psn 1260 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.sq_psn = cpu_to_le32(qp->sq.psn); psn 1353 drivers/infiniband/hw/bnxt_re/qplib_fp.c qp->rq.psn = le32_to_cpu(sb->rq_psn); psn 1355 drivers/infiniband/hw/bnxt_re/qplib_fp.c qp->sq.psn = le32_to_cpu(sb->sq_psn); psn 1560 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->start_psn = sq->psn & BTH_PSN_MASK; psn 1637 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->psn = (sq->psn + 1) & BTH_PSN_MASK; psn 1646 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; psn 1668 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; psn 1686 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; psn 1752 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->next_psn = sq->psn & BTH_PSN_MASK; psn 1785 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->start_psn = sq->psn & BTH_PSN_MASK; psn 243 drivers/infiniband/hw/bnxt_re/qplib_fp.h u32 psn; psn 877 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 psn; psn 904 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 psn; psn 1769 drivers/infiniband/hw/hfi1/driver.c u32 psn; psn 1795 drivers/infiniband/hw/hfi1/driver.c psn = mask_psn(be32_to_cpu(packet.ohdr->bth[2])); psn 1798 drivers/infiniband/hw/hfi1/driver.c mdata.ps_head, opcode, qpn, psn); psn 712 drivers/infiniband/hw/hfi1/qp.c e ? e->psn : 0, psn 58 drivers/infiniband/hw/hfi1/rc.c struct rvt_ack_entry *find_prev_entry(struct rvt_qp *qp, u32 psn, u8 *prev, psn 82 drivers/infiniband/hw/hfi1/rc.c if (cmp_psn(psn, e->psn) >= 0) { psn 84 drivers/infiniband/hw/hfi1/rc.c cmp_psn(psn, e->lpsn) <= 0) psn 162 drivers/infiniband/hw/hfi1/rc.c trace_hfi1_rsp_make_rc_ack(qp, e->psn); psn 212 drivers/infiniband/hw/hfi1/rc.c qp->s_ack_rdma_psn = e->psn; psn 227 drivers/infiniband/hw/hfi1/rc.c qp->s_ack_rdma_psn = mask_psn(e->psn + req->cur_seg); psn 261 drivers/infiniband/hw/hfi1/rc.c bth2 = mask_psn(e->psn); psn 337 drivers/infiniband/hw/hfi1/rc.c trace_hfi1_tid_req_make_rc_ack_write(qp, 0, e->opcode, e->psn, psn 574 drivers/infiniband/hw/hfi1/rc.c qp->s_psn = wqe->psn; psn 751 drivers/infiniband/hw/hfi1/rc.c req->comp_seg = delta_psn(bth2, wqe->psn); psn 764 drivers/infiniband/hw/hfi1/rc.c wqe->psn, wqe->lpsn, psn 804 drivers/infiniband/hw/hfi1/rc.c wqe->psn, wqe->lpsn, psn 806 drivers/infiniband/hw/hfi1/rc.c delta = cmp_psn(qp->s_psn, wqe->psn); psn 1033 drivers/infiniband/hw/hfi1/rc.c len = (delta_psn(qp->s_psn, wqe->psn)) * pmtu; psn 1061 drivers/infiniband/hw/hfi1/rc.c req->comp_seg = delta_psn(qp->s_psn, wqe->psn); psn 1076 drivers/infiniband/hw/hfi1/rc.c wqe->psn, wqe->lpsn, req); psn 1090 drivers/infiniband/hw/hfi1/rc.c req->cur_seg = delta_psn(qp->s_psn, wqe->psn) / priv->pkts_ps; psn 1131 drivers/infiniband/hw/hfi1/rc.c wqe->psn, wqe->lpsn, req); psn 1135 drivers/infiniband/hw/hfi1/rc.c delta = cmp_psn(qp->s_psn, wqe->psn); psn 1174 drivers/infiniband/hw/hfi1/rc.c wqe->psn, wqe->lpsn, req); psn 1178 drivers/infiniband/hw/hfi1/rc.c delta = delta_psn(bth2, wqe->psn); psn 1460 drivers/infiniband/hw/hfi1/rc.c static void update_num_rd_atomic(struct rvt_qp *qp, u32 psn, psn 1473 drivers/infiniband/hw/hfi1/rc.c if (cmp_psn(psn, wqe->lpsn) <= 0) { psn 1476 drivers/infiniband/hw/hfi1/rc.c cur_seg = (psn - wqe->psn) / priv->pkts_ps; psn 1482 drivers/infiniband/hw/hfi1/rc.c wqe->psn, psn 1501 drivers/infiniband/hw/hfi1/rc.c static void reset_psn(struct rvt_qp *qp, u32 psn) psn 1518 drivers/infiniband/hw/hfi1/rc.c if (cmp_psn(psn, wqe->psn) <= 0) { psn 1522 drivers/infiniband/hw/hfi1/rc.c update_num_rd_atomic(qp, psn, wqe); psn 1533 drivers/infiniband/hw/hfi1/rc.c diff = cmp_psn(psn, wqe->psn); psn 1549 drivers/infiniband/hw/hfi1/rc.c update_num_rd_atomic(qp, psn, wqe); psn 1590 drivers/infiniband/hw/hfi1/rc.c qp->s_psn = psn; psn 1607 drivers/infiniband/hw/hfi1/rc.c void hfi1_restart_rc(struct rvt_qp *qp, u32 psn, int wait) psn 1663 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_rc_resends += delta_psn(qp->s_psn, psn); psn 1670 drivers/infiniband/hw/hfi1/rc.c reset_psn(qp, psn); psn 1678 drivers/infiniband/hw/hfi1/rc.c static void reset_sending_psn(struct rvt_qp *qp, u32 psn) psn 1687 drivers/infiniband/hw/hfi1/rc.c if (cmp_psn(psn, wqe->lpsn) <= 0) { psn 1693 drivers/infiniband/hw/hfi1/rc.c qp->s_sending_psn = psn + 1; psn 1719 drivers/infiniband/hw/hfi1/rc.c u32 psn; psn 1728 drivers/infiniband/hw/hfi1/rc.c psn = ib_bth_get_psn(ohdr) | IB_BTH_REQ_ACK; psn 1729 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[2] = cpu_to_be32(psn); psn 1742 drivers/infiniband/hw/hfi1/rc.c u32 psn; psn 1760 drivers/infiniband/hw/hfi1/rc.c psn = ib_bth_get_psn(ohdr); psn 1768 drivers/infiniband/hw/hfi1/rc.c reset_sending_psn(qp, psn); psn 1800 drivers/infiniband/hw/hfi1/rc.c if ((psn & IB_BTH_REQ_ACK) && tail != head && psn 1816 drivers/infiniband/hw/hfi1/rc.c (psn & IB_BTH_REQ_ACK) && psn 1847 drivers/infiniband/hw/hfi1/rc.c trace_hfi1_sendcomplete(qp, psn); psn 1857 drivers/infiniband/hw/hfi1/rc.c static inline void update_last_psn(struct rvt_qp *qp, u32 psn) psn 1859 drivers/infiniband/hw/hfi1/rc.c qp->s_last_psn = psn; psn 1932 drivers/infiniband/hw/hfi1/rc.c qp->s_psn = wqe->psn; psn 1973 drivers/infiniband/hw/hfi1/rc.c static void update_qp_retry_state(struct rvt_qp *qp, u32 psn, u32 spsn, psn 1978 drivers/infiniband/hw/hfi1/rc.c qp->s_psn = psn + 1; psn 1985 drivers/infiniband/hw/hfi1/rc.c if (cmp_psn(psn, lpsn) >= 0) { psn 1990 drivers/infiniband/hw/hfi1/rc.c } else if (!cmp_psn(psn, spsn)) { psn 2007 drivers/infiniband/hw/hfi1/rc.c int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, psn 2026 drivers/infiniband/hw/hfi1/rc.c ack_psn = psn; psn 2066 drivers/infiniband/hw/hfi1/rc.c (delta_psn(psn, qp->s_last_psn) != 1))) { psn 2112 drivers/infiniband/hw/hfi1/rc.c trace_hfi1_rc_ack_do(qp, aeth, psn, wqe); psn 2147 drivers/infiniband/hw/hfi1/rc.c if (cmp_psn(psn, qp->s_last_psn + 1)) { psn 2156 drivers/infiniband/hw/hfi1/rc.c cmp_psn(qp->s_psn, psn) <= 0) psn 2157 drivers/infiniband/hw/hfi1/rc.c update_qp_retry_state(qp, psn, psn 2158 drivers/infiniband/hw/hfi1/rc.c __w->psn, psn 2175 drivers/infiniband/hw/hfi1/rc.c if (cmp_psn(qp->s_psn, psn) <= 0) psn 2176 drivers/infiniband/hw/hfi1/rc.c reset_psn(qp, psn + 1); psn 2181 drivers/infiniband/hw/hfi1/rc.c if (cmp_psn(qp->s_psn, psn) <= 0) { psn 2183 drivers/infiniband/hw/hfi1/rc.c qp->s_psn = psn + 1; psn 2200 drivers/infiniband/hw/hfi1/rc.c cmp_psn(psn, wqe->psn) >= 0) psn 2202 drivers/infiniband/hw/hfi1/rc.c update_last_psn(qp, psn); psn 2231 drivers/infiniband/hw/hfi1/rc.c update_last_psn(qp, psn - 1); psn 2232 drivers/infiniband/hw/hfi1/rc.c reset_psn(qp, psn); psn 2235 drivers/infiniband/hw/hfi1/rc.c ibp->rvp.n_rc_resends += delta_psn(qp->s_psn, psn); psn 2245 drivers/infiniband/hw/hfi1/rc.c update_last_psn(qp, psn - 1); psn 2256 drivers/infiniband/hw/hfi1/rc.c hfi1_restart_rc(qp, psn, 0); psn 2306 drivers/infiniband/hw/hfi1/rc.c static void rdma_seq_err(struct rvt_qp *qp, struct hfi1_ibport *ibp, u32 psn, psn 2317 drivers/infiniband/hw/hfi1/rc.c while (cmp_psn(psn, wqe->lpsn) > 0) { psn 2359 drivers/infiniband/hw/hfi1/rc.c u32 psn = ib_bth_get_psn(packet->ohdr); psn 2367 drivers/infiniband/hw/hfi1/rc.c trace_hfi1_ack(qp, psn); psn 2370 drivers/infiniband/hw/hfi1/rc.c if (cmp_psn(psn, READ_ONCE(qp->s_next_psn)) >= 0) psn 2374 drivers/infiniband/hw/hfi1/rc.c diff = cmp_psn(psn, qp->s_last_psn); psn 2390 drivers/infiniband/hw/hfi1/rc.c if (cmp_psn(psn, qp->s_last_psn + 1) != 0) psn 2409 drivers/infiniband/hw/hfi1/rc.c if (!do_rc_ack(qp, aeth, psn, opcode, val, rcd) || psn 2421 drivers/infiniband/hw/hfi1/rc.c wqe, psn, pmtu); psn 2426 drivers/infiniband/hw/hfi1/rc.c if (unlikely(cmp_psn(psn, qp->s_last_psn + 1))) psn 2454 drivers/infiniband/hw/hfi1/rc.c update_last_psn(qp, psn); psn 2462 drivers/infiniband/hw/hfi1/rc.c if (!do_rc_ack(qp, aeth, psn, opcode, 0, rcd)) psn 2477 drivers/infiniband/hw/hfi1/rc.c wqe, psn, pmtu); psn 2482 drivers/infiniband/hw/hfi1/rc.c if (unlikely(cmp_psn(psn, qp->s_last_psn + 1))) psn 2500 drivers/infiniband/hw/hfi1/rc.c (void)do_rc_ack(qp, aeth, psn, psn 2511 drivers/infiniband/hw/hfi1/rc.c rdma_seq_err(qp, ibp, psn, rcd); psn 2553 drivers/infiniband/hw/hfi1/rc.c struct rvt_qp *qp, u32 opcode, u32 psn, psn 2563 drivers/infiniband/hw/hfi1/rc.c trace_hfi1_rcv_error(qp, psn); psn 2607 drivers/infiniband/hw/hfi1/rc.c e = find_prev_entry(qp, psn, &prev, &mra, &old_req); psn 2630 drivers/infiniband/hw/hfi1/rc.c offset = delta_psn(psn, e->psn) * qp->pmtu; psn 2649 drivers/infiniband/hw/hfi1/rc.c e->psn = psn; psn 2678 drivers/infiniband/hw/hfi1/rc.c if (!(psn & IB_BTH_REQ_ACK) || old_req) psn 2816 drivers/infiniband/hw/hfi1/rc.c u32 psn = ib_bth_get_psn(packet->ohdr); psn 2849 drivers/infiniband/hw/hfi1/rc.c diff = delta_psn(psn, qp->r_psn); psn 2851 drivers/infiniband/hw/hfi1/rc.c if (rc_rcv_error(ohdr, data, qp, opcode, psn, diff, rcd)) psn 3101 drivers/infiniband/hw/hfi1/rc.c e->psn = psn; psn 3177 drivers/infiniband/hw/hfi1/rc.c e->psn = psn; psn 3178 drivers/infiniband/hw/hfi1/rc.c e->lpsn = psn; psn 3202 drivers/infiniband/hw/hfi1/rc.c qp->r_ack_psn = psn; psn 3205 drivers/infiniband/hw/hfi1/rc.c if (psn & IB_BTH_REQ_ACK || fecn) { psn 3259 drivers/infiniband/hw/hfi1/rc.c u32 psn; psn 3264 drivers/infiniband/hw/hfi1/rc.c psn = ib_bth_get_psn(packet->ohdr); psn 3269 drivers/infiniband/hw/hfi1/rc.c diff = delta_psn(psn, qp->r_psn); psn 36 drivers/infiniband/hw/hfi1/rc.h u32 psn, u32 pmtu) psn 40 drivers/infiniband/hw/hfi1/rc.h len = delta_psn(psn, wqe->psn) * pmtu; psn 52 drivers/infiniband/hw/hfi1/rc.h struct rvt_ack_entry *find_prev_entry(struct rvt_qp *qp, u32 psn, u8 *prev, psn 54 drivers/infiniband/hw/hfi1/rc.h int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, u64 val, psn 130 drivers/infiniband/hw/hfi1/tid_rdma.c struct rvt_qp *qp, u32 psn, int diff, bool fecn); psn 348 drivers/infiniband/hw/hfi1/tid_rdma.c qpriv->flow_state.psn = 0; psn 801 drivers/infiniband/hw/hfi1/tid_rdma.c fs->psn = 0; psn 828 drivers/infiniband/hw/hfi1/tid_rdma.c fs->psn = 0; psn 1515 drivers/infiniband/hw/hfi1/tid_rdma.c flow->flow_state.spsn = qpriv->flow_state.psn; psn 1519 drivers/infiniband/hw/hfi1/tid_rdma.c qpriv->flow_state.psn += flow->npkts; psn 1675 drivers/infiniband/hw/hfi1/tid_rdma.c u32 psn, u16 *fidx) psn 1685 drivers/infiniband/hw/hfi1/tid_rdma.c if (cmp_psn(psn, flow->flow_state.ib_spsn) >= 0 && psn 1686 drivers/infiniband/hw/hfi1/tid_rdma.c cmp_psn(psn, flow->flow_state.ib_lpsn) <= 0) { psn 1793 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_build_read_req(qp, 0, wqe->wr.opcode, wqe->psn, psn 1832 drivers/infiniband/hw/hfi1/tid_rdma.c if ((qpriv->flow_state.psn + npkts) > MAX_TID_FLOW_PSN - 1) { psn 1886 drivers/infiniband/hw/hfi1/tid_rdma.c u32 bth0, u32 psn, u64 vaddr, u32 len) psn 1944 drivers/infiniband/hw/hfi1/tid_rdma.c flow->flow_state.ib_spsn = psn; psn 1958 drivers/infiniband/hw/hfi1/tid_rdma.c e->psn = psn; psn 1959 drivers/infiniband/hw/hfi1/tid_rdma.c e->lpsn = psn + flow->npkts - 1; psn 1971 drivers/infiniband/hw/hfi1/tid_rdma.c req->r_flow_psn = e->psn; psn 1973 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_read_req(qp, 0, e->opcode, e->psn, e->lpsn, psn 1980 drivers/infiniband/hw/hfi1/tid_rdma.c struct rvt_qp *qp, u32 psn, int diff) psn 1992 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_rsp_tid_rcv_error(qp, psn); psn 1993 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_rdma_rcv_err(qp, 0, psn, diff); psn 2008 drivers/infiniband/hw/hfi1/tid_rdma.c e = find_prev_entry(qp, psn, &prev, NULL, &old_req); psn 2014 drivers/infiniband/hw/hfi1/tid_rdma.c req->r_flow_psn = psn; psn 2015 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_err(qp, 0, e->opcode, e->psn, e->lpsn, req); psn 2030 drivers/infiniband/hw/hfi1/tid_rdma.c if (psn != e->psn || len != req->total_len) psn 2055 drivers/infiniband/hw/hfi1/tid_rdma.c if (tid_rdma_rcv_read_request(qp, e, packet, ohdr, bth0, psn, psn 2126 drivers/infiniband/hw/hfi1/tid_rdma.c delta_psn(psn, fstate->resp_ib_psn), psn 2129 drivers/infiniband/hw/hfi1/tid_rdma.c delta_psn(psn, fstate->resp_ib_psn); psn 2139 drivers/infiniband/hw/hfi1/tid_rdma.c req->cur_seg = delta_psn(psn, e->psn); psn 2155 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_err(qp, 0, e->opcode, e->psn, psn 2231 drivers/infiniband/hw/hfi1/tid_rdma.c u32 bth0, psn, len, rkey; psn 2243 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); psn 2244 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_rsp_rcv_tid_read_req(qp, psn); psn 2259 drivers/infiniband/hw/hfi1/tid_rdma.c diff = delta_psn(psn, qp->r_psn); psn 2261 drivers/infiniband/hw/hfi1/tid_rdma.c tid_rdma_rcv_err(packet, ohdr, qp, psn, diff, fecn); psn 2288 drivers/infiniband/hw/hfi1/tid_rdma.c if (tid_rdma_rcv_read_request(qp, e, packet, ohdr, bth0, psn, vaddr, psn 2300 drivers/infiniband/hw/hfi1/tid_rdma.c qp->r_psn += e->lpsn - e->psn + 1; psn 2408 drivers/infiniband/hw/hfi1/tid_rdma.c find_tid_request(struct rvt_qp *qp, u32 psn, enum ib_wr_opcode opcode) psn 2420 drivers/infiniband/hw/hfi1/tid_rdma.c if (cmp_psn(psn, wqe->psn) >= 0 && psn 2421 drivers/infiniband/hw/hfi1/tid_rdma.c cmp_psn(psn, wqe->lpsn) <= 0) { psn 2522 drivers/infiniband/hw/hfi1/tid_rdma.c req->e.swqe->psn, req->e.swqe->lpsn, psn 2650 drivers/infiniband/hw/hfi1/tid_rdma.c u8 rte, u32 psn, u32 ibpsn) psn 2734 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_read_kdeth_eflags(qp, 0, wqe->wr.opcode, wqe->psn, psn 2754 drivers/infiniband/hw/hfi1/tid_rdma.c diff = cmp_psn(psn, psn 2780 drivers/infiniband/hw/hfi1/tid_rdma.c if (cmp_psn(fpsn, psn) == 0) { psn 2787 drivers/infiniband/hw/hfi1/tid_rdma.c mask_psn(psn + 1); psn 2851 drivers/infiniband/hw/hfi1/tid_rdma.c u32 qp_num, psn, ibpsn; psn 2876 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); psn 2916 drivers/infiniband/hw/hfi1/tid_rdma.c ret = handle_read_kdeth_eflags(rcd, packet, rcv_type, rte, psn, psn 2938 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_eflags_err_write(qp, rcv_type, rte, psn); psn 2939 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_rsp_handle_kdeth_eflags(qp, psn); psn 2941 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_handle_kdeth_eflags(qp, 0, e->opcode, e->psn, psn 2966 drivers/infiniband/hw/hfi1/tid_rdma.c diff = cmp_psn(psn, psn 2979 drivers/infiniband/hw/hfi1/tid_rdma.c if (psn == full_flow_psn(flow, psn 2983 drivers/infiniband/hw/hfi1/tid_rdma.c mask_psn(psn + 1); psn 3055 drivers/infiniband/hw/hfi1/tid_rdma.c wqe->psn, wqe->lpsn, psn 3123 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_restart_req(qp, 0, wqe->wr.opcode, wqe->psn, psn 3322 drivers/infiniband/hw/hfi1/tid_rdma.c wqe->lpsn = wqe->psn; psn 3344 drivers/infiniband/hw/hfi1/tid_rdma.c wqe->psn, wqe->lpsn, psn 3497 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_write_alloc_res(qp, 0, e->opcode, e->psn, psn 3535 drivers/infiniband/hw/hfi1/tid_rdma.c if (qpriv->flow_state.psn + npkts > MAX_TID_FLOW_PSN - 1) { psn 3589 drivers/infiniband/hw/hfi1/tid_rdma.c qp->r_psn = e->psn + req->alloc_seg; psn 3655 drivers/infiniband/hw/hfi1/tid_rdma.c u32 bth0, psn, len, rkey, num_segs; psn 3666 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); psn 3667 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_rsp_rcv_tid_write_req(qp, psn); psn 3680 drivers/infiniband/hw/hfi1/tid_rdma.c diff = delta_psn(psn, qp->r_psn); psn 3682 drivers/infiniband/hw/hfi1/tid_rdma.c tid_rdma_rcv_err(packet, ohdr, qp, psn, diff, fecn); psn 3740 drivers/infiniband/hw/hfi1/tid_rdma.c e->psn = psn; psn 3754 drivers/infiniband/hw/hfi1/tid_rdma.c req->r_flow_psn = e->psn; psn 3772 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_write_req(qp, 0, e->opcode, e->psn, e->lpsn, psn 3835 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_build_write_resp(qp, 0, e->opcode, e->psn, e->lpsn, psn 4035 drivers/infiniband/hw/hfi1/tid_rdma.c u32 opcode, aeth, psn, flow_psn, i, tidlen = 0, pktlen; psn 4040 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); psn 4047 drivers/infiniband/hw/hfi1/tid_rdma.c if (cmp_psn(psn, qp->s_next_psn) >= 0) psn 4051 drivers/infiniband/hw/hfi1/tid_rdma.c if (unlikely(cmp_psn(psn, qp->s_last_psn) <= 0)) psn 4063 drivers/infiniband/hw/hfi1/tid_rdma.c if (cmp_psn(psn, qp->s_last_psn + 1) != 0) psn 4088 drivers/infiniband/hw/hfi1/tid_rdma.c if (!do_rc_ack(qp, aeth, psn, opcode, 0, rcd)) psn 4091 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_ack(qp, psn); psn 4105 drivers/infiniband/hw/hfi1/tid_rdma.c flow->flow_state.resp_ib_psn = psn; psn 4142 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_write_resp(qp, 0, wqe->wr.opcode, wqe->psn, psn 4148 drivers/infiniband/hw/hfi1/tid_rdma.c if (!cmp_psn(psn, wqe->psn)) { psn 4149 drivers/infiniband/hw/hfi1/tid_rdma.c req->r_last_acked = mask_psn(wqe->psn - 1); psn 4267 drivers/infiniband/hw/hfi1/tid_rdma.c u32 psn, next; psn 4272 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); psn 4283 drivers/infiniband/hw/hfi1/tid_rdma.c if (cmp_psn(psn, full_flow_psn(flow, flow->flow_state.lpsn))) { psn 4286 drivers/infiniband/hw/hfi1/tid_rdma.c if (cmp_psn(psn, flow->flow_state.r_next_psn)) psn 4289 drivers/infiniband/hw/hfi1/tid_rdma.c flow->flow_state.r_next_psn = mask_psn(psn + 1); psn 4310 drivers/infiniband/hw/hfi1/tid_rdma.c len += delta_psn(psn, psn 4328 drivers/infiniband/hw/hfi1/tid_rdma.c priv->r_next_psn_kdeth = mask_psn(psn + 1); psn 4333 drivers/infiniband/hw/hfi1/tid_rdma.c flow->flow_state.r_next_psn = mask_psn(psn + 1); psn 4336 drivers/infiniband/hw/hfi1/tid_rdma.c rcd->flows[flow->idx].psn = psn & HFI1_KDETH_BTH_SEQ_MASK; psn 4347 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_rsp_rcv_tid_write_data(qp, psn); psn 4348 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_write_data(qp, 0, e->opcode, e->psn, e->lpsn, psn 4407 drivers/infiniband/hw/hfi1/tid_rdma.c static bool hfi1_tid_rdma_is_resync_psn(u32 psn) psn 4409 drivers/infiniband/hw/hfi1/tid_rdma.c return (bool)((psn & HFI1_KDETH_BTH_SEQ_MASK) == psn 4492 drivers/infiniband/hw/hfi1/tid_rdma.c u32 aeth, psn, req_psn, ack_psn, flpsn, resync_psn, ack_kpsn; psn 4498 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); psn 4504 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_rcv_tid_ack(qp, aeth, psn, req_psn, resync_psn); psn 4508 drivers/infiniband/hw/hfi1/tid_rdma.c cmp_psn(psn, qpriv->s_resync_psn)) psn 4512 drivers/infiniband/hw/hfi1/tid_rdma.c if (hfi1_tid_rdma_is_resync_psn(psn)) psn 4515 drivers/infiniband/hw/hfi1/tid_rdma.c ack_kpsn = psn; psn 4530 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_tid_ack(qp, 0, wqe->wr.opcode, wqe->psn, psn 4536 drivers/infiniband/hw/hfi1/tid_rdma.c if (cmp_psn(psn, full_flow_psn(flow, flow->flow_state.spsn)) < 0 || psn 4547 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_tid_ack(qp, 0, wqe->wr.opcode, wqe->psn, psn 4566 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_tid_ack(qp, 0, wqe->wr.opcode, wqe->psn, psn 4572 drivers/infiniband/hw/hfi1/tid_rdma.c if (!hfi1_tid_rdma_is_resync_psn(psn)) { psn 4613 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(psn + 1); psn 4614 drivers/infiniband/hw/hfi1/tid_rdma.c generation = psn >> HFI1_KDETH_BTH_SEQ_SHIFT; psn 4635 drivers/infiniband/hw/hfi1/tid_rdma.c req->r_ack_psn = psn; psn 4712 drivers/infiniband/hw/hfi1/tid_rdma.c if (cmp_psn(psn, flpsn) > 0) psn 4811 drivers/infiniband/hw/hfi1/tid_rdma.c qp, 0, wqe->wr.opcode, wqe->psn, wqe->lpsn, req); psn 4867 drivers/infiniband/hw/hfi1/tid_rdma.c u32 psn, generation, idx, gen_next; psn 4872 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); psn 4874 drivers/infiniband/hw/hfi1/tid_rdma.c generation = mask_psn(psn + 1) >> HFI1_KDETH_BTH_SEQ_SHIFT; psn 4902 drivers/infiniband/hw/hfi1/tid_rdma.c fs->psn = 0; psn 4923 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_rcv_resync(qp, 0, e->opcode, e->psn, psn 4940 drivers/infiniband/hw/hfi1/tid_rdma.c flow->flow_state.spsn = fs->psn; psn 4946 drivers/infiniband/hw/hfi1/tid_rdma.c fs->psn += flow->npkts; psn 5057 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_make_tid_pkt(qp, 0, wqe->wr.opcode, wqe->psn, psn 5096 drivers/infiniband/hw/hfi1/tid_rdma.c wqe->psn, wqe->lpsn, req); psn 5218 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_rsp_make_tid_ack(qp, e->psn); psn 5219 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_make_tid_ack(qp, 0, e->opcode, e->psn, e->lpsn, psn 5293 drivers/infiniband/hw/hfi1/tid_rdma.c trace_hfi1_tid_req_make_tid_ack(qp, 0, e->opcode, e->psn, e->lpsn, psn 5487 drivers/infiniband/hw/hfi1/tid_rdma.c struct rvt_qp *qp, u32 psn, int diff, bool fecn) psn 5491 drivers/infiniband/hw/hfi1/tid_rdma.c tid_rdma_rcv_error(packet, ohdr, qp, psn, diff); psn 79 drivers/infiniband/hw/hfi1/tid_rdma.h u32 psn; psn 160 drivers/infiniband/hw/hfi1/trace.c u16 *pkey, u32 *psn, u32 *qpn) psn 171 drivers/infiniband/hw/hfi1/trace.c *psn = mask_psn(ib_bth_get_psn(ohdr)); psn 178 drivers/infiniband/hw/hfi1/trace.c u32 *psn, u32 *qpn) psn 186 drivers/infiniband/hw/hfi1/trace.c *psn = mask_psn(ib_bth_get_psn(ohdr)); psn 259 drivers/infiniband/hw/hfi1/trace.c u8 tver, u16 pkey, u32 psn, u32 qpn, psn 271 drivers/infiniband/hw/hfi1/trace.c se, mig, pad, tver, qpn, ack, psn); psn 277 drivers/infiniband/hw/hfi1/trace.c qpn, ack, psn); psn 118 drivers/infiniband/hw/hfi1/trace_ibhdrs.h u16 *pkey, u32 *psn, u32 *qpn); psn 125 drivers/infiniband/hw/hfi1/trace_ibhdrs.h u32 *psn, u32 *qpn); psn 141 drivers/infiniband/hw/hfi1/trace_ibhdrs.h u8 tver, u16 pkey, u32 psn, u32 qpn, psn 183 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __field(u32, psn) psn 225 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &__entry->psn, psn 249 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &__entry->psn, psn 296 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __entry->psn, psn 342 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __field(u32, psn) psn 390 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &__entry->psn, psn 417 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &__entry->psn, psn 459 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __entry->psn, psn 59 drivers/infiniband/hw/hfi1/trace_rc.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 60 drivers/infiniband/hw/hfi1/trace_rc.h TP_ARGS(qp, psn), psn 65 drivers/infiniband/hw/hfi1/trace_rc.h __field(u32, psn) psn 76 drivers/infiniband/hw/hfi1/trace_rc.h __entry->psn = psn; psn 88 drivers/infiniband/hw/hfi1/trace_rc.h __entry->psn, psn 98 drivers/infiniband/hw/hfi1/trace_rc.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 99 drivers/infiniband/hw/hfi1/trace_rc.h TP_ARGS(qp, psn) psn 103 drivers/infiniband/hw/hfi1/trace_rc.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 104 drivers/infiniband/hw/hfi1/trace_rc.h TP_ARGS(qp, psn) psn 108 drivers/infiniband/hw/hfi1/trace_rc.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 109 drivers/infiniband/hw/hfi1/trace_rc.h TP_ARGS(qp, psn) psn 114 drivers/infiniband/hw/hfi1/trace_rc.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 115 drivers/infiniband/hw/hfi1/trace_rc.h TP_ARGS(qp, psn) psn 120 drivers/infiniband/hw/hfi1/trace_rc.h TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn, psn 122 drivers/infiniband/hw/hfi1/trace_rc.h TP_ARGS(qp, aeth, psn, wqe), psn 127 drivers/infiniband/hw/hfi1/trace_rc.h __field(u32, psn) psn 136 drivers/infiniband/hw/hfi1/trace_rc.h __entry->psn = psn; psn 138 drivers/infiniband/hw/hfi1/trace_rc.h __entry->spsn = wqe->psn; psn 146 drivers/infiniband/hw/hfi1/trace_rc.h __entry->psn, psn 155 drivers/infiniband/hw/hfi1/trace_rc.h TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn, psn 157 drivers/infiniband/hw/hfi1/trace_rc.h TP_ARGS(qp, aeth, psn, wqe) psn 744 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 745 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn), psn 751 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, psn) psn 772 drivers/infiniband/hw/hfi1/trace_tid.h __entry->psn = psn; psn 791 drivers/infiniband/hw/hfi1/trace_tid.h __entry->psn, psn 808 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 809 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn) psn 814 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 815 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn) psn 820 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 821 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn) psn 826 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 827 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn) psn 832 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 833 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn) psn 838 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 839 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn) psn 844 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 845 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn) psn 850 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 851 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn) psn 856 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 857 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn) psn 862 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 863 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, psn) psn 1010 drivers/infiniband/hw/hfi1/trace_tid.h __entry->fpsn = priv->flow_state.psn; psn 1044 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1046 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req), psn 1052 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, psn) psn 1074 drivers/infiniband/hw/hfi1/trace_tid.h __entry->psn = psn; psn 1097 drivers/infiniband/hw/hfi1/trace_tid.h __entry->psn, psn 1118 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1120 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1125 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1127 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1132 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1134 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1139 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1141 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1146 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1148 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1153 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1155 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1160 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1162 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1167 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1169 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1174 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1176 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1181 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1183 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1188 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1190 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1195 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1197 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1202 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1204 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1209 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1211 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1216 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1218 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1223 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1225 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1230 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1232 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1237 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1239 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1244 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1246 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1251 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1253 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1258 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1260 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1265 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, char newreq, u8 opcode, u32 psn, u32 lpsn, psn 1267 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, newreq, opcode, psn, lpsn, req) psn 1272 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 opcode, u32 psn, int diff), psn 1273 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, opcode, psn, diff), psn 1283 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, psn) psn 1296 drivers/infiniband/hw/hfi1/trace_tid.h __entry->psn = psn; psn 1310 drivers/infiniband/hw/hfi1/trace_tid.h __entry->psn, psn 1318 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 opcode, u32 psn, int diff), psn 1319 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, opcode, psn, diff) psn 1396 drivers/infiniband/hw/hfi1/trace_tid.h __entry->fpsn = priv->flow_state.psn; psn 1565 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn, psn 1567 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, aeth, psn, req_psn, resync_psn), psn 1572 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, psn) psn 1580 drivers/infiniband/hw/hfi1/trace_tid.h __entry->psn = psn; psn 1589 drivers/infiniband/hw/hfi1/trace_tid.h __entry->psn, psn 1597 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 aeth, u32 psn, psn 1599 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, aeth, psn, req_psn, resync_psn) psn 1604 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u8 rcv_type, u8 rte, u32 psn), psn 1605 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, rcv_type, rte, psn), psn 1611 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, psn) psn 1618 drivers/infiniband/hw/hfi1/trace_tid.h __entry->psn = psn; psn 1626 drivers/infiniband/hw/hfi1/trace_tid.h __entry->psn psn 1632 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u8 rcv_type, u8 rte, u32 psn), psn 1633 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, rcv_type, rte, psn) psn 152 drivers/infiniband/hw/hfi1/uc.c qp->s_psn = wqe->psn; psn 314 drivers/infiniband/hw/hfi1/uc.c u32 psn; psn 327 drivers/infiniband/hw/hfi1/uc.c psn = ib_bth_get_psn(ohdr); psn 329 drivers/infiniband/hw/hfi1/uc.c if (unlikely(cmp_psn(psn, qp->r_psn) != 0)) { psn 334 drivers/infiniband/hw/hfi1/uc.c qp->r_psn = psn; psn 292 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[2] = cpu_to_be32(mask_psn(wqe->psn)); psn 1147 drivers/infiniband/hw/hfi1/user_sdma.c psn = val & mask; psn 1149 drivers/infiniband/hw/hfi1/user_sdma.c psn = (psn & ~HFI1_KDETH_BTH_SEQ_MASK) | psn 1150 drivers/infiniband/hw/hfi1/user_sdma.c ((psn + frags) & HFI1_KDETH_BTH_SEQ_MASK); psn 1152 drivers/infiniband/hw/hfi1/user_sdma.c psn = psn + frags; psn 1153 drivers/infiniband/hw/hfi1/user_sdma.c return psn & mask; psn 390 drivers/infiniband/hw/hfi1/verbs.h static inline u32 __full_flow_psn(struct flow_state *state, u32 psn) psn 393 drivers/infiniband/hw/hfi1/verbs.h (psn & HFI1_KDETH_BTH_SEQ_MASK)); psn 396 drivers/infiniband/hw/hfi1/verbs.h static inline u32 full_flow_psn(struct tid_rdma_flow *flow, u32 psn) psn 398 drivers/infiniband/hw/hfi1/verbs.h return __full_flow_psn(&flow->flow_state, psn); psn 433 drivers/infiniband/hw/hfi1/verbs.h void hfi1_restart_rc(struct rvt_qp *qp, u32 psn, int wait); psn 2939 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); psn 3228 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); psn 1549 drivers/infiniband/hw/mthca/mthca_qp.c sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); psn 451 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->bth.psn = htonl((qp->sq_psn++) & ((1 << 24) - 1)); psn 312 drivers/infiniband/hw/qib/qib_driver.c u32 psn; psn 343 drivers/infiniband/hw/qib/qib_driver.c psn = be32_to_cpu(ohdr->bth[2]); psn 384 drivers/infiniband/hw/qib/qib_driver.c diff = qib_cmp24(psn, qp->r_psn); psn 43 drivers/infiniband/hw/qib/qib_rc.c u32 psn, u32 pmtu) psn 47 drivers/infiniband/hw/qib/qib_rc.c len = ((psn - wqe->psn) & QIB_PSN_MASK) * pmtu; psn 134 drivers/infiniband/hw/qib/qib_rc.c qp->s_ack_rdma_psn = e->psn; psn 144 drivers/infiniband/hw/qib/qib_rc.c bth2 = e->psn & QIB_PSN_MASK; psn 302 drivers/infiniband/hw/qib/qib_rc.c qp->s_psn = wqe->psn; psn 551 drivers/infiniband/hw/qib/qib_rc.c len = ((qp->s_psn - wqe->psn) & QIB_PSN_MASK) * pmtu; psn 569 drivers/infiniband/hw/qib/qib_rc.c delta = (((int) bth2 - (int) wqe->psn) << 8) >> 8; psn 735 drivers/infiniband/hw/qib/qib_rc.c static void reset_psn(struct rvt_qp *qp, u32 psn) psn 747 drivers/infiniband/hw/qib/qib_rc.c if (qib_cmp24(psn, wqe->psn) <= 0) { psn 762 drivers/infiniband/hw/qib/qib_rc.c diff = qib_cmp24(psn, wqe->psn); psn 805 drivers/infiniband/hw/qib/qib_rc.c qp->s_psn = psn; psn 820 drivers/infiniband/hw/qib/qib_rc.c void qib_restart_rc(struct rvt_qp *qp, u32 psn, int wait) psn 842 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_rc_resends += (qp->s_psn - psn) & QIB_PSN_MASK; psn 849 drivers/infiniband/hw/qib/qib_rc.c reset_psn(qp, psn); psn 856 drivers/infiniband/hw/qib/qib_rc.c static void reset_sending_psn(struct rvt_qp *qp, u32 psn) psn 864 drivers/infiniband/hw/qib/qib_rc.c if (qib_cmp24(psn, wqe->lpsn) <= 0) { psn 868 drivers/infiniband/hw/qib/qib_rc.c qp->s_sending_psn = psn + 1; psn 886 drivers/infiniband/hw/qib/qib_rc.c u32 psn; psn 905 drivers/infiniband/hw/qib/qib_rc.c psn = be32_to_cpu(ohdr->bth[2]); psn 906 drivers/infiniband/hw/qib/qib_rc.c reset_sending_psn(qp, psn); psn 912 drivers/infiniband/hw/qib/qib_rc.c if ((psn & IB_BTH_REQ_ACK) && qp->s_acked != qp->s_tail && psn 940 drivers/infiniband/hw/qib/qib_rc.c static inline void update_last_psn(struct rvt_qp *qp, u32 psn) psn 942 drivers/infiniband/hw/qib/qib_rc.c qp->s_last_psn = psn; psn 983 drivers/infiniband/hw/qib/qib_rc.c qp->s_psn = wqe->psn; psn 1006 drivers/infiniband/hw/qib/qib_rc.c static int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, psn 1022 drivers/infiniband/hw/qib/qib_rc.c ack_psn = psn; psn 1116 drivers/infiniband/hw/qib/qib_rc.c if (qib_cmp24(qp->s_psn, psn) <= 0) psn 1117 drivers/infiniband/hw/qib/qib_rc.c reset_psn(qp, psn + 1); psn 1121 drivers/infiniband/hw/qib/qib_rc.c if (qib_cmp24(qp->s_psn, psn) <= 0) { psn 1123 drivers/infiniband/hw/qib/qib_rc.c qp->s_psn = psn + 1; psn 1133 drivers/infiniband/hw/qib/qib_rc.c update_last_psn(qp, psn); psn 1150 drivers/infiniband/hw/qib/qib_rc.c update_last_psn(qp, psn - 1); psn 1152 drivers/infiniband/hw/qib/qib_rc.c ibp->rvp.n_rc_resends += (qp->s_psn - psn) & QIB_PSN_MASK; psn 1154 drivers/infiniband/hw/qib/qib_rc.c reset_psn(qp, psn); psn 1165 drivers/infiniband/hw/qib/qib_rc.c update_last_psn(qp, psn - 1); psn 1176 drivers/infiniband/hw/qib/qib_rc.c qib_restart_rc(qp, psn, 0); psn 1223 drivers/infiniband/hw/qib/qib_rc.c static void rdma_seq_err(struct rvt_qp *qp, struct qib_ibport *ibp, u32 psn, psn 1233 drivers/infiniband/hw/qib/qib_rc.c while (qib_cmp24(psn, wqe->lpsn) > 0) { psn 1272 drivers/infiniband/hw/qib/qib_rc.c u32 psn, u32 hdrsize, u32 pmtu, psn 1289 drivers/infiniband/hw/qib/qib_rc.c if ((qib_cmp24(psn, qp->s_sending_psn) >= 0) && psn 1312 drivers/infiniband/hw/qib/qib_rc.c if (qib_cmp24(psn, READ_ONCE(qp->s_next_psn)) >= 0) psn 1316 drivers/infiniband/hw/qib/qib_rc.c diff = qib_cmp24(psn, qp->s_last_psn); psn 1332 drivers/infiniband/hw/qib/qib_rc.c if (qib_cmp24(psn, qp->s_last_psn + 1) != 0) psn 1351 drivers/infiniband/hw/qib/qib_rc.c if (!do_rc_ack(qp, aeth, psn, opcode, val, rcd) || psn 1364 drivers/infiniband/hw/qib/qib_rc.c wqe, psn, pmtu); psn 1369 drivers/infiniband/hw/qib/qib_rc.c if (unlikely(qib_cmp24(psn, qp->s_last_psn + 1))) psn 1397 drivers/infiniband/hw/qib/qib_rc.c update_last_psn(qp, psn); psn 1405 drivers/infiniband/hw/qib/qib_rc.c if (!do_rc_ack(qp, aeth, psn, opcode, 0, rcd)) psn 1423 drivers/infiniband/hw/qib/qib_rc.c wqe, psn, pmtu); psn 1428 drivers/infiniband/hw/qib/qib_rc.c if (unlikely(qib_cmp24(psn, qp->s_last_psn + 1))) psn 1449 drivers/infiniband/hw/qib/qib_rc.c (void) do_rc_ack(qp, aeth, psn, psn 1459 drivers/infiniband/hw/qib/qib_rc.c rdma_seq_err(qp, ibp, psn, rcd); psn 1494 drivers/infiniband/hw/qib/qib_rc.c u32 psn, psn 1567 drivers/infiniband/hw/qib/qib_rc.c if (qib_cmp24(psn, e->psn) >= 0) { psn 1569 drivers/infiniband/hw/qib/qib_rc.c qib_cmp24(psn, e->lpsn) <= 0) psn 1595 drivers/infiniband/hw/qib/qib_rc.c offset = ((psn - e->psn) & QIB_PSN_MASK) * psn 1618 drivers/infiniband/hw/qib/qib_rc.c e->psn = psn; psn 1643 drivers/infiniband/hw/qib/qib_rc.c if (!(psn & IB_BTH_REQ_ACK) || old_req) psn 1663 drivers/infiniband/hw/qib/qib_rc.c qp->r_ack_psn = qp->s_ack_queue[i].psn - 1; psn 1718 drivers/infiniband/hw/qib/qib_rc.c u32 psn; psn 1740 drivers/infiniband/hw/qib/qib_rc.c psn = be32_to_cpu(ohdr->bth[2]); psn 1751 drivers/infiniband/hw/qib/qib_rc.c qib_rc_rcv_resp(ibp, ohdr, data, tlen, qp, opcode, psn, psn 1757 drivers/infiniband/hw/qib/qib_rc.c diff = qib_cmp24(psn, qp->r_psn); psn 1759 drivers/infiniband/hw/qib/qib_rc.c if (qib_rc_rcv_error(ohdr, data, qp, opcode, psn, diff, rcd)) psn 1983 drivers/infiniband/hw/qib/qib_rc.c e->psn = psn; psn 2051 drivers/infiniband/hw/qib/qib_rc.c e->psn = psn; psn 2052 drivers/infiniband/hw/qib/qib_rc.c e->lpsn = psn; psn 2072 drivers/infiniband/hw/qib/qib_rc.c qp->r_ack_psn = psn; psn 2075 drivers/infiniband/hw/qib/qib_rc.c if (psn & (1 << 31)) psn 97 drivers/infiniband/hw/qib/qib_uc.c qp->s_psn = wqe->psn; psn 243 drivers/infiniband/hw/qib/qib_uc.c u32 psn; psn 263 drivers/infiniband/hw/qib/qib_uc.c psn = be32_to_cpu(ohdr->bth[2]); psn 267 drivers/infiniband/hw/qib/qib_uc.c if (unlikely(qib_cmp24(psn, qp->r_psn) != 0)) { psn 272 drivers/infiniband/hw/qib/qib_uc.c qp->r_psn = psn; psn 376 drivers/infiniband/hw/qib/qib_ud.c ohdr->bth[2] = cpu_to_be32(wqe->psn & QIB_PSN_MASK); psn 279 drivers/infiniband/hw/qib/qib_verbs.h void qib_restart_rc(struct rvt_qp *qp, u32 psn, int wait); psn 2125 drivers/infiniband/sw/rdmavt/qp.c wqe->psn = 0; psn 2129 drivers/infiniband/sw/rdmavt/qp.c wqe->psn = qp->s_next_psn; psn 2130 drivers/infiniband/sw/rdmavt/qp.c wqe->lpsn = wqe->psn + psn 60 drivers/infiniband/sw/rdmavt/trace_rc.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 61 drivers/infiniband/sw/rdmavt/trace_rc.h TP_ARGS(qp, psn), psn 66 drivers/infiniband/sw/rdmavt/trace_rc.h __field(u32, psn) psn 77 drivers/infiniband/sw/rdmavt/trace_rc.h __entry->psn = psn; psn 89 drivers/infiniband/sw/rdmavt/trace_rc.h __entry->psn, psn 99 drivers/infiniband/sw/rdmavt/trace_rc.h TP_PROTO(struct rvt_qp *qp, u32 psn), psn 100 drivers/infiniband/sw/rdmavt/trace_rc.h TP_ARGS(qp, psn) psn 99 drivers/infiniband/sw/rdmavt/trace_tx.h __field(u32, psn) psn 119 drivers/infiniband/sw/rdmavt/trace_tx.h __entry->psn = wqe->psn; psn 141 drivers/infiniband/sw/rdmavt/trace_tx.h __entry->psn, psn 206 drivers/infiniband/sw/rxe/rxe_comp.c diff = psn_compare(pkt->psn, wqe->last_psn); psn 220 drivers/infiniband/sw/rxe/rxe_comp.c diff = psn_compare(pkt->psn, qp->comp.psn); psn 225 drivers/infiniband/sw/rxe/rxe_comp.c if (pkt->psn == wqe->last_psn) psn 260 drivers/infiniband/sw/rxe/rxe_comp.c if ((pkt->psn == wqe->first_psn && psn 326 drivers/infiniband/sw/rxe/rxe_comp.c if (psn_compare(pkt->psn, qp->comp.psn) > 0) { psn 329 drivers/infiniband/sw/rxe/rxe_comp.c qp->comp.psn = pkt->psn; psn 490 drivers/infiniband/sw/rxe/rxe_comp.c (qp->comp.psn == qp->req.psn)) { psn 510 drivers/infiniband/sw/rxe/rxe_comp.c if (psn_compare(pkt->psn, qp->comp.psn) >= 0) psn 521 drivers/infiniband/sw/rxe/rxe_comp.c if (psn_compare(wqe->last_psn, qp->comp.psn) >= 0) { psn 522 drivers/infiniband/sw/rxe/rxe_comp.c qp->comp.psn = (wqe->last_psn + 1) & BTH_PSN_MASK; psn 622 drivers/infiniband/sw/rxe/rxe_comp.c wqe->last_psn == pkt->psn) psn 642 drivers/infiniband/sw/rxe/rxe_comp.c if (psn_compare(pkt->psn, qp->comp.psn) >= 0) psn 643 drivers/infiniband/sw/rxe/rxe_comp.c qp->comp.psn = (pkt->psn + 1) & BTH_PSN_MASK; psn 677 drivers/infiniband/sw/rxe/rxe_comp.c (psn_compare(qp->req.psn, qp->comp.psn) > 0) && psn 719 drivers/infiniband/sw/rxe/rxe_comp.c if (psn_compare(qp->req.psn, psn 720 drivers/infiniband/sw/rxe/rxe_comp.c qp->comp.psn) > 0) { psn 47 drivers/infiniband/sw/rxe/rxe_hdr.h u32 psn; /* bth psn of packet */ psn 299 drivers/infiniband/sw/rxe/rxe_hdr.h static inline void __bth_set_psn(void *arg, u32 psn) psn 304 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn = cpu_to_be32((BTH_PSN_MASK & psn) | psn 428 drivers/infiniband/sw/rxe/rxe_hdr.h static inline void bth_set_psn(struct rxe_pkt_info *pkt, u32 psn) psn 430 drivers/infiniband/sw/rxe/rxe_hdr.h __bth_set_psn(pkt->hdr + pkt->offset, psn); psn 435 drivers/infiniband/sw/rxe/rxe_hdr.h u32 psn) psn 447 drivers/infiniband/sw/rxe/rxe_hdr.h psn &= BTH_PSN_MASK; psn 449 drivers/infiniband/sw/rxe/rxe_hdr.h psn |= BTH_ACK_MASK; psn 450 drivers/infiniband/sw/rxe/rxe_hdr.h bth->apsn = cpu_to_be32(psn); psn 676 drivers/infiniband/sw/rxe/rxe_qp.c qp->resp.psn = qp->attr.rq_psn; psn 678 drivers/infiniband/sw/rxe/rxe_qp.c qp->resp.psn); psn 689 drivers/infiniband/sw/rxe/rxe_qp.c qp->req.psn = qp->attr.sq_psn; psn 690 drivers/infiniband/sw/rxe/rxe_qp.c qp->comp.psn = qp->attr.sq_psn; psn 691 drivers/infiniband/sw/rxe/rxe_qp.c pr_debug("qp#%d set req psn = 0x%x\n", qp_num(qp), qp->req.psn); psn 750 drivers/infiniband/sw/rxe/rxe_qp.c attr->rq_psn = qp->resp.psn; psn 751 drivers/infiniband/sw/rxe/rxe_qp.c attr->sq_psn = qp->req.psn; psn 375 drivers/infiniband/sw/rxe/rxe_recv.c pkt->psn = bth_psn(pkt); psn 77 drivers/infiniband/sw/rxe/rxe_req.c qp->req.psn = qp->comp.psn; psn 108 drivers/infiniband/sw/rxe/rxe_req.c npsn = (qp->comp.psn - wqe->first_psn) & psn 403 drivers/infiniband/sw/rxe/rxe_req.c pkt->psn = qp->req.psn; psn 435 drivers/infiniband/sw/rxe/rxe_req.c ack_req, pkt->psn); psn 542 drivers/infiniband/sw/rxe/rxe_req.c wqe->first_psn = qp->req.psn; psn 543 drivers/infiniband/sw/rxe/rxe_req.c wqe->last_psn = (qp->req.psn + num_pkt - 1) & BTH_PSN_MASK; psn 547 drivers/infiniband/sw/rxe/rxe_req.c qp->req.psn = (wqe->first_psn + num_pkt) & BTH_PSN_MASK; psn 549 drivers/infiniband/sw/rxe/rxe_req.c qp->req.psn = (qp->req.psn + 1) & BTH_PSN_MASK; psn 560 drivers/infiniband/sw/rxe/rxe_req.c *rollback_psn = qp->req.psn; psn 571 drivers/infiniband/sw/rxe/rxe_req.c qp->req.psn = rollback_psn; psn 667 drivers/infiniband/sw/rxe/rxe_req.c qp->req.psn > (qp->comp.psn + RXE_MAX_UNACKED_PSNS))) { psn 702 drivers/infiniband/sw/rxe/rxe_req.c wqe->first_psn = qp->req.psn; psn 703 drivers/infiniband/sw/rxe/rxe_req.c wqe->last_psn = qp->req.psn; psn 704 drivers/infiniband/sw/rxe/rxe_req.c qp->req.psn = (qp->req.psn + 1) & BTH_PSN_MASK; psn 147 drivers/infiniband/sw/rxe/rxe_resp.c int diff = psn_compare(pkt->psn, qp->resp.psn); psn 590 drivers/infiniband/sw/rxe/rxe_resp.c u32 psn, psn 625 drivers/infiniband/sw/rxe/rxe_resp.c bth_set_psn(ack, psn); psn 627 drivers/infiniband/sw/rxe/rxe_resp.c ack->psn = psn; psn 686 drivers/infiniband/sw/rxe/rxe_resp.c res->first_psn = req_pkt->psn; psn 689 drivers/infiniband/sw/rxe/rxe_resp.c res->last_psn = (req_pkt->psn + psn 695 drivers/infiniband/sw/rxe/rxe_resp.c res->cur_psn = req_pkt->psn; psn 761 drivers/infiniband/sw/rxe/rxe_resp.c if (psn_compare(res->cur_psn, qp->resp.psn) >= 0) psn 762 drivers/infiniband/sw/rxe/rxe_resp.c qp->resp.psn = res->cur_psn; psn 821 drivers/infiniband/sw/rxe/rxe_resp.c qp->resp.psn = (pkt->psn + 1) & BTH_PSN_MASK; psn 822 drivers/infiniband/sw/rxe/rxe_resp.c qp->resp.ack_psn = qp->resp.psn; psn 959 drivers/infiniband/sw/rxe/rxe_resp.c u8 syndrome, u32 psn) psn 966 drivers/infiniband/sw/rxe/rxe_resp.c 0, psn, syndrome, NULL); psn 989 drivers/infiniband/sw/rxe/rxe_resp.c IB_OPCODE_RC_ATOMIC_ACKNOWLEDGE, 0, pkt->psn, psn 1009 drivers/infiniband/sw/rxe/rxe_resp.c res->first_psn = ack_pkt.psn; psn 1010 drivers/infiniband/sw/rxe/rxe_resp.c res->last_psn = ack_pkt.psn; psn 1011 drivers/infiniband/sw/rxe/rxe_resp.c res->cur_psn = ack_pkt.psn; psn 1029 drivers/infiniband/sw/rxe/rxe_resp.c send_ack(qp, pkt, qp->resp.aeth_syndrome, pkt->psn); psn 1033 drivers/infiniband/sw/rxe/rxe_resp.c send_ack(qp, pkt, AETH_ACK_UNLIMITED, pkt->psn); psn 1057 drivers/infiniband/sw/rxe/rxe_resp.c static struct resp_res *find_resource(struct rxe_qp *qp, u32 psn) psn 1067 drivers/infiniband/sw/rxe/rxe_resp.c if (psn_compare(psn, res->first_psn) >= 0 && psn 1068 drivers/infiniband/sw/rxe/rxe_resp.c psn_compare(psn, res->last_psn) <= 0) { psn 1092 drivers/infiniband/sw/rxe/rxe_resp.c res = find_resource(qp, pkt->psn); psn 1119 drivers/infiniband/sw/rxe/rxe_resp.c res->cur_psn = pkt->psn; psn 1120 drivers/infiniband/sw/rxe/rxe_resp.c res->state = (pkt->psn == res->first_psn) ? psn 1139 drivers/infiniband/sw/rxe/rxe_resp.c res = find_resource(qp, pkt->psn); psn 1292 drivers/infiniband/sw/rxe/rxe_resp.c send_ack(qp, pkt, AETH_NAK_PSN_SEQ_ERROR, qp->resp.psn); psn 1317 drivers/infiniband/sw/rxe/rxe_resp.c pkt->psn); psn 145 drivers/infiniband/sw/rxe/rxe_verbs.h u32 psn; psn 157 drivers/infiniband/sw/rxe/rxe_verbs.h u32 psn; psn 199 drivers/infiniband/sw/rxe/rxe_verbs.h u32 psn; psn 275 drivers/infiniband/ulp/ipoib/ipoib_cm.c unsigned int psn) psn 298 drivers/infiniband/ulp/ipoib/ipoib_cm.c qp_attr.rq_psn = psn; psn 423 drivers/infiniband/ulp/ipoib/ipoib_cm.c unsigned int psn) psn 438 drivers/infiniband/ulp/ipoib/ipoib_cm.c rep.starting_psn = psn; psn 448 drivers/infiniband/ulp/ipoib/ipoib_cm.c unsigned int psn; psn 468 drivers/infiniband/ulp/ipoib/ipoib_cm.c psn = prandom_u32() & 0xffffff; psn 469 drivers/infiniband/ulp/ipoib/ipoib_cm.c ret = ipoib_cm_modify_rx_qp(dev, cm_id, p->qp, psn); psn 489 drivers/infiniband/ulp/ipoib/ipoib_cm.c ret = ipoib_cm_send_rep(dev, cm_id, p->qp, &event->param.req_rcvd, psn); psn 8189 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le32 psn; psn 8206 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le32 psn; psn 9382 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le32 psn; psn 902 drivers/net/ethernet/qlogic/qed/qed_roce.c out_params->rq_psn = le32_to_cpu(p_resp_ramrod_res->psn); psn 949 drivers/net/ethernet/qlogic/qed/qed_roce.c out_params->sq_psn = le32_to_cpu(p_req_ramrod_res->psn); psn 222 include/rdma/ib_pack.h __be32 psn; psn 400 include/rdma/rdma_vt.h void (*notify_restart_rc)(struct rvt_qp *qp, u32 psn, int wait); psn 189 include/rdma/rdmavt_qp.h u32 psn; /* first packet sequence number */ psn 288 include/rdma/rdmavt_qp.h u32 psn; psn 460 net/smc/af_smc.c link->peer_psn = ntoh24(clc->psn); psn 517 net/smc/smc_clc.c hton24(cclc.psn, link->psn_initial); psn 589 net/smc/smc_clc.c hton24(aclc.psn, link->psn_initial); psn 137 net/smc/smc_clc.h u8 psn[3]; /* packet sequence number */