ixgbe/base: wait longer while polling X540 flash update
authorOuyang Changchun <changchun.ouyang@intel.com>
Mon, 29 Sep 2014 07:16:18 +0000 (15:16 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Oct 2014 13:43:27 +0000 (15:43 +0200)
It need wait for 5 ms for polling EEC register in IXGBE X540 base code.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
lib/librte_pmd_ixgbe/ixgbe/ixgbe_x540.c

index 9cecd29..990b676 100644 (file)
@@ -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)