Searched refs:get_wqe (Results 1 – 3 of 3) sorted by relevance
/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 72 static void *get_wqe(struct mthca_srq *srq, int n) in get_wqe() function 178 next = wqe = get_wqe(srq, i); in mthca_alloc_srq_buf() 194 srq->last = get_wqe(srq, srq->max - 1); in mthca_alloc_srq_buf() 466 last_free = get_wqe(srq, srq->last_free); in mthca_free_srq_wqe() 469 *wqe_to_link(get_wqe(srq, ind)) = -1; in mthca_free_srq_wqe() 496 wqe = get_wqe(srq, ind); in mthca_tavor_post_srq_recv() 592 wqe = get_wqe(srq, ind); in mthca_arbel_post_srq_recv()
|
/drivers/infiniband/hw/mlx4/ |
D | srq.c | 41 static void *get_wqe(struct mlx4_ib_srq *srq, int n) in get_wqe() function 153 next = get_wqe(srq, i); in mlx4_ib_create_srq() 301 next = get_wqe(srq, srq->tail); in mlx4_ib_free_srq_wqe() 336 next = get_wqe(srq, srq->head); in mlx4_ib_post_srq_recv()
|
D | qp.c | 173 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe() function 180 return get_wqe(qp, qp->rq.offset + (n << qp->rq.wqe_shift)); in get_recv_wqe() 185 return get_wqe(qp, qp->sq.offset + (n << qp->sq.wqe_shift)); in get_send_wqe()
|