Home
last modified time | relevance | path

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

/freebsd/sys/dev/mana/
H A Dgdma_main.c482 uint32_t num_cqe = cq->queue_size / GDMA_CQE_SIZE; in mana_gd_ring_cq() local
484 uint32_t head = cq->head % (num_cqe << GDMA_CQE_OWNER_BITS); in mana_gd_ring_cq()
1396 unsigned int num_cqe = cq->queue_size / sizeof(struct gdma_cqe); in mana_gd_read_cqe() local
1401 cqe = &cq_cqe[cq->head % num_cqe]; in mana_gd_read_cqe()
1404 old_bits = (cq->head / num_cqe - 1) & GDMA_CQE_OWNER_MASK; in mana_gd_read_cqe()
1409 new_bits = (cq->head / num_cqe) & GDMA_CQE_OWNER_MASK; in mana_gd_read_cqe()
1428 mana_gd_poll_cq(struct gdma_queue *cq, struct gdma_comp *comp, int num_cqe) in mana_gd_poll_cq() argument
1436 for (cqe_idx = 0; cqe_idx < num_cqe; cqe_idx++) { in mana_gd_poll_cq()
H A Dgdma.h470 int mana_gd_poll_cq(struct gdma_queue *cq, struct gdma_comp *comp, int num_cqe);
/freebsd/sys/dev/oce/
H A Doce_queue.c1068 uint16_t num_cqe = 0; in oce_drain_rq_cq() local
1081 num_cqe++; in oce_drain_rq_cq()
1083 oce_arm_cq(sc, cq->cq_id, num_cqe, FALSE); in oce_drain_rq_cq()