diff options
author | Akeem G Abodunrin <akeem.g.abodunrin@intel.com> | 2015-03-27 03:12:10 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-03-27 05:58:24 -0400 |
commit | 8af580dff23e5323120c1c9b206fb2c06ec6fcf6 (patch) | |
tree | 85ad153d11601c4955fc84d738cbb42fcab35ee3 | |
parent | 63e18c252068da46ba5ab11ad8861c310afc79fd (diff) |
i40e: Increase PF reset max loop limit
In some circumstances the firmware can take longer to be ready after a reset than
we're currently waiting. This patch increases the polling loop limiter to much
longer than expected.
Change-ID: I4b2c4c100dfa4abb77d02e5ecdec1cdd253b8c7e
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_common.c b/drivers/net/ethernet/intel/i40e/i40e_common.c index b7cacde92de0..d596f6624025 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_common.c +++ b/drivers/net/ethernet/intel/i40e/i40e_common.c | |||
@@ -859,7 +859,7 @@ static enum i40e_media_type i40e_get_media_type(struct i40e_hw *hw) | |||
859 | } | 859 | } |
860 | 860 | ||
861 | #define I40E_PF_RESET_WAIT_COUNT_A0 200 | 861 | #define I40E_PF_RESET_WAIT_COUNT_A0 200 |
862 | #define I40E_PF_RESET_WAIT_COUNT 110 | 862 | #define I40E_PF_RESET_WAIT_COUNT 200 |
863 | /** | 863 | /** |
864 | * i40e_pf_reset - Reset the PF | 864 | * i40e_pf_reset - Reset the PF |
865 | * @hw: pointer to the hardware structure | 865 | * @hw: pointer to the hardware structure |