Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ehca/
Dehca_reqs.c638 struct ehca_queue_map *qmap; in ehca_poll_cq_one() local
716 qmap = &my_qp->sq_map; in ehca_poll_cq_one()
719 qmap = &my_qp->rq_map; in ehca_poll_cq_one()
722 qmap->tail = qmap_tail_idx; in ehca_poll_cq_one()
741 qmap_entry = &qmap->map[qmap_tail_idx]; in ehca_poll_cq_one()
753 if (qmap->left_to_poll > 0) { in ehca_poll_cq_one()
754 qmap->left_to_poll--; in ehca_poll_cq_one()
807 struct ehca_queue_map *qmap; in generate_flush_cqes() local
811 qmap = &my_qp->sq_map; in generate_flush_cqes()
813 qmap = &my_qp->rq_map; in generate_flush_cqes()
[all …]
Dehca_qp.c434 static void reset_queue_map(struct ehca_queue_map *qmap) in reset_queue_map() argument
438 qmap->tail = qmap->entries - 1; in reset_queue_map()
439 qmap->left_to_poll = 0; in reset_queue_map()
440 qmap->next_wqe_idx = 0; in reset_queue_map()
441 for (i = 0; i < qmap->entries; i++) { in reset_queue_map()
442 qmap->map[i].reported = 1; in reset_queue_map()
443 qmap->map[i].cqe_req = 0; in reset_queue_map()
1123 struct ehca_queue_map *qmap) in calc_left_cqes() argument
1141 tail_idx = next_index(qmap->tail, qmap->entries); in calc_left_cqes()
1146 if (qmap->map[tail_idx].cqe_req) in calc_left_cqes()
[all …]