summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorShiju Jose <shiju.jose@huawei.com>2019-02-23 17:22:18 +0800
committerDavid S. Miller <davem@davemloft.net>2019-02-24 20:27:50 -0800
commiteb4c2ccbad6c688be791e0c08640a40124558c03 (patch)
tree34787da136e367060fb63ebb681f5946307de0a8 /mm/vmalloc.c
parenta638b1d8cc875ae819591be787503fc1db053d5f (diff)
downloadlinux-eb4c2ccbad6c688be791e0c08640a40124558c03.tar.bz2
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 <tanhuazhong@huawei.com> Reported-by: Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by: Shiju Jose <shiju.jose@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions