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

Function iflib_ifmp_purge

freebsd/net/iflib.c:3866–3879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3864}
3865
3866static void
3867iflib_ifmp_purge(iflib_txq_t txq)
3868{
3869 struct ifmp_ring *r;
3870
3871 r = txq->ift_br;
3872 r->drain = iflib_txq_drain_free;
3873 r->can_drain = iflib_txq_drain_always;
3874
3875 ifmp_ring_check_drainage(r, r->size);
3876
3877 r->drain = iflib_txq_drain;
3878 r->can_drain = iflib_txq_can_drain;
3879}
3880
3881static void
3882_task_fn_tx(void *context)

Callers 1

iflib_stopFunction · 0.85

Calls 1

ifmp_ring_check_drainageFunction · 0.85

Tested by

no test coverage detected