Skip to content

Commit

Permalink
ixgbe: fix bug where using wake queue instead of start
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jesse Brandeburg authored and Jeff Garzik committed Sep 24, 2008
1 parent 040dec3 commit af72166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit af72166

Please sign in to comment.