Searched refs:cqe_sw (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/contrib/ofed/libmthca/src/
H A Dcq.c130 static inline struct mthca_cqe *cqe_sw(struct mthca_cq *cq, int i) function
138 return cqe_sw(cq, cq->cons_index & cq->ibv_cq.cqe);
563 cqe_sw(cq, prod_index & cq->ibv_cq.cqe);
612 if (cqe_sw(cq, old_cqe))
616 for (i = cq->cons_index; cqe_sw(cq, i & old_cqe); ++i)
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c173 static inline struct mthca_cqe *cqe_sw(struct mthca_cqe *cqe) function
180 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe));
294 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe));
342 if (cqe_sw(get_cqe(cq, cq->ibcq.cqe)))
346 for (i = cq->cons_index; cqe_sw(get_cqe(cq, i & cq->ibcq.cqe)); ++i)
705 if (cqe_sw(get_cqe_from_buf(&cq->resize_buf->buf,

Completed in 115 milliseconds