net/ixgbe: fix link status after port reset
authorShougang Wang <shougangx.wang@intel.com>
Mon, 13 Apr 2020 01:38:39 +0000 (01:38 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 22 Apr 2020 10:31:12 +0000 (12:31 +0200)
commitdfcea7f90f703dabcb3589ea06070a228dbcef12
tree6ca84e453397be7c700d5a9daed6ad0a09e1e517
parent8f5d8e74fb38d50b9d2056431c63749222b5f6ed
net/ixgbe: fix link status after port reset

It's a normal behavior to change the link status to up after
resetting the port. So it is unnecessary to set link down before
starting port, and changing the link state(link up/down) frequently
will cause link speed unstable.

Fixes: c3f2fbff78cf ("net/ixgbe: fix link status")
Cc: stable@dpdk.org
Signed-off-by: Shougang Wang <shougangx.wang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
Tested-by: Xueming Zhang <xuemingx.zhang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c