net/ixgbe: fix hardware reset issue in VF
PATCH 1/1 net/ixgbe: fix hardware reset issue in VF
There is no specific handling when there is error happened of hardware reset process in VF device start process.
--- drivers/net/ixgbe/ixgbe_ethdev.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/net/ixgbe/ixgbe_ethdev.c +5 -1
@@ -5001,7 +5001,11 @@ ixgbevf_dev_start(struct rte_eth_dev *dev)PMD_INIT_FUNC_TRACE (); - hw->mac.ops.reset_hw (hw); + err = hw->mac.ops.reset_hw (hw); +if (err) { +PMD_INIT_LOG (ERR ,"Unable to reset vf hardware (%d)" , err); +return err; + } hw->mac.get_link_status = true;/* negotiate mailbox API version to use with the PF. */
Signature · 1 line
2.9.3
Hi,
Quoted 8 lines
-----Original Message-----
From: Zhao1, Wei
Sent: Monday, January 29, 2018 4:07 PM
To: [email protected]
Cc: Lu, Wenzhuo <[email protected]>; Zhao1, Wei <[email protected]>
Subject: [PATCH] net/ixgbe: fix hardware reset issue in VF
Quoted 5 lines
There is no specific handling when there is error happened of hardware reset process in VF device start process.
Fixes 0a45657a6794a ("pci: rework interrupt handling")Signed-off-by Wei Zhao <[email protected]>
Please cc stable next time if it fixes an old issue. Thanks.
Ok.
Quoted 25 lines
-----Original Message-----
From: Lu, Wenzhuo
Sent: Tuesday, January 30, 2018 10:25 AM
To: Zhao1, Wei <[email protected]>; [email protected]
Cc: [email protected]
Subject: RE: [PATCH] net/ixgbe: fix hardware reset issue in VFHi,
Quoted 8 lines
-----Original Message-----
From: Zhao1, Wei
Sent: Monday, January 29, 2018 4:07 PM
To: [email protected]
Cc: Lu, Wenzhuo <[email protected]>; Zhao1, Wei <[email protected]>
Subject: [PATCH] net/ixgbe: fix hardware reset issue in VFQuoted 5 lines
There is no specific handling when there is error happened of hardware reset process in VF device start process.
Fixes 0a45657a6794a ("pci: rework interrupt handling")Signed-off-by Wei Zhao <[email protected]>Acked-by Wenzhuo Lu <[email protected]>Please cc stable next time if it fixes an old issue. Thanks.
Zhang, Helin
AppliedQuoted 19 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Lu, Wenzhuo
Sent: Tuesday, January 30, 2018 10:25 AM
To: Zhao1, Wei; [email protected]
Cc: [email protected]
Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: fix hardware reset issue in VFHi,
Quoted 8 lines
-----Original Message-----
From: Zhao1, Wei
Sent: Monday, January 29, 2018 4:07 PM
To: [email protected]
Cc: Lu, Wenzhuo <[email protected]>; Zhao1, Wei <[email protected]>
Subject: [PATCH] net/ixgbe: fix hardware reset issue in VF
Quoted 6 lines
Quoted 5 lines
There is no specific handling when there is error happened of hardware reset process in VF device start process.
Fixes 0a45657a6794a ("pci: rework interrupt handling")Signed-off-by Wei Zhao <[email protected]>Acked-by Wenzhuo Lu <[email protected]>
Applied to dpdk-next-net-intel, with commit log changes, thanks!
/Helin
Quoted 2 lines
Please cc stable next time if it fixes an old issue. Thanks.