net/ixgbe: update link status on start
authorChas Williams <chas3@att.com>
Tue, 13 Feb 2018 22:56:18 +0000 (17:56 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000 (00:41 +0200)
commita7082768655a16294a78b68be97e6997be59d778
treeb089cec74d44e9b263bdc825e28347c8c9c2c7cb
parent22da9548cc1841350421e9b7efbb659c8e0b3d3b
net/ixgbe: update link status on start

dev->data->eth_link isn't updated until the first interrupt. If a
link is carrier down, then this interrupt may never happen. Before we
finished starting the PMD, call ixgbe_dev_link_update() to ensure we
have a valid status.

Signed-off-by: Chas Williams <chas3@att.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c