Home
last modified time | relevance | path

Searched refs:mask_psn (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dtid_rdma.c1711 *bth2 = mask_psn(flow->flow_state.ib_spsn + flow->pkt); in hfi1_build_tid_rdma_read_packet()
1937 flow_psn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.r_req.tid_flow_psn)); in tid_rdma_rcv_read_request()
2243 psn = mask_psn(be32_to_cpu(ohdr->bth[2])); in hfi1_rc_rcv_tid_rdma_read_req()
2379 resp->verbs_psn = cpu_to_be32(mask_psn(flow->flow_state.ib_spsn + in hfi1_build_tid_rdma_read_resp()
2384 *bth2 = mask_psn(((flow->flow_state.spsn + flow->pkt++) & in hfi1_build_tid_rdma_read_resp()
2457 kpsn = mask_psn(be32_to_cpu(ohdr->bth[2])); in hfi1_rc_rcv_tid_rdma_read_resp()
2462 ipsn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.r_rsp.verbs_psn)); in hfi1_rc_rcv_tid_rdma_read_resp()
2474 flow->flow_state.r_next_psn = mask_psn(kpsn + 1); in hfi1_rc_rcv_tid_rdma_read_resp()
2505 flow->flow_state.r_next_psn = mask_psn(kpsn + 1); in hfi1_rc_rcv_tid_rdma_read_resp()
2787 mask_psn(psn + 1); in handle_read_kdeth_eflags()
[all …]
Dverbs.h363 static inline u32 mask_psn(u32 a) in mask_psn() function
392 return mask_psn((state->generation << HFI1_KDETH_BTH_SEQ_SHIFT) | in __full_flow_psn()
Drc.c213 bth2 = mask_psn(qp->s_ack_rdma_psn++); in make_rc_ack()
227 qp->s_ack_rdma_psn = mask_psn(e->psn + req->cur_seg); in make_rc_ack()
261 bth2 = mask_psn(e->psn); in make_rc_ack()
288 bth2 = mask_psn(qp->s_ack_rdma_psn++); in make_rc_ack()
327 bth2 = mask_psn(qp->s_ack_rdma_psn); in make_rc_ack()
389 bth2 = mask_psn(qp->s_ack_psn); in make_rc_ack()
583 bth2 = mask_psn(qp->s_psn); in hfi1_make_rc_req()
954 bth2 = mask_psn(qp->s_psn++); in hfi1_make_rc_req()
999 bth2 = mask_psn(qp->s_psn++); in hfi1_make_rc_req()
1042 bth2 = mask_psn(qp->s_psn) | IB_BTH_REQ_ACK; in hfi1_make_rc_req()
[all …]
Dtrace.c171 *psn = mask_psn(ib_bth_get_psn(ohdr)); in hfi1_trace_parse_9b_bth()
186 *psn = mask_psn(ib_bth_get_psn(ohdr)); in hfi1_trace_parse_16b_bth()
Duc.c274 qp->remote_qpn, mask_psn(qp->s_psn++), in hfi1_make_uc_req()
Dud.c292 ohdr->bth[2] = cpu_to_be32(mask_psn(wqe->psn)); in hfi1_make_bth_deth()
Ddriver.c1794 psn = mask_psn(be32_to_cpu(packet.ohdr->bth[2])); in seqfile_dump_rcd()