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

Function efx_tx_qdestroy

dpdk/drivers/common/sfc_efx/base/efx_tx.c:421–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421 void
422efx_tx_qdestroy(
423 __in efx_txq_t *etp)
424{
425 efx_nic_t *enp = etp->et_enp;
426 const efx_tx_ops_t *etxop = enp->en_etxop;
427
428 EFSYS_ASSERT3U(etp->et_magic, ==, EFX_TXQ_MAGIC);
429
430 EFSYS_ASSERT(enp->en_tx_qcount != 0);
431 --enp->en_tx_qcount;
432
433 etxop->etxo_qdestroy(etp);
434
435 /* Free the TXQ object */
436 EFSYS_KMEM_FREE(enp->en_esip, sizeof (efx_txq_t), etp);
437}
438
439 __checkReturn efx_rc_t
440efx_tx_qpost(

Callers 2

sfc_tx_qstartFunction · 0.85
sfc_tx_qstopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected