From: Jacob Keller Date: Thu, 3 May 2012 01:44:12 +0000 (+0000) Subject: ixgbe: correct disable_rx_buff timeout X-Git-Tag: upstream/snapshot3+hdmi~7403^2~119^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db76ad470e4577e4664af699d73ff7426791cde5;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ixgbe: correct disable_rx_buff timeout The current value of the udelay timeout for ixgbe_disable_rx_buff is too short. This causes the security path to not not be properly disabled during the section that is meant to have it turned off. The end result causes a race condition that results in RX issues. Signed-off-by: Jacob Keller Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c index c7e51b8..77ac41f 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c @@ -2561,7 +2561,7 @@ s32 ixgbe_disable_rx_buff_generic(struct ixgbe_hw *hw) break; else /* Use interrupt-safe sleep just in case */ - udelay(10); + udelay(1000); } /* For informational purposes only */