FreeBSD/sys/dev/ixl/ixl_txrx.c
/*
 * Called from a taskqueue to drain queued transmit packets.
 */
Called from a taskqueue to drain queued transmit packets.
Called from a taskqueue to drain queued transmit packets .
void
ixl_deferred_mq_start(void *arg, int pending)
{
	struct ixl_queue	*que = arg;
        struct tx_ring		*txr = &que->txr;
	struct ixl_vsi		*vsi = que->vsi;
        struct ifnet		*ifp = vsi->ifp;
	IXL_TX_LOCK(txr);
	if (!drbr_empty(ifp, txr->br))
		ixl_mq_start_locked(ifp, txr);
	IXL_TX_UNLOCK(txr);
}
void ixl_deferred_mq_start ( void * arg , int pending ) { struct ixl_queue * que = arg ; struct tx_ring * txr = & que -> txr ; struct ixl_vsi * vsi = que -> vsi ; struct ifnet * ifp = vsi -> ifp ; IXL_TX_LOCK ( txr ) ; if ( ! drbr_empty ( ifp , txr -> br ) ) ixl_mq_start_locked ( ifp , txr ) ; IXL_TX_UNLOCK ( txr ) ; }
Called from a taskqueue to drain queued transmit packets.
Called from a taskqueue to drain queued transmit packets .