net/ice: fix link status recovery
authorQiming Yang <qiming.yang@intel.com>
Mon, 11 Nov 2019 03:24:24 +0000 (11:24 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commitfdcf92ed6637b790048f4748f9e012bf25ec539e
tree9e0844ab155bc37781e2f8a3865e69147de1d9ec
parentdb6730a809c44abc4c2760d777ddc732b6f69373
net/ice: fix link status recovery

This patch fixes a kernel driver link status issue by recovering
link status when device stops.

Fixes: e6161345d8a9 ("net/ice: support link status change")
Cc: stable@dpdk.org
Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/ice_ethdev.c
drivers/net/ice/ice_ethdev.h