aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
diff options
context:
space:
mode:
authorWeihang Li <liweihang@hisilicon.com>2019-06-13 17:12:26 +0800
committerDavid S. Miller <davem@davemloft.net>2019-06-14 19:26:16 -0700
commit9e0254ddea78cf947bf6650a3ec8e50ab132e8a1 (patch)
tree56d29f9c6dcb7e1deac4f33f2b6bd6d0fa318516 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
parentnet: hns3: some changes of MSI-X bits in PPU(RCB) (diff)
downloadlinux-dev-9e0254ddea78cf947bf6650a3ec8e50ab132e8a1.tar.xz
linux-dev-9e0254ddea78cf947bf6650a3ec8e50ab132e8a1.zip
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 '')
0 files changed, 0 insertions, 0 deletions