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

Function sfc_rx_stop

dpdk/drivers/net/sfc/sfc_rx.c:1630–1646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1628}
1629
1630void
1631sfc_rx_stop(struct sfc_adapter *sa)
1632{
1633 struct sfc_adapter_shared * const sas = sfc_sa2shared(sa);
1634 sfc_sw_index_t sw_index;
1635
1636 sfc_log_init(sa, "rxq_count=%u (internal %u)", sas->ethdev_rxq_count,
1637 sas->rxq_count);
1638
1639 sw_index = sas->rxq_count;
1640 while (sw_index-- > 0) {
1641 if (sas->rxq_info[sw_index].state & SFC_RXQ_STARTED)
1642 sfc_rx_qstop(sa, sw_index);
1643 }
1644
1645 efx_rx_fini(sa->nic);
1646}
1647
1648int
1649sfc_rx_qinit_info(struct sfc_adapter *sa, sfc_sw_index_t sw_index,

Callers 2

sfc_try_startFunction · 0.85
sfc_stopFunction · 0.85

Calls 3

sfc_sa2sharedFunction · 0.85
sfc_rx_qstopFunction · 0.85
efx_rx_finiFunction · 0.85

Tested by

no test coverage detected