From: John Fastabend Date: Thu, 28 Oct 2010 00:59:57 +0000 (+0000) Subject: ixgbe: DCB, fix TX hang occurring in stress condition with PFC X-Git-Tag: v2.6.37-rc1~32^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9806307a1c5a2a79e268ae4e78b437d38c8adf7f;p=pandora-kernel.git ixgbe: DCB, fix TX hang occurring in stress condition with PFC The DCB credits refill quantum _must_ be greater than half the max packet size. This is needed to guarantee that TX DMA operations are not attempted during a pause state. Additionally, the min IFG must be set correctly for DCB mode. If a DMA operation is requested unexpectedly during the pause state the HW data store may be corrupted leading to a DMA hang. The DMA hang requires a reset to correct. This fixes the HW configuration to avoid this condition. Signed-off-by: John Fastabend Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed