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

Function efx_ev_qdestroy

dpdk/drivers/common/sfc_efx/base/efx_ev.c:399–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399 void
400efx_ev_qdestroy(
401 __in efx_evq_t *eep)
402{
403 efx_nic_t *enp = eep->ee_enp;
404 const efx_ev_ops_t *eevop = enp->en_eevop;
405
406 EFSYS_ASSERT3U(eep->ee_magic, ==, EFX_EVQ_MAGIC);
407
408 EFSYS_ASSERT(enp->en_ev_qcount != 0);
409 --enp->en_ev_qcount;
410
411 eevop->eevo_qdestroy(eep);
412
413 /* Free the EVQ object */
414 EFSYS_KMEM_FREE(enp->en_esip, sizeof (efx_evq_t), eep);
415}
416
417 __checkReturn efx_rc_t
418efx_ev_qprime(

Callers 2

sfc_ev_qstartFunction · 0.85
sfc_ev_qstopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected