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

Function rte_event_ring_count

dpdk/lib/eventdev/rte_event_ring.h:49–53  ·  view source on GitHub ↗

* Returns the number of events in the ring * * @param r * pointer to the event ring * @return * the number of events in the ring */

Source from the content-addressed store, hash-verified

47 * the number of events in the ring
48 */
49static __rte_always_inline unsigned int
50rte_event_ring_count(const struct rte_event_ring *r)
51{
52 return rte_ring_count(&r->r);
53}
54
55/**
56 * Returns the amount of free space in the ring

Callers 5

get_port_statFunction · 0.85
sw_ports_emptyFunction · 0.85
sw_dumpFunction · 0.85
dsw_port_drain_in_ringFunction · 0.85

Calls 1

rte_ring_countFunction · 0.85

Tested by 1