Searched refs:mask_psn (Results 1 – 8 of 8) sorted by relevance
1711 *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 …]
362 static inline u32 mask_psn(u32 a) in mask_psn() function391 return mask_psn((state->generation << HFI1_KDETH_BTH_SEQ_SHIFT) | in __full_flow_psn()
213 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()953 bth2 = mask_psn(qp->s_psn++); in hfi1_make_rc_req()998 bth2 = mask_psn(qp->s_psn++); in hfi1_make_rc_req()1041 bth2 = mask_psn(qp->s_psn) | IB_BTH_REQ_ACK; in hfi1_make_rc_req()[all …]
173 *psn = mask_psn(ib_bth_get_psn(ohdr)); in hfi1_trace_parse_9b_bth()188 *psn = mask_psn(ib_bth_get_psn(ohdr)); in hfi1_trace_parse_16b_bth()
274 qp->remote_qpn, mask_psn(qp->s_psn++), in hfi1_make_uc_req()
358 ohdr->bth[2] = cpu_to_be32(mask_psn((u32)txp->txq->sent_txreqs)); in hfi1_ipoib_build_ib_tx_headers()
292 ohdr->bth[2] = cpu_to_be32(mask_psn(wqe->psn)); in hfi1_make_bth_deth()
1925 psn = mask_psn(be32_to_cpu(packet.ohdr->bth[2])); in seqfile_dump_rcd()