FreeBSD/sys/dev/cxgbe/t4_sge.c
/*
 * Deals with errors and the firmware event queue.  All data rx queues forward
 * their interrupt to the firmware event queue.
 */
Deals with errors and the firmware event queue.  All data rx queues forward
their interrupt to the firmware event queue.
Deals with errors and the firmware event queue . All data rx queues forward their interrupt to the firmware event queue .
void
t4_intr_all(void *arg)
{
	struct adapter *sc = arg;
	struct sge_iq *fwq = &sc->sge.fwq;
	t4_intr_err(arg);
	if (atomic_cmpset_int(&fwq->state, IQS_IDLE, IQS_BUSY)) {
		service_iq(fwq, 0);
		atomic_cmpset_int(&fwq->state, IQS_BUSY, IQS_IDLE);
	}
}
void t4_intr_all ( void * arg ) { struct adapter * sc = arg ; struct sge_iq * fwq = & sc -> sge . fwq ; t4_intr_err ( arg ) ; if ( atomic_cmpset_int ( & fwq -> state , IQS_IDLE , IQS_BUSY ) ) { service_iq ( fwq , 0 ) ; atomic_cmpset_int ( & fwq -> state , IQS_BUSY , IQS_IDLE ) ; } }
Deals with errors and the firmware event queue.
Deals with errors and the firmware event queue .