e1000: cleanup clean_tx_irq routine so that it completely cleans ring
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 25 Mar 2009 21:59:04 +0000 (21:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2009 08:00:54 +0000 (01:00 -0700)
commitccfb342c5cd584f0f3e682280f7152310edf0e39
treef24cac7f47fafa9f73afa4f74986086b838b49e3
parent37e73df8c3f19f4733c60ec53c104ff6f79ba467
e1000: cleanup clean_tx_irq routine so that it completely cleans ring

The tx cleanup routine was stopping after 64 packets and this was causing
issues resulting in the ring not being completely cleaned.

This change updates the driver to clean the entire ring and if it doesn't
it then will retry on the next pass.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000/e1000_main.c