Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/raw/octeontx2_dma/
H A Dotx2_dpi_rawdev.c189 if (ctx->c_ring) { in otx2_dpi_rawdev_enqueue_bufs()
190 ctx->c_ring->compl_data[ctx->c_ring->tail] = in otx2_dpi_rawdev_enqueue_bufs()
192 STRM_INC(ctx->c_ring); in otx2_dpi_rawdev_enqueue_bufs()
249 if (ctx->c_ring == NULL) in otx2_dpi_rawdev_dequeue_bufs()
252 headp = ctx->c_ring->head; in otx2_dpi_rawdev_dequeue_bufs()
253 for (i = 0; i < count && (headp != ctx->c_ring->tail); i++) { in otx2_dpi_rawdev_dequeue_bufs()
255 ctx->c_ring->compl_data[headp]; in otx2_dpi_rawdev_dequeue_bufs()
262 headp = (headp + 1) % ctx->c_ring->max_cnt; in otx2_dpi_rawdev_dequeue_bufs()
264 ctx->c_ring->head = headp; in otx2_dpi_rawdev_dequeue_bufs()
H A Dotx2_dpi_rawdev.h145 struct dpi_cring_data_s *c_ring; member
H A Dotx2_dpi_test.c97 ctx.c_ring = &cring; in dma_test_internal()