]> git.droids-corp.org - dpdk.git/commitdiff
net/ixgbe: fix maximum wait time in comment
authorXiaolong Ye <xiaolong.ye@intel.com>
Thu, 15 Nov 2018 07:20:05 +0000 (15:20 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 15 Nov 2018 22:32:01 +0000 (23:32 +0100)
As the code has changed the max wait time to 1000ms, the comment should
be changed accordingly.

Fixes: 64f1c8539c8c ("net/ixgbe: wait longer for link after fiber MAC setup")
Cc: stable@dpdk.org
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c

index 21f973e5e076a5593aa2309d706a09e566983a9a..fb50719fb0d03c94443481de4ed1ea0fb9815271 100644 (file)
@@ -5259,7 +5259,7 @@ s32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw,
                ixgbe_flap_tx_laser(hw);
 
                /* Wait for the controller to acquire link.  Per IEEE 802.3ap,
-                * Section 73.10.2, we may have to wait up to 500ms if KR is
+                * Section 73.10.2, we may have to wait up to 1000ms if KR is
                 * attempted.  82599 uses the same timing for 10g SFI.
                 */
                for (i = 0; i < 10; i++) {