net/ixgbe/base: wait for link after copper MAC setup
authorAshijeet Acharya <ashijeet.acharya@6wind.com>
Fri, 24 May 2019 09:30:15 +0000 (11:30 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 28 May 2019 09:32:47 +0000 (11:32 +0200)
commitd31b95860d8e9dd7c6e242bd08baaac00a9714f0
tree54196f784405e8ec7aaba28ce04bd51794ab4d4a
parentde80fbfddb44b1bf883f84b9e2edbde22a569758
net/ixgbe/base: wait for link after copper MAC setup

After setting up the link on x552/X557-AT 10GBASE-T NICs, sometimes the
link does not get set up properly and as a result all the subsequent
calls to ixgbe_check_link() from ixgbe_dev_link_update_share() fail.

Introduce a delay time of 1s in ixgbe_setup_mac_link_t_X550em() before
beginning to set up the external PHY link speed to ensure that the
controller can acquire the link.

Signed-off-by: Ashijeet Acharya <ashijeet.acharya@6wind.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c