FreeBSD/sys/dev/e1000/if_igb.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 .
static void
igb_deferred_mq_start(void *arg, int pending)
{
	struct tx_ring *txr = arg;
	struct adapter *adapter = txr->adapter;
	struct ifnet *ifp = adapter->ifp;
	IGB_TX_LOCK(txr);
	if (!drbr_empty(ifp, txr->br))
		igb_mq_start_locked(ifp, txr);
	IGB_TX_UNLOCK(txr);
}
static void igb_deferred_mq_start ( void * arg , int pending ) { struct tx_ring * txr = arg ; struct adapter * adapter = txr -> adapter ; struct ifnet * ifp = adapter -> ifp ; IGB_TX_LOCK ( txr ) ; if ( ! drbr_empty ( ifp , txr -> br ) ) igb_mq_start_locked ( ifp , txr ) ; IGB_TX_UNLOCK ( txr ) ; }
Called from a taskqueue to drain queued transmit packets.
Called from a taskqueue to drain queued transmit packets .