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

Function sfc_rx_close

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

* Shutdown Rx subsystem. * * Called at device close stage, for example, before device shutdown. */

Source from the content-addressed store, hash-verified

1889 * Called at device close stage, for example, before device shutdown.
1890 */
1891void
1892sfc_rx_close(struct sfc_adapter *sa)
1893{
1894 struct sfc_rss *rss = &sfc_sa2shared(sa)->rss;
1895
1896 sfc_rx_fini_queues(sa, 0);
1897 sfc_mae_counter_rxq_fini(sa);
1898
1899 rss->channels = 0;
1900
1901 free(sa->rxq_ctrl);
1902 sa->rxq_ctrl = NULL;
1903
1904 rte_free(sfc_sa2shared(sa)->rxq_info);
1905 sfc_sa2shared(sa)->rxq_info = NULL;
1906}

Callers 3

sfc_rx_configureFunction · 0.85
sfc_configureFunction · 0.85
sfc_closeFunction · 0.85

Calls 5

sfc_sa2sharedFunction · 0.85
sfc_rx_fini_queuesFunction · 0.85
sfc_mae_counter_rxq_finiFunction · 0.85
rte_freeFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected