| 762 | } |
| 763 | |
| 764 | void |
| 765 | sfc_ev_qstop(struct sfc_evq *evq) |
| 766 | { |
| 767 | if (evq == NULL) |
| 768 | return; |
| 769 | |
| 770 | sfc_log_init(evq->sa, "hw_index=%u", evq->evq_index); |
| 771 | |
| 772 | if (evq->init_state != SFC_EVQ_STARTED) |
| 773 | return; |
| 774 | |
| 775 | evq->init_state = SFC_EVQ_INITIALIZED; |
| 776 | evq->callbacks = NULL; |
| 777 | evq->read_ptr = 0; |
| 778 | evq->exception = B_FALSE; |
| 779 | |
| 780 | efx_ev_qdestroy(evq->common); |
| 781 | |
| 782 | evq->evq_index = 0; |
| 783 | } |
| 784 | |
| 785 | static void |
| 786 | sfc_ev_mgmt_periodic_qpoll(void *arg) |
no test coverage detected