ixgbe: correct disable_rx_buff timeout
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 3 May 2012 01:44:12 +0000 (01:44 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 10 May 2012 06:07:26 +0000 (23:07 -0700)
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 <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c

index c7e51b85b8b627453c7bd139ef7c202c5e66e6cf..77ac41feb0fef0360d671a550f7811f83ee14e61 100644 (file)
@@ -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 */