[dpdk-dev,10/18] ixgbe: Modify time to wait in polling flash update
Commit Message
It need wait for 5 ms for polling EEC register in IXGBE X540 share codes.
Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
---
lib/librte_pmd_ixgbe/ixgbe/ixgbe_x540.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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)