Home
last modified time | relevance | path

Searched refs:MTHCA_CQ_ENTRY_SIZE (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c54 MTHCA_CQ_ENTRY_SIZE = 0x20 enumerator
163 return buf->queue.direct.buf + (entry * MTHCA_CQ_ENTRY_SIZE); in get_cqe_from_buf()
165 return buf->queue.page_list[entry * MTHCA_CQ_ENTRY_SIZE / PAGE_SIZE].buf in get_cqe_from_buf()
166 + (entry * MTHCA_CQ_ENTRY_SIZE) % PAGE_SIZE; in get_cqe_from_buf()
311 cqe, MTHCA_CQ_ENTRY_SIZE); in mthca_cq_clean()
345 get_cqe(cq, i & cq->ibcq.cqe), MTHCA_CQ_ENTRY_SIZE); in mthca_cq_resize_copy_cqes()
353 ret = mthca_buf_alloc(dev, nent * MTHCA_CQ_ENTRY_SIZE, in mthca_alloc_cq_buf()
368 mthca_buf_free(dev, (cqe + 1) * MTHCA_CQ_ENTRY_SIZE, &buf->queue, in mthca_free_cq_buf()