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

Function rte_ring_is_cons_single

dpdk/lib/ring/rte_ring.h:636–640  ·  view source on GitHub ↗

* Check is the ring for single consumer. * * @param r * A pointer to the ring structure. * @return * true if ring is SC, zero otherwise. */

Source from the content-addressed store, hash-verified

634 * true if ring is SC, zero otherwise.
635 */
636static inline int
637rte_ring_is_cons_single(const struct rte_ring *r)
638{
639 return (rte_ring_get_cons_sync_type(r) == RTE_RING_SYNC_ST);
640}
641
642/**
643 * Dump the status of all rings on the console

Callers 2

pdump_validate_ring_mpFunction · 0.85

Calls 1

Tested by

no test coverage detected