Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_queue.c206 funq->rqes[i] = FUN_EPRQ_RQBUF_INIT(rqinfo->dma); in fun_fill_rq()
375 funq->rqes = fun_alloc_ring_mem(funq->fdev->dev, funq->rq_depth, in fun_alloc_rqes()
376 sizeof(*funq->rqes), in fun_alloc_rqes()
380 return funq->rqes ? 0 : -ENOMEM; in fun_alloc_rqes()
394 if (funq->rqes) { in fun_free_queue()
396 fun_free_ring_mem(dev, funq->rq_depth, sizeof(*funq->rqes), in fun_free_queue()
397 false, funq->rqes, funq->rq_dma_addr, in fun_free_queue()
H A Dfun_queue.h38 struct fun_eprq_rqbuf *rqes; member
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_rx.c276 q->rqes[q->rq_cons & q->rq_mask] = in get_buf()
559 q->rqes[i] = FUN_EPRQ_RQBUF_INIT(b->dma_addr); in fun_rxq_alloc_bufs()
638 q->rqes = fun_alloc_ring_mem(q->dma_dev, nrqe, sizeof(*q->rqes), in fun_rxq_create_sw()
641 if (!q->rqes) in fun_rxq_create_sw()
668 fun_free_ring_mem(q->dma_dev, nrqe, sizeof(*q->rqes), false, q->rqes, in fun_rxq_create_sw()
683 fun_free_ring_mem(q->dma_dev, q->rq_mask + 1, sizeof(*q->rqes), false, in fun_rxq_free_sw()
684 q->rqes, q->rq_dma_addr, q->bufs); in fun_rxq_free_sw()
H A Dfuneth_txrx.h175 struct fun_eprq_rqbuf *rqes; /* base of RQ descriptor ring */ member
/linux/tools/testing/selftests/drivers/net/hw/
H A Diou-zcrx.c214 rq_ring.rqes = (struct io_uring_zcrx_rqe *)((char *)ring_ptr + reg.offsets.rqes); in setup_zcrx()
307 rqe = &rq_ring.rqes[(rq_ring.rq_tail & rq_mask)]; in process_recvzc()
/linux/Documentation/networking/
H A Diou-zcrx.rst148 refill_ring.rqes =
149 (struct io_uring_zcrx_rqe *)((char *)ring_ptr + reg.offsets.rqes);
192 rqe = &refill_ring.rqes[refill_ring.rq_tail & mask];
/linux/io_uring/
H A Dzcrx.h49 struct io_uring_zcrx_rqe *rqes; member
H A Dzcrx.c372 offsets->rqes = ALIGN(sizeof(struct io_uring), L1_CACHE_BYTES); in io_fill_zcrx_offsets()
387 off = reg->offsets.rqes; in io_allocate_rbuf_ring()
401 ifq->rqes = (struct io_uring_zcrx_rqe *)(ptr + off); in io_allocate_rbuf_ring()
410 ifq->rqes = NULL; in io_free_rbuf_ring()
923 return &ifq->rqes[idx]; in io_zcrx_get_rqe()
/linux/include/uapi/linux/
H A Dio_uring.h1072 __u32 rqes; member