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

Function sfc_ev_qstop

dpdk/drivers/net/sfc/sfc_ev.c:764–783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762}
763
764void
765sfc_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
785static void
786sfc_ev_mgmt_periodic_qpoll(void *arg)

Callers 6

sfc_ev_startFunction · 0.85
sfc_ev_stopFunction · 0.85
sfc_tx_qstartFunction · 0.85
sfc_tx_qstopFunction · 0.85
sfc_rx_qstartFunction · 0.85
sfc_rx_qstopFunction · 0.85

Calls 1

efx_ev_qdestroyFunction · 0.85

Tested by

no test coverage detected