Home
last modified time | relevance | path

Searched refs:BTH_PSN_MASK (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_req.c109 BTH_PSN_MASK; in req_retry()
537 wqe->last_psn = (qp->req.psn + num_pkt - 1) & BTH_PSN_MASK; in update_wqe_psn()
541 qp->req.psn = (wqe->first_psn + num_pkt) & BTH_PSN_MASK; in update_wqe_psn()
543 qp->req.psn = (qp->req.psn + 1) & BTH_PSN_MASK; in update_wqe_psn()
698 qp->req.psn = (qp->req.psn + 1) & BTH_PSN_MASK; in rxe_requester()
Drxe_hdr.h110 #define BTH_PSN_MASK (0x00ffffff) macro
296 return BTH_PSN_MASK & be32_to_cpu(bth->apsn); in __bth_psn()
304 bth->apsn = cpu_to_be32((BTH_PSN_MASK & psn) | in __bth_set_psn()
305 (~BTH_PSN_MASK & apsn)); in __bth_set_psn()
447 psn &= BTH_PSN_MASK; in bth_init()
Drxe_resp.c691 mtu - 1) & BTH_PSN_MASK; in read_reply()
746 res->cur_psn = (res->cur_psn + 1) & BTH_PSN_MASK; in read_reply()
814 qp->resp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in execute()
1073 u32 prev_psn = (qp->resp.ack_psn - 1) & BTH_PSN_MASK; in duplicate_request()
Drxe_comp.c522 qp->comp.psn = (wqe->last_psn + 1) & BTH_PSN_MASK; in complete_wqe()
643 qp->comp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in rxe_completer()
Drxe_qp.c675 qp->attr.rq_psn = (attr->rq_psn & BTH_PSN_MASK); in rxe_qp_from_attr()
688 qp->attr.sq_psn = (attr->sq_psn & BTH_PSN_MASK); in rxe_qp_from_attr()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1560 swq->start_psn = sq->psn & BTH_PSN_MASK; in bnxt_qplib_post_send()
1637 sq->psn = (sq->psn + 1) & BTH_PSN_MASK; in bnxt_qplib_post_send()
1646 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send()
1668 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send()
1686 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send()
1752 swq->next_psn = sq->psn & BTH_PSN_MASK; in bnxt_qplib_post_send()
1785 swq->start_psn = sq->psn & BTH_PSN_MASK; in bnxt_qplib_post_send()
Dqplib_fp.h286 #define BTH_PSN_MASK ((1 << 24) - 1) macro
Dib_verbs.c1953 qp->send_psn &= BTH_PSN_MASK; in bnxt_re_build_qp1_send_v2()