Searched refs:sq_ring (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | uk.c | 65 if (!qp->sq_ring.head) in irdma_nop_1() 68 wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_nop_1() 100 wqe_idx = (qp_wqe_idx + 128) % qp->sq_ring.size; in irdma_clr_wqes() 128 sw_sq_head = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_uk_qp_post_wr() 143 qp->initial_ring.head = qp->sq_ring.head; in irdma_uk_qp_post_wr() 164 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) % in irdma_qp_get_next_send_wqe() 168 if (quanta > IRDMA_SQ_RING_FREE_QUANTA(qp->sq_ring)) in irdma_qp_get_next_send_wqe() 173 IRDMA_SQ_RING_FREE_QUANTA(qp->sq_ring)) in irdma_qp_get_next_send_wqe() 178 IRDMA_RING_MOVE_HEAD_NOCHECK(qp->sq_ring); in irdma_qp_get_next_send_wqe() 182 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_qp_get_next_send_wqe() [all …]
|
D | utils.c | 539 pending_work = IRDMA_RING_USED_QUANTA(cqp->sc_cqp.sq_ring); in irdma_cleanup_pending_cqp_op() 540 wqe_idx = IRDMA_RING_CURRENT_TAIL(cqp->sc_cqp.sq_ring); in irdma_cleanup_pending_cqp_op() 546 wqe_idx = (wqe_idx + 1) % IRDMA_RING_SIZE(cqp->sc_cqp.sq_ring); in irdma_cleanup_pending_cqp_op() 2454 struct irdma_ring *sq_ring = &qp->sq_ring; in irdma_generate_flush_completions() local 2468 while (IRDMA_RING_MORE_WORK(*sq_ring)) { in irdma_generate_flush_completions() 2476 wqe_idx = sq_ring->tail; in irdma_generate_flush_completions() 2485 IRDMA_RING_SET_TAIL(*sq_ring, in irdma_generate_flush_completions() 2486 sq_ring->tail + qp->sq_wrtrk_array[sq_ring->tail].quanta); in irdma_generate_flush_completions()
|
D | ctrl.c | 411 qp->hw_sq_size = irdma_get_encoded_wqe_size(qp->qp_uk.sq_ring.size, in irdma_sc_qp_init() 415 qp->hw_sq_size, qp->qp_uk.sq_ring.size); in irdma_sc_qp_init() 2082 cqp->sq_ring.head, cqp->sq_ring.tail, cqp->sq_ring.size); in irdma_sc_gather_stats() 2763 IRDMA_RING_MOVE_TAIL(cqp->sq_ring); in irdma_cqp_poll_registers() 3123 IRDMA_RING_INIT(cqp->sq_ring, cqp->sq_size); in irdma_sc_cqp_init() 3246 writel(IRDMA_RING_CURRENT_HEAD(cqp->sq_ring), cqp->dev->cqp_db); in irdma_sc_cqp_post_sq() 3250 cqp->sq_ring.head, cqp->sq_ring.tail, cqp->sq_ring.size); in irdma_sc_cqp_post_sq() 3266 if (IRDMA_RING_FULL_ERR(cqp->sq_ring)) { in irdma_sc_cqp_get_next_send_wqe_idx() 3269 cqp->sq_ring.head, cqp->sq_ring.tail, in irdma_sc_cqp_get_next_send_wqe_idx() 3270 cqp->sq_ring.size); in irdma_sc_cqp_get_next_send_wqe_idx() [all …]
|
D | user.h | 322 struct irdma_ring sq_ring; member
|
D | puda.c | 196 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_puda_get_next_send_wqe() 199 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() 687 IRDMA_RING_INIT(ukqp->sq_ring, ukqp->sq_size); in irdma_puda_qp_create()
|
D | hw.c | 2569 if (IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) { in irdma_hw_flush_wqes_callback() 2632 if (IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) { in irdma_hw_flush_wqes() 2670 if (!IRDMA_RING_MORE_WORK(qp->qp_uk.sq_ring)) in irdma_hw_flush_wqes()
|
D | type.h | 363 struct irdma_ring sq_ring; member
|
/linux-6.6.21/tools/testing/selftests/x86/ |
D | lam.c | 104 struct io_uring_queue sq_ring; member 386 struct io_uring_queue *sring = &s->sq_ring; in mmap_io_uring() 429 s->sq_ring.queue.sqes = mmap(0, p.sq_entries * sizeof(struct io_uring_sqe), in mmap_io_uring() 432 if (s->sq_ring.queue.sqes == MAP_FAILED) { in mmap_io_uring() 508 struct io_uring_queue *sring = &ring->sq_ring; in handle_uring_sq() 538 index = tail & *ring->sq_ring.ring_mask; in handle_uring_sq() 540 sqe = &ring->sq_ring.queue.sqes[index]; in handle_uring_sq()
|