| 419 | } |
| 420 | |
| 421 | void |
| 422 | efx_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 |
| 440 | efx_tx_qpost( |
no outgoing calls
no test coverage detected