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

Function ifmp_ring_reset_stats

freebsd/net/mp_ring.c:513–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513void
514ifmp_ring_reset_stats(struct ifmp_ring *r)
515{
516
517 counter_u64_zero(r->enqueues);
518 counter_u64_zero(r->drops);
519 counter_u64_zero(r->starts);
520 counter_u64_zero(r->stalls);
521 counter_u64_zero(r->restarts);
522 counter_u64_zero(r->abdications);
523}
524
525int
526ifmp_ring_is_idle(struct ifmp_ring *r)

Callers 1

iflib_stopFunction · 0.85

Calls 1

counter_u64_zeroFunction · 0.85

Tested by

no test coverage detected