MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_ring_enqueue_burst

Function rte_ring_enqueue_burst

dpdk/lib/ring/rte_ring.h:730–736  ·  view source on GitHub ↗

* Enqueue several objects on a ring. * * This function calls the multi-producer or the single-producer * version depending on the default behavior that was specified at * ring creation time (see flags). * * @param r * A pointer to the ring structure. * @param obj_table * A pointer to a table of void * pointers (objects). * @param n * The number of objects to add in the ring from t

Source from the content-addressed store, hash-verified

728 * - n: Actual number of objects enqueued.
729 */
730static __rte_always_inline unsigned int
731rte_ring_enqueue_burst(struct rte_ring *r, void * const *obj_table,
732 unsigned int n, unsigned int *free_space)
733{
734 return rte_ring_enqueue_burst_elem(r, obj_table, sizeof(void *),
735 n, free_space);
736}
737
738/**
739 * Dequeue several objects from a ring (multi-consumers safe). When the request

Callers 15

pdump_copyFunction · 0.85
schedule_enqueueFunction · 0.85
mc_scheduler_workerFunction · 0.85
ipsec_mb_enqueue_burstFunction · 0.85
eth_ring_txFunction · 0.85
enqueue_enc_all_opsFunction · 0.85
enqueue_ldpc_enc_all_opsFunction · 0.85
enqueue_dec_all_opsFunction · 0.85
enqueue_ldpc_dec_all_opsFunction · 0.85
enqueue_dec_opsFunction · 0.85

Calls 1

Tested by 4

test_ring_enqueueFunction · 0.68
member_put_pktsFunction · 0.68