ixgbe: fix bug where using wake queue instead of start
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
040dec3b37
commit
af72166f31
|
@ -3377,7 +3377,7 @@ static int __ixgbe_maybe_stop_tx(struct net_device *netdev,
|
|||
return -EBUSY;
|
||||
|
||||
/* A reprieve! - use start_queue because it doesn't call schedule */
|
||||
netif_wake_subqueue(netdev, tx_ring->queue_index);
|
||||
netif_start_subqueue(netdev, tx_ring->queue_index);
|
||||
++adapter->restart_queue;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue