equal
deleted
inserted
replaced
3423 } |
3423 } |
3424 |
3424 |
3425 /* need: count + 2 desc gap to keep tail from touching |
3425 /* need: count + 2 desc gap to keep tail from touching |
3426 * head, otherwise try next time */ |
3426 * head, otherwise try next time */ |
3427 if (unlikely(e1000_maybe_stop_tx(netdev, tx_ring, count + 2))) { |
3427 if (unlikely(e1000_maybe_stop_tx(netdev, tx_ring, count + 2))) { |
3428 spin_unlock_irqrestore(&tx_ring->tx_lock, flags); |
3428 if (!adapter->ecdev) { |
|
3429 spin_unlock_irqrestore(&tx_ring->tx_lock, flags); |
|
3430 } |
3429 return NETDEV_TX_BUSY; |
3431 return NETDEV_TX_BUSY; |
3430 } |
3432 } |
3431 |
3433 |
3432 if (unlikely(adapter->hw.mac_type == e1000_82547)) { |
3434 if (unlikely(adapter->hw.mac_type == e1000_82547)) { |
3433 if (unlikely(e1000_82547_fifo_workaround(adapter, skb))) { |
3435 if (unlikely(e1000_82547_fifo_workaround(adapter, skb))) { |