[hns3-0115]net: hns3: refactor the notification scheme of PF reset

Bug #1859758 reported by Fred Kimmy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kunpeng920
Fix Released
Undecided
Unassigned
Ubuntu-18.04
Won't Fix
Undecided
Unassigned
Ubuntu-18.04-hwe
Fix Released
Undecided
Unassigned
Ubuntu-20.04
Fix Released
Undecided
Unassigned
Upstream-kernel
Fix Released
Undecided
Unassigned

Bug Description

[Bug Description]
assert FLR requently will make the hns3 driver get into a error state

[Steps to Reproduce]
1.trigger FLR requently

[Actual Results]
reset fail

[Expected Results]
reset ok

[Reproducibility]
Inevitably

[Additional information]
Hardware: D06
Firmware: NA
Kernel: NA

[Resolution]
separates the process of FLR from reset task

net: hns3: refactor the notification scheme of PF reset
net: hns3: refactor the procedure of VF FLR
net: hns3: modify hclge_func_reset_sync_vf()'s return type to void
net: hns3: enlarge HCLGE_RESET_WAIT_CNT
net: hns3: refactor the precedure of PF FLR
net: hns3: split hclgevf_reset() into preparing and rebuilding part
net: hns3: split hclge_reset() into preparing and rebuilding part

Revision history for this message
Ike Panhc (ikepanhc) wrote :

These patches are not hit mainline kernel yet.

Revision history for this message
Ike Panhc (ikepanhc) wrote :

Patch can be found in linux-next. Expect to hit mainline on 5.6 merge window

c7554dcd6dbf <email address hidden> 2020-01-11 14:52:23 -0800 net: hns3: refactor the notification scheme of PF reset
c3106cac2a80 <email address hidden> 2020-01-11 14:52:23 -0800 net: hns3: modify hclge_func_reset_sync_vf()'s return type to void
5bb784e973cf <email address hidden> 2020-01-11 14:52:23 -0800 net: hns3: enlarge HCLGE_RESET_WAIT_CNT
f28368bb4542 <email address hidden> 2020-01-11 14:52:22 -0800 net: hns3: refactor the procedure of VF FLR
8627bdedc435 <email address hidden> 2020-01-11 14:52:22 -0800 net: hns3: refactor the precedure of PF FLR
1cc9bc6e5867 <email address hidden> 2020-01-11 14:52:22 -0800 net: hns3: split hclgevf_reset() into preparing and rebuilding part
d4fa06562ae2 <email address hidden> 2020-01-11 14:52:22 -0800 net: hns3: split hclge_reset() into preparing and rebuilding part

Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

Also covered in bug# 1859261.

Revision history for this message
Ike Panhc (ikepanhc) wrote :

All patches in focal kernel already.

Revision history for this message
Ike Panhc (ikepanhc) wrote :

Can not clean cherry-pick for bionic kernel.

Changed in kunpeng920:
status: New → Fix Committed
Ike Panhc (ikepanhc)
Changed in kunpeng920:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.