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

Function rte_ring_reset

dpdk/lib/ring/rte_ring.c:114–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void
115rte_ring_reset(struct rte_ring *r)
116{
117 reset_headtail(&r->prod);
118 reset_headtail(&r->cons);
119}
120
121/*
122 * helper function, calculates sync_type values for prod and cons

Callers 4

rte_member_reset_sketchFunction · 0.85
rte_hash_resetFunction · 0.85
sfc_repr_rx_queue_stopFunction · 0.85
sfc_repr_tx_queue_stopFunction · 0.85

Calls 1

reset_headtailFunction · 0.85

Tested by

no test coverage detected