aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/e1000/e1000_main.c
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2009-04-16 16:59:28 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-17 01:09:58 -0700
commita86043c2ad92aa6312807039198d6ab6171164ef (patch)
treee1750256f0c4259964df467cecd2e9448052d083 /drivers/net/e1000/e1000_main.c
parentb1e8fd54af73116331376a7b3074932a21e7477a (diff)
e1000e: fix bug in restart queue logic
If the e1000e 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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000/e1000_main.c')
0 files changed, 0 insertions, 0 deletions