diff options
author | Shiju Jose <[email protected]> | 2019-02-23 17:22:18 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-02-24 20:27:50 -0800 |
commit | eb4c2ccbad6c688be791e0c08640a40124558c03 (patch) | |
tree | 34787da136e367060fb63ebb681f5946307de0a8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a638b1d8cc875ae819591be787503fc1db053d5f (diff) |
net: hns3: fix setting of the hns reset_type for rdma hw errors
Presently the hns reset_type for the roce errors is set
in the hclge_log_and_clear_rocee_ras_error function.
This function is also called to detect and clear roce errors
while enabling the rdma error interrupts. However there is no hns
reset requested for this case. This can cause issue of wrong
reset_type used with subsequent hns reset as the
reset_type set in the above case was not cleared.
This patch moves setting of hns reset_type for the roce errors from
hclge_log_and_clear_rocee_ras_error function
to hclge_handle_rocee_ras_error.
Fixes: 630ba007f475 ("net: hns3: add handling of RDMA RAS errors")
Reported-by: Huazhong Tan <[email protected]>
Reported-by: Xiaofei Tan <[email protected]>
Signed-off-by: Shiju Jose <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions