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

Function iflib_debug_reset

freebsd/net/iflib.c:671–684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669
670#define DBG_COUNTER_INC(name) atomic_add_int(&(iflib_ ## name), 1)
671static void
672iflib_debug_reset(void)
673{
674 iflib_tx_seen = iflib_tx_sent = iflib_tx_encap = iflib_rx_allocs =
675 iflib_fl_refills = iflib_fl_refills_large = iflib_tx_frees =
676 iflib_txq_drain_flushing = iflib_txq_drain_oactive =
677 iflib_txq_drain_notready =
678 iflib_encap_load_mbuf_fail = iflib_encap_pad_mbuf_fail =
679 iflib_encap_txq_avail_fail = iflib_encap_txd_encap_fail =
680 iflib_task_fn_rxs = iflib_rx_intr_enables = iflib_fast_intrs =
681 iflib_rx_unavail =
682 iflib_rx_ctx_inactive = iflib_rx_if_input =
683 iflib_rxd_flush = 0;
684}
685
686#else
687#define DBG_COUNTER_INC(name)

Callers 1

iflib_stopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected