i40e/base: increase PF reset max loop limit
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:12:01 +0000 (15:12 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:22 +0000 (01:35 +0200)
commit1e32378f0774c51461ad2dd4c73fc65817eadab2
tree9b0e05740263599e0f841f2716ff0c08af82c912
parent9783eb15eb989e007303f872ba0f52a4c955d1b6
i40e/base: increase PF reset max loop limit

With latest LANconf and NVMupdate tools, pf_reset failed due to Firmware not
being ready, so this patch increases I40E_PF_RESET_WAIT_COUNT to 200, using
original value defined for A0 silicon, in order to make sure that FW is ready.

Test result indicates that firmware became ready at the loop count of 114.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_common.c