net/ixgbe: fix link status synchronization on BSD
authorZhihong Peng <zhihongx.peng@intel.com>
Fri, 17 Apr 2020 03:52:12 +0000 (23:52 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 May 2020 20:27:39 +0000 (22:27 +0200)
commit0012111a3d879b0b0e27d14a841e2a729545727d
tree49ff10c8315109f87b076751797054c40a49b83a
parent2e873cf407e8a7f0a2c4478eaa2c1d24c0d2fc74
net/ixgbe: fix link status synchronization on BSD

DPDK does not implement interrupt mechanism on BSD,
so force NIC status synchronization.

Fixes: dc66e5fd01b9 ("net/ixgbe: improve link state check on VF")
Cc: stable@dpdk.org
Signed-off-by: Zhihong Peng <zhihongx.peng@intel.com>
Tested-by: Zhimin Huang <zhiminx.huang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c