From: Ouyang Changchun Date: Mon, 29 Sep 2014 07:16:18 +0000 (+0800) Subject: ixgbe/base: wait longer while polling X540 flash update X-Git-Tag: spdx-start~10361 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=dc7508f1fa26a5d22da44b946adb2418c03e64bd;p=dpdk.git ixgbe/base: wait longer while polling X540 flash update It need wait for 5 ms for polling EEC register in IXGBE X540 base code. Signed-off-by: Changchun Ouyang --- diff --git a/lib/librte_pmd_ixgbe/ixgbe/ixgbe_x540.c b/lib/librte_pmd_ixgbe/ixgbe/ixgbe_x540.c index 9cecd29dd1..990b676271 100644 --- a/lib/librte_pmd_ixgbe/ixgbe/ixgbe_x540.c +++ b/lib/librte_pmd_ixgbe/ixgbe/ixgbe_x540.c @@ -726,7 +726,7 @@ STATIC s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw) status = IXGBE_SUCCESS; break; } - usec_delay(5); + msec_delay(5); } if (i == IXGBE_FLUDONE_ATTEMPTS)