Re: [net-2.6 PATCH 2/2] e1000: fix transmit routine exit bug

David Miller
2009-04-17T08:11:02Z

From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Date: Thu, 16 Apr 2009 19:59:47 -0700

> If the e1000 transmit cleanup inner loop exited early, then
> cleaned might not be true. This could cause tx hangs or other
> badness. Use count to track the total number of descriptors
> cleaned instead of basing a tx queue restart off of a temporary
> working state variable.
>
> This code now makes the flow the same for e1000/e1000e/igb/ixgbe
>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

Applied.