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

Function ifmp_ring_is_stalled

freebsd/net/mp_ring.c:538–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536}
537
538int
539ifmp_ring_is_stalled(struct ifmp_ring *r)
540{
541 union ring_state s;
542
543 s.state = r->state;
544 if (s.pidx_head == s.pidx_tail && s.flags == STALLED)
545 return (1);
546
547 return (0);
548}

Callers 3

iflib_timerFunction · 0.85
iflib_txq_drain_freeFunction · 0.85
iflib_if_qflushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected