Searched refs:get_wqe (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 74 static void *get_wqe(struct mthca_srq *srq, int n) in get_wqe() function 185 next = wqe = get_wqe(srq, i); in mthca_alloc_srq_buf() 201 srq->last = get_wqe(srq, srq->max - 1); in mthca_alloc_srq_buf() 474 last_free = get_wqe(srq, srq->last_free); in mthca_free_srq_wqe() 477 *wqe_to_link(get_wqe(srq, ind)) = -1; in mthca_free_srq_wqe() 504 wqe = get_wqe(srq, ind); in mthca_tavor_post_srq_recv() 594 wqe = get_wqe(srq, ind); in mthca_arbel_post_srq_recv()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | srq.c | 42 static void *get_wqe(struct mlx4_ib_srq *srq, int n) in get_wqe() function 149 next = get_wqe(srq, i); in mlx4_ib_create_srq() 296 next = get_wqe(srq, srq->tail); in mlx4_ib_free_srq_wqe() 338 next = get_wqe(srq, srq->head); in mlx4_ib_post_srq_recv()
|
D | qp.c | 166 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe() function 173 return get_wqe(qp, qp->rq.offset + (n << qp->rq.wqe_shift)); in get_recv_wqe() 178 return get_wqe(qp, qp->sq.offset + (n << qp->sq.wqe_shift)); in get_send_wqe()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | srq.c | 14 static void *get_wqe(struct mlx5_ib_srq *srq, int n) in get_wqe() function 159 next = get_wqe(srq, i); in create_srq_kernel() 416 next = get_wqe(srq, srq->tail); in mlx5_ib_free_srq_wqe() 459 next = get_wqe(srq, srq->head); in mlx5_ib_post_srq_recv()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_comp.c | 135 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe() function 574 state = get_wqe(qp, pkt, &wqe); in rxe_completer()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 1255 static inline void *get_wqe(struct hns_roce_qp *hr_qp, int offset) in get_wqe() function 1262 return get_wqe(hr_qp, hr_qp->rq.offset + (n << hr_qp->rq.wqe_shift)); in hns_roce_get_recv_wqe() 1267 return get_wqe(hr_qp, hr_qp->sq.offset + (n << hr_qp->sq.wqe_shift)); in hns_roce_get_send_wqe() 1272 return get_wqe(hr_qp, hr_qp->sge.offset + (n << hr_qp->sge.sge_shift)); in hns_roce_get_extend_sge()
|