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

Function rte_ring_full

dpdk/lib/ring/rte_ring.h:533–537  ·  view source on GitHub ↗

* Test if a ring is full. * * @param r * A pointer to the ring structure. * @return * - 1: The ring is full. * - 0: The ring is not full. */

Source from the content-addressed store, hash-verified

531 * - 0: The ring is not full.
532 */
533static inline int
534rte_ring_full(const struct rte_ring *r)
535{
536 return rte_ring_free_count(r) == 0;
537}
538
539/**
540 * Test if a ring is empty.

Callers 5

ccp_pmd_enqueue_burstFunction · 0.85
test_ring_basic_exFunction · 0.85
show_ringFunction · 0.85

Calls 1

rte_ring_free_countFunction · 0.85

Tested by 3

test_ring_basic_exFunction · 0.68