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

Bug #1853963 reported by Fred Kimmy on 2019-11-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kunpeng920
Undecided
Unassigned
Ubuntu-18.04
Undecided
Unassigned
Ubuntu-18.04-hwe
Undecided
Unassigned
Ubuntu-19.04
Undecided
Unassigned
Ubuntu-19.10
Undecided
Unassigned
Ubuntu-20.04
Undecided
Unassigned
Upstream-kernel
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
Fred Kimmy (kongzizaixian) wrote :

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

Ike Panhc (ikepanhc) wrote :

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

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) on 2020-01-07
tags: added: ikeradar
Andrew Cloke (andrew-cloke) wrote :

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

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers