Searched refs:sq_ring (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/infiniband/hw/irdma/ |
A D | uk.c | 66 if (!qp->sq_ring.head) in irdma_nop_1() 145 qp->initial_ring.head = qp->sq_ring.head; in irdma_uk_qp_post_wr() 157 qp->initial_ring.head = qp->sq_ring.head; in irdma_qp_ring_push_db() 168 IRDMA_RING_CURRENT_TAIL(qp->sq_ring) && in irdma_qp_push_wqe() 208 IRDMA_SQ_RING_FREE_QUANTA(qp->sq_ring)) in irdma_qp_get_next_send_wqe() 214 IRDMA_RING_MOVE_HEAD_NOCHECK(qp->sq_ring); in irdma_qp_get_next_send_wqe() 1165 if (wqe_idx < qp->conn_wqes && qp->sq_ring.head == qp->sq_ring.tail) { in irdma_uk_cq_poll_cmpl() 1185 IRDMA_RING_SET_TAIL(qp->sq_ring, in irdma_uk_cq_poll_cmpl() 1199 tail = qp->sq_ring.tail; in irdma_uk_cq_poll_cmpl() 1205 IRDMA_RING_SET_TAIL(qp->sq_ring, in irdma_uk_cq_poll_cmpl() [all …]
|
A D | ctrl.c | 392 qp->hw_sq_size, qp->qp_uk.sq_ring.size); in irdma_sc_qp_init() 2059 cqp->sq_ring.head, cqp->sq_ring.tail, cqp->sq_ring.size); in irdma_sc_gather_stats() 2751 IRDMA_RING_MOVE_TAIL(cqp->sq_ring); in irdma_cqp_poll_registers() 3113 IRDMA_RING_INIT(cqp->sq_ring, cqp->sq_size); in irdma_sc_cqp_init() 3241 cqp->sq_ring.head, cqp->sq_ring.tail, cqp->sq_ring.size); in irdma_sc_cqp_post_sq() 3257 if (IRDMA_RING_FULL_ERR(cqp->sq_ring)) { in irdma_sc_cqp_get_next_send_wqe_idx() 3260 cqp->sq_ring.head, cqp->sq_ring.tail, in irdma_sc_cqp_get_next_send_wqe_idx() 3261 cqp->sq_ring.size); in irdma_sc_cqp_get_next_send_wqe_idx() 3264 IRDMA_ATOMIC_RING_MOVE_HEAD(cqp->sq_ring, *wqe_idx, ret_code); in irdma_sc_cqp_get_next_send_wqe_idx() 3390 IRDMA_RING_MOVE_TAIL(cqp->sq_ring); in irdma_sc_ccq_get_cqe_info() [all …]
|
A D | user.h | 337 struct irdma_ring sq_ring; member
|
A D | puda.c | 199 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_puda_get_next_send_wqe() 202 IRDMA_RING_MOVE_HEAD(qp->sq_ring, ret_code); in irdma_puda_get_next_send_wqe() 399 IRDMA_RING_SET_TAIL(qp->sq_ring, info.wqe_idx); in irdma_puda_poll_cmpl() 689 IRDMA_RING_INIT(ukqp->sq_ring, ukqp->sq_size); in irdma_puda_qp_create()
|
A D | utils.c | 530 pending_work = IRDMA_RING_USED_QUANTA(cqp->sc_cqp.sq_ring); in irdma_cleanup_pending_cqp_op() 531 wqe_idx = IRDMA_RING_CURRENT_TAIL(cqp->sc_cqp.sq_ring); in irdma_cleanup_pending_cqp_op() 537 wqe_idx = (wqe_idx + 1) % IRDMA_RING_SIZE(cqp->sc_cqp.sq_ring); in irdma_cleanup_pending_cqp_op()
|
A D | hw.c | 2545 if (IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) { in irdma_hw_flush_wqes_callback() 2610 if (IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) { in irdma_hw_flush_wqes() 2648 if (!IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) in irdma_hw_flush_wqes()
|
A D | type.h | 408 struct irdma_ring sq_ring; member
|
/linux/tools/io_uring/ |
A D | io_uring-bench.c | 76 struct io_sq_ring sq_ring; member 196 struct io_sq_ring *ring = &s->sq_ring; in prep_more_ios() 281 struct io_sq_ring *ring = &s->sq_ring; in submitter_fn() 391 struct io_sq_ring *sring = &s->sq_ring; in setup_ring() 558 …printf(" QD=%d, sq_ring=%d, cq_ring=%d\n", DEPTH, *s->sq_ring.ring_entries, *s->cq_ring.ring_entri… in main()
|
Completed in 39 milliseconds