Lines 1543-1549
Link Here
|
1543 |
IXGBE_TX_LOCK(txr); |
1543 |
IXGBE_TX_LOCK(txr); |
1544 |
ixgbe_txeof(txr); |
1544 |
ixgbe_txeof(txr); |
1545 |
#ifdef IXGBE_LEGACY_TX |
1545 |
#ifdef IXGBE_LEGACY_TX |
1546 |
if (!IFQ_DRV_IS_EMPTY(ifp->if_snd)) |
1546 |
if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) |
1547 |
ixgbe_start_locked(txr, ifp); |
1547 |
ixgbe_start_locked(txr, ifp); |
1548 |
#else |
1548 |
#else |
1549 |
if (!drbr_empty(ifp, txr->br)) |
1549 |
if (!drbr_empty(ifp, txr->br)) |
Lines 2091-2097
Link Here
|
2091 |
(paused == 0)) |
2091 |
(paused == 0)) |
2092 |
++hung; |
2092 |
++hung; |
2093 |
else if (txr->queue_status == IXGBE_QUEUE_WORKING) |
2093 |
else if (txr->queue_status == IXGBE_QUEUE_WORKING) |
|
|
2094 |
#ifndef IXGBE_LEGACY_TX |
2094 |
taskqueue_enqueue(que->tq, &txr->txq_task); |
2095 |
taskqueue_enqueue(que->tq, &txr->txq_task); |
|
|
2096 |
#else |
2097 |
taskqueue_enqueue(que->tq, &que->que_task); |
2098 |
#endif |
2095 |
} |
2099 |
} |
2096 |
/* Only truely watchdog if all queues show hung */ |
2100 |
/* Only truely watchdog if all queues show hung */ |
2097 |
if (hung == adapter->num_queues) |
2101 |
if (hung == adapter->num_queues) |
Lines 3327-3336
Link Here
|
3327 |
tx_buffer->map = NULL; |
3331 |
tx_buffer->map = NULL; |
3328 |
} |
3332 |
} |
3329 |
} |
3333 |
} |
3330 |
#ifdef IXGBE_LEGACY_TX |
|
|
3331 |
if (txr->br != NULL) |
3332 |
buf_ring_free(txr->br, M_DEVBUF); |
3333 |
#endif |
3334 |
if (txr->tx_buffers != NULL) { |
3334 |
if (txr->tx_buffers != NULL) { |
3335 |
free(txr->tx_buffers, M_DEVBUF); |
3335 |
free(txr->tx_buffers, M_DEVBUF); |
3336 |
txr->tx_buffers = NULL; |
3336 |
txr->tx_buffers = NULL; |