* Shutdown Rx subsystem. * * Called at device close stage, for example, before device shutdown. */
| 1889 | * Called at device close stage, for example, before device shutdown. |
| 1890 | */ |
| 1891 | void |
| 1892 | sfc_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 | } |
no test coverage detected