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

Function rte_ring_dequeue

dpdk/lib/ring/rte_ring.h:473–477  ·  view source on GitHub ↗

* Dequeue one object from a ring. * * 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_p * A pointer to a void * pointer (object) that will be filled. * @return * - 0: Success, objects dequeued. * - -ENOE

Source from the content-addressed store, hash-verified

471 * dequeued.
472 */
473static __rte_always_inline int
474rte_ring_dequeue(struct rte_ring *r, void **obj_p)
475{
476 return rte_ring_dequeue_elem(r, obj_p, sizeof(void *));
477}
478
479/**
480 * Flush a ring.

Callers 15

ff_ipc_recvFunction · 0.85
rxa_intr_ring_dequeueFunction · 0.85
bucket_dequeue_orphansFunction · 0.85
bucket_dequeue_bucketsFunction · 0.85
aesni_mb_dequeue_burstFunction · 0.85
process_ops_to_dequeueFunction · 0.85
__flow_hw_push_actionFunction · 0.85
eth_pcap_rx_infiniteFunction · 0.85
infinite_rx_ring_freeFunction · 0.85
tx_burst_8023adFunction · 0.85

Calls 1

rte_ring_dequeue_elemFunction · 0.85

Tested by 8

test_ring_dequeueFunction · 0.68
virtual_ethdev_stopFunction · 0.68
_cancel_threadFunction · 0.68
test_mode4_rxFunction · 0.68
test_mode4_expiredFunction · 0.68
test_mode4_executorFunction · 0.68
test_refcnt_workerFunction · 0.68