[hns-1125]net: hns3: remove upgrade reset level when reset fail

Bug #1853963 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-19.04
Won't Fix
Undecided
Unassigned
Ubuntu-19.10
Won't Fix
Undecided
Unassigned
Ubuntu-20.04
Fix Released
Undecided
Unassigned
Upstream-kernel
Fix Released
Undecided
Unassigned

Bug Description

"[Bug Description]
Currently, hclge_reset_err_handle() will assert a global reset
when the failing count is smaller than MAX_RESET_FAIL_CNT, which
will affect other running functions.

[Steps to Reproduce]
1.load PF/VF driver and enable VF
2.trigger PF global reset periodically by script
3.config PF/VF parameters periodically by script

[Actual Results]
Some ports run abnormally or stop running.

[Expected Results]
All ports run normally.

[Reproducibility]
Inevitably

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

[Resolution]
This patch removes this upgrading, and uses re-scheduling reset
task to do it."

net: hns3: remove upgrade reset level when reset fail
net: hns3: add reset checking before set channels
net: hns3: clear reset interrupt status in hclge_irq_handle()
net: hns3: fix some reset handshake issue
net: hns3: activate reset timer when calling reset_event

description: updated
description: updated
Revision history for this message
Fred Kimmy (kongzizaixian) wrote :

Can you merge aboving patchset into ubuntu 18.04.1\ubuntu18.04.3 update\ubuntu 18.04.4 release version?

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

Could you provide the script or step-by-step to reproducing?

Revision history for this message
Fred Kimmy (kongzizaixian) wrote :

1) every PF port to set this 31 VF
 example: echo 31 > /sys/bus/pci/devices/0000\:7d\:00.0/sriov_numvfs

2) some net port connect this CX4 and 1822 net card, other net port connect this TESGINE network device

3) CX4 and 1822 net card send this UDP package; Tesgine send diff type package;

Ike Panhc (ikepanhc)
tags: added: ikeradar
Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

This patch does not meet the backport criteria for backporting to the 4.15 kernel.

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

This patch does not meet the backport criteria for backporting to the 5.3 kernel.

Changed in kunpeng920:
status: New → Fix Committed
Ike Panhc (ikepanhc)
tags: removed: ikeradar
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.