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

Function rte_ring_dequeue_burst

dpdk/lib/ring/rte_ring.h:810–816  ·  view source on GitHub ↗

* Dequeue multiple objects from a ring up to a maximum number. * * This function calls the multi-consumers or the single-consumer * version, depending on the default behaviour 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) that will be filled. * @param n *

Source from the content-addressed store, hash-verified

808 * - Number of objects dequeued
809 */
810static __rte_always_inline unsigned int
811rte_ring_dequeue_burst(struct rte_ring *r, void **obj_table,
812 unsigned int n, unsigned int *available)
813{
814 return rte_ring_dequeue_burst_elem(r, obj_table, sizeof(void *),
815 n, available);
816}
817
818#ifdef __cplusplus
819}

Callers 15

process_dispatch_ringFunction · 0.85
process_msg_ringFunction · 0.85
kni_process_txFunction · 0.85
schedule_dequeueFunction · 0.85
mc_scheduler_workerFunction · 0.85
zuc_pmd_dequeue_burstFunction · 0.85
snow3g_pmd_dequeue_burstFunction · 0.85

Calls 1

Tested by 5

test_ring_dequeueFunction · 0.68
_cancel_burst_threadFunction · 0.68
member_get_pktsFunction · 0.68