Searched refs:get_cqe (Results 1 - 2 of 2) sorted by relevance
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_cq.c | 169 static inline struct mthca_cqe *get_cqe(struct mthca_cq *cq, int entry) function 181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe)); 300 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); 314 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); 320 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe), 326 set_cqe_hw(get_cqe(cq, (cq->cons_index + i) & cq->ibcq.cqe)); 348 if (cqe_sw(get_cqe(cq, cq->ibcq.cqe))) 352 for (i = cq->cons_index; cqe_sw(get_cqe(cq, i & cq->ibcq.cqe)); ++i) 355 get_cqe(cq, i & cq->ibcq.cqe), MTHCA_CQ_ENTRY_SIZE);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 76 static void *get_cqe(struct mlx4_ib_cq *cq, int n) function 83 struct mlx4_cqe *cqe = get_cqe(cq, n & cq->ibcq.cqe); 500 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); 506 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe);
|
Completed in 88 milliseconds