| 314 | } |
| 315 | |
| 316 | void |
| 317 | efx_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 |
| 334 | efx_txq_size( |
no outgoing calls
no test coverage detected