Home
last modified time | relevance | path

Searched refs:rg_flags (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/drivers/mempool/ring/
H A Drte_mempool_ring.c79 ring_alloc(struct rte_mempool *mp, uint32_t rg_flags) in ring_alloc() argument
99 mp->socket_id, rg_flags); in ring_alloc()
111 uint32_t rg_flags = 0; in common_ring_alloc() local
114 rg_flags |= RING_F_SP_ENQ; in common_ring_alloc()
116 rg_flags |= RING_F_SC_DEQ; in common_ring_alloc()
118 return ring_alloc(mp, rg_flags); in common_ring_alloc()
/f-stack/dpdk/drivers/mempool/bucket/
H A Drte_mempool_bucket.c414 int rg_flags; in bucket_init_per_lcore() local
428 rg_flags = RING_F_SC_DEQ; in bucket_init_per_lcore()
430 rg_flags |= RING_F_SP_ENQ; in bucket_init_per_lcore()
432 rte_align32pow2(mp->size + 1), mp->socket_id, rg_flags); in bucket_init_per_lcore()
457 int rg_flags = 0; in bucket_alloc() local
498 rg_flags |= RING_F_SP_ENQ; in bucket_alloc()
500 rg_flags |= RING_F_SC_DEQ; in bucket_alloc()
509 mp->socket_id, rg_flags); in bucket_alloc()
525 mp->socket_id, rg_flags); in bucket_alloc()