]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa67f31a334b5f4edfcae82cc0217282ba2e6dd4
treef24cac7f47fafa9f73afa4f74986086b838b49e3
parent4629e35dfa4c60104e2acacb6fd1aff04e3baf26
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