Commit cd45aed0 authored by liweihang's avatar liweihang Committed by Xie XiuQi
Browse files

net: hns3: extract handling of mpf/pf msi-x errors into functions



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

Function hclge_handle_all_hw_msix_error() contains four parts:
1. Query buffer descriptors for MSI-X errors.
2. Query and clear all main PF MSI-X errors.
3. Query and clear all PF MSI-X errors.
4. Handle mac tunnel interrupts.
Part 2 and part 3 handle errors of some different modules respectively,
this patch extracts them into dividual functions, which makes the logic
clearer.

Feature or Bugfix: Bugfix

Signed-off-by: default avatarliweihang <liweihang@huawei.com>
Reviewed-by: default avatarlipeng <lipeng321@huawei.com>
Reviewed-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 12de2017
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment