net/ixgbe: fix link status
authorLunyuan Cui <lunyuanx.cui@intel.com>
Tue, 17 Dec 2019 06:12:03 +0000 (06:12 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:45:23 +0000 (19:45 +0100)
commitff8162cb9571528c006f265a32730a463fd0b886
tree924512f0b077e05744d16499fec63d7d59df8aba
parentb1b73eaee2f184799a02dbff4c48a6a04c19cf5b
net/ixgbe: fix link status

The link status for ixgbevf is not correct when PF link up.
IXGBE_ESDP register is only used when media type is fiber.

Fixes: 1ca05831b9be ("net/ixgbe: fix link status")
Cc: stable@dpdk.org
Signed-off-by: Lunyuan Cui <lunyuanx.cui@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c