net/ixgbe: fix busy wait during checking link status
authorChas Williams <chas3@att.com>
Thu, 1 Feb 2018 22:39:07 +0000 (17:39 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000 (00:41 +0200)
commit22da9548cc1841350421e9b7efbb659c8e0b3d3b
tree4078cd31c0ef211eb68b4bde88e2025d9eaedddc
parent9486d60b94b58932c6da1163df2118549fa57224
net/ixgbe: fix busy wait during checking link status

If we haven't set wait_to_complete, there is no need to busy wait
until we have a link status.  Applications, like bonding, use the
wait_to_complete flag to indicate that they will be doing their own
busy wait and will likely be polling again shortly.

Fixes: dc66e5fd01b9 ("net/ixgbe: improve link state check on VF")
Cc: stable@dpdk.org
Signed-off-by: Chas Williams <chas3@att.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c