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

Function sfc_tx_stop

dpdk/drivers/net/sfc/sfc_tx.c:742–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

740}
741
742void
743sfc_tx_stop(struct sfc_adapter *sa)
744{
745 struct sfc_adapter_shared * const sas = sfc_sa2shared(sa);
746 sfc_sw_index_t sw_index;
747
748 sfc_log_init(sa, "txq_count = %u (internal %u)",
749 sas->ethdev_txq_count, sas->txq_count);
750
751 sw_index = sas->txq_count;
752 while (sw_index-- > 0) {
753 if (sas->txq_info[sw_index].state & SFC_TXQ_STARTED)
754 sfc_tx_qstop(sa, sw_index);
755 }
756
757 efx_tx_fini(sa->nic);
758}
759
760static void
761sfc_efx_tx_reap(struct sfc_efx_txq *txq)

Callers 2

sfc_try_startFunction · 0.85
sfc_stopFunction · 0.85

Calls 3

sfc_sa2sharedFunction · 0.85
sfc_tx_qstopFunction · 0.85
efx_tx_finiFunction · 0.85

Tested by

no test coverage detected