Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_hdr.h82 #define BTH_PSN_MASK (0x00ffffff) macro
268 return BTH_PSN_MASK & be32_to_cpu(bth->apsn); in __bth_psn()
276 bth->apsn = cpu_to_be32((BTH_PSN_MASK & psn) | in __bth_set_psn()
277 (~BTH_PSN_MASK & apsn)); in __bth_set_psn()
419 psn &= BTH_PSN_MASK; in bth_init()
Drxe_req.c84 BTH_PSN_MASK; in req_retry()
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()
730 qp->req.psn = (qp->req.psn + 1) & BTH_PSN_MASK; in rxe_requester()
Drxe_resp.c581 res->last_psn = (pkt->psn + pkts - 1) & BTH_PSN_MASK; in rxe_prepare_res()
643 qp->resp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in atomic_reply()
831 res->cur_psn = (res->cur_psn + 1) & BTH_PSN_MASK; in read_reply()
911 qp->resp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in execute()
1125 u32 prev_psn = (qp->resp.ack_psn - 1) & BTH_PSN_MASK; in duplicate_request()
Drxe_comp.c509 qp->comp.psn = (wqe->last_psn + 1) & BTH_PSN_MASK; in complete_wqe()
645 qp->comp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in rxe_completer()
Drxe_qp.c659 qp->attr.rq_psn = (attr->rq_psn & BTH_PSN_MASK); in rxe_qp_from_attr()
672 qp->attr.sq_psn = (attr->sq_psn & BTH_PSN_MASK); in rxe_qp_from_attr()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1746 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()
Dqplib_fp.h303 #define BTH_PSN_MASK ((1 << 24) - 1) macro
Dib_verbs.c2228 qp->send_psn &= BTH_PSN_MASK; in bnxt_re_build_qp1_send_v2()