FreeBSD/sys/dev/ixl/if_ixlv.c
/*
 * Create taskqueue and tasklet for Admin Queue interrupts.
 */
Create taskqueue and tasklet for Admin Queue interrupts.
Create taskqueue and tasklet for Admin Queue interrupts .
static int
ixlv_init_taskqueue(struct ixlv_sc *sc)
{
	int error = 0;
	TASK_INIT(&sc->aq_irq, 0, ixlv_do_adminq, sc);
	sc->tq = taskqueue_create_fast("ixl_adm", M_NOWAIT,
	    taskqueue_thread_enqueue, &sc->tq);
	taskqueue_start_threads(&sc->tq, 1, PI_NET, "%s sc->tq",
	    device_get_nameunit(sc->dev));
	return (error);
}
static int ixlv_init_taskqueue ( struct ixlv_sc * sc ) { int error = 0 ; TASK_INIT ( & sc -> aq_irq , 0 , ixlv_do_adminq , sc ) ; sc -> tq = taskqueue_create_fast ( " " , M_NOWAIT , taskqueue_thread_enqueue , & sc -> tq ) ; taskqueue_start_threads ( & sc -> tq , 1 , PI_NET , " " , device_get_nameunit ( sc -> dev ) ) ; return ( error ) ; }
Create taskqueue and tasklet for Admin Queue interrupts.
Create taskqueue and tasklet for Admin Queue interrupts .