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

Function efx_tx_fini

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

Source from the content-addressed store, hash-verified

314}
315
316 void
317efx_tx_fini(
318 __in efx_nic_t *enp)
319{
320 const efx_tx_ops_t *etxop = enp->en_etxop;
321
322 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
323 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC);
324 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_TX);
325 EFSYS_ASSERT3U(enp->en_tx_qcount, ==, 0);
326
327 etxop->etxo_fini(enp);
328
329 enp->en_etxop = NULL;
330 enp->en_mod_flags &= ~EFX_MOD_TX;
331}
332
333 __checkReturn size_t
334efx_txq_size(

Callers 2

sfc_tx_startFunction · 0.85
sfc_tx_stopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected