ixgbe: fix bug when EITR=0 causing no writebacks
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 27 Apr 2010 01:37:41 +0000 (01:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 19:53:28 +0000 (12:53 -0700)
commitef021194d262bdfa706dc5755596e252175a6bbc
tree4c5b3febfe32226173d08572d95a41693bbca712
parentf8d1dcaf88bddc7f282722ec1fdddbcb06a72f18
ixgbe: fix bug when EITR=0 causing no writebacks

writebacks can be held indefinitely by hardware if EITR=0, when
combined with TXDCTL.WTHRESH=8.  When EITR=0, WTHRESH should be
set back to zero.

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>
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c