Searched refs:get_cqe (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 169 static inline struct mthca_cqe *get_cqe(struct mthca_cq *cq, int entry) in get_cqe() function 181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe)); in next_cqe_sw() 295 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); in mthca_cq_clean() 309 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in mthca_cq_clean() 315 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe), in mthca_cq_clean() 321 set_cqe_hw(get_cqe(cq, (cq->cons_index + i) & cq->ibcq.cqe)); in mthca_cq_clean() 343 if (cqe_sw(get_cqe(cq, cq->ibcq.cqe))) in mthca_cq_resize_copy_cqes() 347 for (i = cq->cons_index; cqe_sw(get_cqe(cq, i & cq->ibcq.cqe)); ++i) in mthca_cq_resize_copy_cqes() 350 get_cqe(cq, i & cq->ibcq.cqe), MTHCA_CQ_ENTRY_SIZE); in mthca_cq_resize_copy_cqes()
|
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_cq.c | 281 static inline struct pvrdma_cqe *get_cqe(struct pvrdma_cq *cq, int i) in get_cqe() function 316 curr_cqe = get_cqe(cq, curr); in _pvrdma_flush_cqe() 319 cqe = get_cqe(cq, tail); in _pvrdma_flush_cqe() 358 cqe = get_cqe(cq, head); in pvrdma_poll_one()
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | cq.c | 73 static void *get_cqe(struct mlx4_ib_cq *cq, int n) in get_cqe() function 80 struct mlx4_cqe *cqe = get_cqe(cq, n & cq->ibcq.cqe); in get_sw_cqe() 364 cqe = get_cqe(cq, i & cq->ibcq.cqe); in mlx4_ib_cq_resize_copy_cqes() 370 memcpy(new_cqe, get_cqe(cq, i & cq->ibcq.cqe), cqe_size); in mlx4_ib_cq_resize_copy_cqes() 375 cqe = get_cqe(cq, ++i & cq->ibcq.cqe); in mlx4_ib_cq_resize_copy_cqes() 946 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx4_ib_cq_clean() 954 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | cq.c | 67 static void *get_cqe(struct mlx5_ib_cq *cq, int n) in get_cqe() function 79 void *cqe = get_cqe(cq, n & cq->ibcq.cqe); in get_sw_cqe() 907 cqe = get_cqe(cq, i); in init_cq_frag_buf() 1144 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx5_ib_cq_clean() 1151 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v1.c | 2013 static void *get_cqe(struct hns_roce_cq *hr_cq, int n) in get_cqe() function 2021 struct hns_roce_cqe *hr_cqe = get_cqe(hr_cq, n & hr_cq->ib_cq.cqe); in get_sw_cqe() 2069 cqe = get_cqe(hr_cq, prod_index & hr_cq->ib_cq.cqe); in __hns_roce_v1_cq_clean() 2076 dest = get_cqe(hr_cq, (prod_index + nfreed) & in __hns_roce_v1_cq_clean()
|
/Linux-v4.19/drivers/infiniband/hw/qedr/ |
D | verbs.c | 3799 static union rdma_cqe *get_cqe(struct qedr_cq *cq) in get_cqe() function 4236 cqe = get_cqe(cq); in qedr_poll_cq()
|