Searched refs:mask_psn (Results 1 – 8 of 8) sorted by relevance
1718 *bth2 = mask_psn(flow->flow_state.ib_spsn + flow->pkt); in hfi1_build_tid_rdma_read_packet()1944 flow_psn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.r_req.tid_flow_psn)); in tid_rdma_rcv_read_request()2250 psn = mask_psn(be32_to_cpu(ohdr->bth[2])); in hfi1_rc_rcv_tid_rdma_read_req()2386 resp->verbs_psn = cpu_to_be32(mask_psn(flow->flow_state.ib_spsn + in hfi1_build_tid_rdma_read_resp()2391 *bth2 = mask_psn(((flow->flow_state.spsn + flow->pkt++) & in hfi1_build_tid_rdma_read_resp()2464 kpsn = mask_psn(be32_to_cpu(ohdr->bth[2])); in hfi1_rc_rcv_tid_rdma_read_resp()2469 ipsn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.r_rsp.verbs_psn)); in hfi1_rc_rcv_tid_rdma_read_resp()2481 flow->flow_state.r_next_psn = mask_psn(kpsn + 1); in hfi1_rc_rcv_tid_rdma_read_resp()2512 flow->flow_state.r_next_psn = mask_psn(kpsn + 1); in hfi1_rc_rcv_tid_rdma_read_resp()2794 mask_psn(psn + 1); in handle_read_kdeth_eflags()[all …]
320 static inline u32 mask_psn(u32 a) in mask_psn() function349 return mask_psn((state->generation << HFI1_KDETH_BTH_SEQ_SHIFT) | in __full_flow_psn()
171 bth2 = mask_psn(qp->s_ack_rdma_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()246 bth2 = mask_psn(qp->s_ack_rdma_psn++); in make_rc_ack()285 bth2 = mask_psn(qp->s_ack_rdma_psn); in make_rc_ack()347 bth2 = mask_psn(qp->s_ack_psn); in make_rc_ack()542 bth2 = mask_psn(qp->s_psn); in hfi1_make_rc_req()912 bth2 = mask_psn(qp->s_psn++); in hfi1_make_rc_req()957 bth2 = mask_psn(qp->s_psn++); in hfi1_make_rc_req()1000 bth2 = mask_psn(qp->s_psn) | IB_BTH_REQ_ACK; in hfi1_make_rc_req()[all …]
131 *psn = mask_psn(ib_bth_get_psn(ohdr)); in hfi1_trace_parse_9b_bth()146 *psn = mask_psn(ib_bth_get_psn(ohdr)); in hfi1_trace_parse_16b_bth()
233 qp->remote_qpn, mask_psn(qp->s_psn++), in hfi1_make_uc_req()
330 ohdr->bth[2] = cpu_to_be32(mask_psn((u32)txp->txq->tx_ring.sent_txreqs)); in hfi1_ipoib_build_ib_tx_headers()
250 ohdr->bth[2] = cpu_to_be32(mask_psn(wqe->psn)); in hfi1_make_bth_deth()
1876 psn = mask_psn(be32_to_cpu(packet.ohdr->bth[2])); in seqfile_dump_rcd()