fm10k: Increase the timeout for the data path reset
authorMatthew Vick <matthew.vick@intel.com>
Thu, 13 Nov 2014 07:29:18 +0000 (07:29 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Jan 2015 02:10:21 +0000 (18:10 -0800)
Based on feedback from the hardware team, 100us is too short of a time
to wait for the data path reset to complete and the recommendation is to
increase this timeout to 150us.

Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_type.h

index 280296f..7c6d9d5 100644 (file)
@@ -354,7 +354,7 @@ struct fm10k_hw;
 
 /* Define timeouts for resets and disables */
 #define FM10K_QUEUE_DISABLE_TIMEOUT            100
-#define FM10K_RESET_TIMEOUT                    100
+#define FM10K_RESET_TIMEOUT                    150
 
 /* VF registers */
 #define FM10K_VFCTRL           0x00000