net/ice: fix initail link status issue
PATCH 1/1 net/ice: fix initail link status issue
This patch fixed the issue which the link status still up when the link status changed from up to downi after device restart.
Fixes fdcf92ed6637 ("net/ice: fix link status recovery")
Signed-off-by Qiming Yang <[email protected]>
--- drivers/net/ice/ice_ethdev.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ice/ice_ethdev.c +2 -0
@@ -3646,6 +3646,8 @@ ice_get_init_link_status(struct rte_eth_dev *dev)if (link_status.link_info &ICE_AQ_LINK_UP ) pf->init_link_up = true; +else + pf->init_link_up = false; } static int
Signature · 1 line
2.25.1
Quoted 9 lines
-----Original Message-----
From: Yang, Qiming <[email protected]>
Sent: Wednesday, September 13, 2023 5:02 PM
To: [email protected]
Cc: Zhang, Qi Z <[email protected]>; Yang, Qiming <[email protected]>; [email protected]
Subject: [PATCH] net/ice: fix initail link status issue
s/initail/initial
Quoted 8 lines
This patch fixed the issue which the link status still up when the link status changed from up to downi after device restart.
Fixes fdcf92ed6637 ("net/ice: fix link status recovery")Signed-off-by Qiming Yang <[email protected]>
Acked-by Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi