From: Alexander Duyck Date: Wed, 17 Nov 2010 03:26:57 +0000 (-0800) Subject: ixgbe: Disable RSC when ITR setting is too high to allow RSC X-Git-Tag: v2.6.38-rc1~476^2~547^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80fba3f4341b1c98430bee620b507d3f5b7086cd;p=pandora-kernel.git ixgbe: Disable RSC when ITR setting is too high to allow RSC RSC will flush its descriptors every time the interrupt throttle timer expires. In addition there are known issues with RSC when the rx-usecs value is set too low. As such we are forced to clear the RSC_ENABLED bit and reset the adapter when the rx-usecs value is set too low. However we do not need to clear the NETIF_F_LRO flag because it is used to indicate that the user wants to leave the LRO feature enabled, and in fact with this change we will now re-enable RSC as soon as the rx-usecs value is increased and the flag is still set. Signed-off-by: Alexander Duyck Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed