diff options
author | Weihang Li <liweihang@hisilicon.com> | 2019-06-13 17:12:26 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-14 19:26:16 -0700 |
commit | 9e0254ddea78cf947bf6650a3ec8e50ab132e8a1 (patch) | |
tree | 56d29f9c6dcb7e1deac4f33f2b6bd6d0fa318516 /fs/ubifs/commit.c | |
parent | 9f65e5ef900f6590dc7c90ca2a956247da393b07 (diff) |
net: hns3: extract handling of mpf/pf msi-x errors into functions
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.
Signed-off-by: Weihang Li <liweihang@hisilicon.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 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions