]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: some bugfix of ppu(rcb) ras errors
authorWeihang Li <liweihang@hisilicon.com>
Wed, 20 Feb 2019 02:32:45 +0000 (10:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 00:29:04 +0000 (16:29 -0800)
commit75519d018358b90b9fa7a8076dee2c4acc9a27d6
treeee2ef34bd4f2fd791442a4d8d5bc6037f506b323
parent3dc28ca6a54618322859feac7c103f710a818f1d
net: hns3: some bugfix of ppu(rcb) ras errors

The 3rd and 4th of PPU(RCB) PF Abnormal is RAS errors instead of MSI-X
like other bits. This patch adds process of handling and logging this
two bits. Otherwise, this patch modifies print message of 28th and 29th
bit of PPU MPF Abnormal errors, which keep same with other errors now.

Fixes: 09029bc2dcb1 ("net: hns3: handle hw errors of PPU(RCB)")
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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h