wrap netdev_xmit_more in e1000
This commit is contained in:
parent
32d37eb6c1
commit
74306224a0
|
|
@ -3356,7 +3356,7 @@ static netdev_tx_t e1000_xmit_frame(struct sk_buff *skb,
|
|||
/* Make sure there is space in the ring for the next send. */
|
||||
e1000_maybe_stop_tx(netdev, tx_ring, desc_needed);
|
||||
|
||||
if (!netdev_xmit_more() ||
|
||||
if (adapter->ecdev || !netdev_xmit_more() ||
|
||||
netif_xmit_stopped(netdev_get_tx_queue(netdev, 0))) {
|
||||
writel(tx_ring->next_to_use, hw->hw_addr + tx_ring->tdt);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3356,7 +3356,7 @@ static netdev_tx_t e1000_xmit_frame(struct sk_buff *skb,
|
|||
/* Make sure there is space in the ring for the next send. */
|
||||
e1000_maybe_stop_tx(netdev, tx_ring, desc_needed);
|
||||
|
||||
if (!netdev_xmit_more() ||
|
||||
if (adapter->ecdev || !netdev_xmit_more() ||
|
||||
netif_xmit_stopped(netdev_get_tx_queue(netdev, 0))) {
|
||||
writel(tx_ring->next_to_use, hw->hw_addr + tx_ring->tdt);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3357,7 +3357,7 @@ static netdev_tx_t e1000_xmit_frame(struct sk_buff *skb,
|
|||
/* Make sure there is space in the ring for the next send. */
|
||||
e1000_maybe_stop_tx(netdev, tx_ring, desc_needed);
|
||||
|
||||
if (!netdev_xmit_more() ||
|
||||
if (adapter->ecdev || !netdev_xmit_more() ||
|
||||
netif_xmit_stopped(netdev_get_tx_queue(netdev, 0))) {
|
||||
writel(tx_ring->next_to_use, hw->hw_addr + tx_ring->tdt);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue