Searched refs:chunk_pool (Results 1 – 10 of 10) sorted by relevance
| /f-stack/dpdk/drivers/raw/octeontx2_dma/ |
| H A D | otx2_dpi_test.c | 136 void *chunk_pool = NULL; in dpi_create_mempool() local 142 chunk_pool = (void *)rte_mempool_create_empty(pool_name, 1024, 1024, in dpi_create_mempool() 144 if (chunk_pool == NULL) { in dpi_create_mempool() 149 ret = rte_mempool_set_ops_byname(chunk_pool, in dpi_create_mempool() 153 rte_mempool_free(chunk_pool); in dpi_create_mempool() 157 ret = rte_mempool_populate_default(chunk_pool); in dpi_create_mempool() 163 return chunk_pool; in dpi_create_mempool() 183 conf.chunk_pool = dpi_create_mempool(); in test_otx2_dma_rawdev() 214 if (conf.chunk_pool) in test_otx2_dma_rawdev() 215 rte_mempool_free(conf.chunk_pool); in test_otx2_dma_rawdev()
|
| H A D | otx2_dpi_rawdev.c | 66 rte_mempool_put(dpivf->chunk_pool, dpivf->base_ptr); in dma_queue_finish() 96 if (rte_mempool_get(dpi->chunk_pool, &new_buffer) || in dma_queue_write() 122 if (rte_mempool_get(dpi->chunk_pool, &new_buffer) || in dma_queue_write() 313 dpivf->chunk_pool = conf->chunk_pool; in otx2_dpi_rawdev_configure() 314 if (rte_mempool_get(conf->chunk_pool, &buf) || (buf == NULL)) { in otx2_dpi_rawdev_configure() 321 pool = (uintptr_t)((struct rte_mempool *)conf->chunk_pool)->pool_id; in otx2_dpi_rawdev_configure() 328 rte_mempool_put(conf->chunk_pool, buf); in otx2_dpi_rawdev_configure()
|
| H A D | otx2_dpi_rawdev.h | 71 void *chunk_pool; member 76 void *chunk_pool; member
|
| /f-stack/dpdk/drivers/event/octeontx/ |
| H A D | timvf_evdev.c | 170 timr->chunk_pool)->pool_id; in timvf_ring_start() 206 rte_mempool_free(timr->chunk_pool); in timvf_ring_start() 325 timr->chunk_pool = (void *)rte_mempool_create_empty(pool_name, in timvf_ring_create() 329 if (!timr->chunk_pool) { in timvf_ring_create() 336 ret = rte_mempool_set_ops_byname(timr->chunk_pool, in timvf_ring_create() 344 ret = rte_mempool_populate_default(timr->chunk_pool); in timvf_ring_create() 380 rte_mempool_free(timr->chunk_pool); in timvf_ring_free()
|
| H A D | timvf_worker.h | 150 rte_mempool_put(timr->chunk_pool, chunk); in timr_clr_bkt() 195 if (unlikely(rte_mempool_get(timr->chunk_pool, in timvf_refill_chunk_generic() 222 if (unlikely(rte_mempool_get(timr->chunk_pool, (void **)&chunk))) in timvf_refill_chunk_fpa()
|
| H A D | timvf_evdev.h | 170 void *chunk_pool; member
|
| /f-stack/dpdk/drivers/event/octeontx2/ |
| H A D | otx2_tim_evdev.c | 142 tim_ring->chunk_pool = rte_mempool_create_empty(pool_name, in tim_chnk_pool_create() 146 if (tim_ring->chunk_pool == NULL) { in tim_chnk_pool_create() 151 rc = rte_mempool_set_ops_byname(tim_ring->chunk_pool, in tim_chnk_pool_create() 159 rc = rte_mempool_populate_default(tim_ring->chunk_pool); in tim_chnk_pool_create() 165 tim_ring->chunk_pool->pool_id); in tim_chnk_pool_create() 168 tim_ring->chunk_pool = rte_mempool_create(pool_name, in tim_chnk_pool_create() 173 if (tim_ring->chunk_pool == NULL) { in tim_chnk_pool_create() 183 rte_mempool_free(tim_ring->chunk_pool); in tim_chnk_pool_create() 515 rte_mempool_free(tim_ring->chunk_pool); in otx2_tim_ring_free()
|
| H A D | otx2_tim_worker.h | 161 rte_mempool_put_bulk(tim_ring->chunk_pool, pend_chunks, in tim_clr_bkt() 170 rte_mempool_put_bulk(tim_ring->chunk_pool, pend_chunks, in tim_clr_bkt() 184 if (unlikely(rte_mempool_get(tim_ring->chunk_pool, in tim_refill_chunk() 211 if (unlikely(rte_mempool_get(tim_ring->chunk_pool, (void **)&chunk))) in tim_insert_chunk()
|
| H A D | otx2_tim_evdev.h | 150 struct rte_mempool *chunk_pool; member
|
| /f-stack/dpdk/doc/guides/rawdevs/ |
| H A D | octeontx2_dma.rst | 79 conf.chunk_pool = (void *)rte_mempool_create_empty(...); 80 rte_mempool_set_ops_byname(conf.chunk_pool, rte_mbuf_platform_mempool_ops(), NULL); 81 rte_mempool_populate_default(conf.chunk_pool);
|