/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | trace_rc.h | 18 TP_PROTO(struct rvt_qp *qp, u32 psn), 19 TP_ARGS(qp, psn), 24 __field(u32, psn) 35 __entry->psn = psn; 47 __entry->psn, 57 TP_PROTO(struct rvt_qp *qp, u32 psn), 58 TP_ARGS(qp, psn) 62 TP_PROTO(struct rvt_qp *qp, u32 psn), 63 TP_ARGS(qp, psn) 67 TP_PROTO(struct rvt_qp *qp, u32 psn), [all …]
|
D | trace_tid.h | 744 TP_PROTO(struct rvt_qp *qp, u32 psn), 745 TP_ARGS(qp, psn), 751 __field(u32, psn) 772 __entry->psn = psn; 791 __entry->psn, 808 TP_PROTO(struct rvt_qp *qp, u32 psn), 809 TP_ARGS(qp, psn) 814 TP_PROTO(struct rvt_qp *qp, u32 psn), 815 TP_ARGS(qp, psn) 820 TP_PROTO(struct rvt_qp *qp, u32 psn), [all …]
|
D | rc.c | 16 struct rvt_ack_entry *find_prev_entry(struct rvt_qp *qp, u32 psn, u8 *prev, in find_prev_entry() argument 40 if (cmp_psn(psn, e->psn) >= 0) { in find_prev_entry() 42 cmp_psn(psn, e->lpsn) <= 0) in find_prev_entry() 120 trace_hfi1_rsp_make_rc_ack(qp, e->psn); in make_rc_ack() 170 qp->s_ack_rdma_psn = e->psn; in make_rc_ack() 185 qp->s_ack_rdma_psn = mask_psn(e->psn + req->cur_seg); in make_rc_ack() 219 bth2 = mask_psn(e->psn); in make_rc_ack() 295 trace_hfi1_tid_req_make_rc_ack_write(qp, 0, e->opcode, e->psn, in make_rc_ack() 533 qp->s_psn = wqe->psn; in hfi1_make_rc_req() 710 req->comp_seg = delta_psn(bth2, wqe->psn); in hfi1_make_rc_req() [all …]
|
D | rc.h | 36 u32 psn, u32 pmtu) in restart_sge() argument 40 len = delta_psn(psn, wqe->psn) * pmtu; in restart_sge() 52 struct rvt_ack_entry *find_prev_entry(struct rvt_qp *qp, u32 psn, u8 *prev, 54 int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, u64 val,
|
D | tid_rdma.c | 130 struct rvt_qp *qp, u32 psn, int diff, bool fecn); 349 qpriv->flow_state.psn = 0; in hfi1_qp_priv_init() 806 fs->psn = 0; in hfi1_kern_setup_hw_flow() 833 fs->psn = 0; in hfi1_kern_clear_hw_flow() 1522 flow->flow_state.spsn = qpriv->flow_state.psn; in hfi1_kern_exp_rcv_setup() 1526 qpriv->flow_state.psn += flow->npkts; in hfi1_kern_exp_rcv_setup() 1682 u32 psn, u16 *fidx) in find_flow_ib() argument 1692 if (cmp_psn(psn, flow->flow_state.ib_spsn) >= 0 && in find_flow_ib() 1693 cmp_psn(psn, flow->flow_state.ib_lpsn) <= 0) { in find_flow_ib() 1800 trace_hfi1_tid_req_build_read_req(qp, 0, wqe->wr.opcode, wqe->psn, in hfi1_build_tid_rdma_read_req() [all …]
|
D | trace_ibhdrs.h | 77 u16 *pkey, u32 *psn, u32 *qpn); 84 u32 *psn, u32 *qpn); 100 u8 tver, u16 pkey, u32 psn, u32 qpn, 142 __field(u32, psn) 184 &__entry->psn, 208 &__entry->psn, 255 __entry->psn, 301 __field(u32, psn) 349 &__entry->psn, 376 &__entry->psn, [all …]
|
D | verbs.h | 347 static inline u32 __full_flow_psn(struct flow_state *state, u32 psn) in __full_flow_psn() argument 350 (psn & HFI1_KDETH_BTH_SEQ_MASK)); in __full_flow_psn() 353 static inline u32 full_flow_psn(struct tid_rdma_flow *flow, u32 psn) in full_flow_psn() argument 355 return __full_flow_psn(&flow->flow_state, psn); in full_flow_psn() 390 void hfi1_restart_rc(struct rvt_qp *qp, u32 psn, int wait);
|
D | trace.c | 120 u16 *pkey, u32 *psn, u32 *qpn) in hfi1_trace_parse_9b_bth() argument 131 *psn = mask_psn(ib_bth_get_psn(ohdr)); in hfi1_trace_parse_9b_bth() 138 u32 *psn, u32 *qpn) in hfi1_trace_parse_16b_bth() argument 146 *psn = mask_psn(ib_bth_get_psn(ohdr)); in hfi1_trace_parse_16b_bth() 224 u8 tver, u16 pkey, u32 psn, u32 qpn, in hfi1_trace_fmt_rest() argument 236 se, mig, pad, tver, qpn, ack, psn); in hfi1_trace_fmt_rest() 242 qpn, ack, psn); in hfi1_trace_fmt_rest()
|
D | uc.c | 111 qp->s_psn = wqe->psn; in hfi1_make_uc_req() 268 u32 psn; in hfi1_uc_rcv() local 281 psn = ib_bth_get_psn(ohdr); in hfi1_uc_rcv() 283 if (unlikely(cmp_psn(psn, qp->r_psn) != 0)) { in hfi1_uc_rcv() 288 qp->r_psn = psn; in hfi1_uc_rcv()
|
D | user_sdma.c | 1111 psn = val & mask; in set_pkt_bth_psn() local 1113 psn = (psn & ~HFI1_KDETH_BTH_SEQ_MASK) | in set_pkt_bth_psn() 1114 ((psn + frags) & HFI1_KDETH_BTH_SEQ_MASK); in set_pkt_bth_psn() 1116 psn = psn + frags; in set_pkt_bth_psn() 1117 return psn & mask; in set_pkt_bth_psn()
|
/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | trace_rc.h | 18 TP_PROTO(struct rvt_qp *qp, u32 psn), 19 TP_ARGS(qp, psn), 24 __field(u32, psn) 35 __entry->psn = psn; 47 __entry->psn, 57 TP_PROTO(struct rvt_qp *qp, u32 psn), 58 TP_ARGS(qp, psn)
|
D | trace_tx.h | 57 __field(u32, psn) 77 __entry->psn = wqe->psn; 99 __entry->psn,
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_rc.c | 43 u32 psn, u32 pmtu) in restart_sge() argument 47 len = ((psn - wqe->psn) & QIB_PSN_MASK) * pmtu; in restart_sge() 134 qp->s_ack_rdma_psn = e->psn; in qib_make_rc_ack() 144 bth2 = e->psn & QIB_PSN_MASK; in qib_make_rc_ack() 303 qp->s_psn = wqe->psn; in qib_make_rc_req() 552 len = ((qp->s_psn - wqe->psn) & QIB_PSN_MASK) * pmtu; in qib_make_rc_req() 570 delta = (((int) bth2 - (int) wqe->psn) << 8) >> 8; in qib_make_rc_req() 736 static void reset_psn(struct rvt_qp *qp, u32 psn) in reset_psn() argument 748 if (qib_cmp24(psn, wqe->psn) <= 0) { in reset_psn() 763 diff = qib_cmp24(psn, wqe->psn); in reset_psn() [all …]
|
D | qib_uc.c | 98 qp->s_psn = wqe->psn; in qib_make_uc_req() 244 u32 psn; in qib_uc_rcv() local 264 psn = be32_to_cpu(ohdr->bth[2]); in qib_uc_rcv() 268 if (unlikely(qib_cmp24(psn, qp->r_psn) != 0)) { in qib_uc_rcv() 273 qp->r_psn = psn; in qib_uc_rcv()
|
D | qib_driver.c | 313 u32 psn; in qib_rcv_hdrerr() local 344 psn = be32_to_cpu(ohdr->bth[2]); in qib_rcv_hdrerr() 385 diff = qib_cmp24(psn, qp->r_psn); in qib_rcv_hdrerr()
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_comp.c | 182 diff = psn_compare(pkt->psn, wqe->last_psn); in check_psn() 196 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn() 201 if (pkt->psn == wqe->last_psn) in check_psn() 236 if ((pkt->psn == wqe->first_psn && in check_ack() 302 if (psn_compare(pkt->psn, qp->comp.psn) > 0) { in check_ack() 305 qp->comp.psn = pkt->psn; in check_ack() 477 (qp->comp.psn == qp->req.psn)) { in complete_ack() 497 if (psn_compare(pkt->psn, qp->comp.psn) >= 0) in complete_ack() 508 if (psn_compare(wqe->last_psn, qp->comp.psn) >= 0) { in complete_wqe() 509 qp->comp.psn = (wqe->last_psn + 1) & BTH_PSN_MASK; in complete_wqe() [all …]
|
D | rxe_resp.c | 125 int diff = psn_compare(pkt->psn, qp->resp.psn); in check_psn() 579 res->first_psn = pkt->psn; in rxe_prepare_res() 580 res->cur_psn = pkt->psn; in rxe_prepare_res() 581 res->last_psn = (pkt->psn + pkts - 1) & BTH_PSN_MASK; in rxe_prepare_res() 586 res->first_psn = pkt->psn; in rxe_prepare_res() 587 res->last_psn = pkt->psn; in rxe_prepare_res() 588 res->cur_psn = pkt->psn; in rxe_prepare_res() 643 qp->resp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in atomic_reply() 644 qp->resp.ack_psn = qp->resp.psn; in atomic_reply() 659 u32 psn, in prepare_ack_packet() argument [all …]
|
D | rxe_req.c | 53 qp->req.psn = qp->comp.psn; in req_retry() 83 npsn = (qp->comp.psn - wqe->first_psn) & in req_retry() 420 ack_req, pkt->psn); in init_req_packet() 517 wqe->first_psn = qp->req.psn; in update_wqe_psn() 518 wqe->last_psn = (qp->req.psn + num_pkt - 1) & BTH_PSN_MASK; in update_wqe_psn() 522 qp->req.psn = (wqe->first_psn + num_pkt) & BTH_PSN_MASK; in update_wqe_psn() 524 qp->req.psn = (qp->req.psn + 1) & BTH_PSN_MASK; in update_wqe_psn() 535 *rollback_psn = qp->req.psn; in save_state() 546 qp->req.psn = rollback_psn; in rollback_state() 692 psn_compare(qp->req.psn, (qp->comp.psn + in rxe_requester() [all …]
|
D | rxe_hdr.h | 20 u32 psn; /* bth psn of packet */ member 271 static inline void __bth_set_psn(void *arg, u32 psn) in __bth_set_psn() argument 276 bth->apsn = cpu_to_be32((BTH_PSN_MASK & psn) | in __bth_set_psn() 400 static inline void bth_set_psn(struct rxe_pkt_info *pkt, u32 psn) in bth_set_psn() argument 402 __bth_set_psn(pkt->hdr, psn); in bth_set_psn() 407 u32 psn) in bth_init() argument 419 psn &= BTH_PSN_MASK; in bth_init() 421 psn |= BTH_ACK_MASK; in bth_init() 422 bth->apsn = cpu_to_be32(psn); in bth_init()
|
D | rxe_verbs.h | 119 u32 psn; member 133 u32 psn; member 174 u32 psn; member
|
D | rxe_qp.c | 660 qp->resp.psn = qp->attr.rq_psn; in rxe_qp_from_attr() 662 qp->resp.psn); in rxe_qp_from_attr() 673 qp->req.psn = qp->attr.sq_psn; in rxe_qp_from_attr() 674 qp->comp.psn = qp->attr.sq_psn; in rxe_qp_from_attr() 675 pr_debug("qp#%d set req psn = 0x%x\n", qp_num(qp), qp->req.psn); in rxe_qp_from_attr() 736 attr->rq_psn = qp->resp.psn; in rxe_qp_to_attr() 737 attr->sq_psn = qp->req.psn; in rxe_qp_to_attr()
|
/linux-6.1.9/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 275 unsigned int psn) in ipoib_cm_modify_rx_qp() argument 298 qp_attr.rq_psn = psn; in ipoib_cm_modify_rx_qp() 423 unsigned int psn) in ipoib_cm_send_rep() argument 438 rep.starting_psn = psn; in ipoib_cm_send_rep() 448 unsigned int psn; in ipoib_cm_req_handler() local 468 psn = get_random_u32() & 0xffffff; in ipoib_cm_req_handler() 469 ret = ipoib_cm_modify_rx_qp(dev, cm_id, p->qp, psn); in ipoib_cm_req_handler() 489 ret = ipoib_cm_send_rep(dev, cm_id, p->qp, &event->param.req_rcvd, psn); in ipoib_cm_req_handler()
|
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 1304 req.rq_psn = cpu_to_le32(qp->rq.psn); in bnxt_qplib_modify_qp() 1307 req.sq_psn = cpu_to_le32(qp->sq.psn); in bnxt_qplib_modify_qp() 1400 qp->rq.psn = le32_to_cpu(sb->rq_psn); in bnxt_qplib_query_qp() 1402 qp->sq.psn = le32_to_cpu(sb->sq_psn); in bnxt_qplib_query_qp() 1746 swq->start_psn = sq->psn & BTH_PSN_MASK; in bnxt_qplib_post_send() 1805 sq->psn = (sq->psn + 1) & BTH_PSN_MASK; in bnxt_qplib_post_send() 1816 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send() 1838 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send() 1857 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send() 1923 swq->next_psn = sq->psn & BTH_PSN_MASK; in bnxt_qplib_post_send()
|
/linux-6.1.9/lib/zstd/common/ |
D | cpu.h | 146 D(psn, 18)
|
/linux-6.1.9/include/rdma/ |
D | ib_pack.h | 195 __be32 psn; member
|