Messages in this thread | | | From | Salil Mehta <> | Subject | [PATCH net-next 0/7] Adds support of RAS Error Handling in HNS3 Driver | Date | Fri, 19 Oct 2018 20:15:25 +0100 |
| |
This patch-set adds support related to RAS Error handling to the HNS3 Ethernet PF Driver. Set of errors occurred in the HNS3 hardware are reported to the driver through the PCIe AER interface. The received error information is then used to classify the received errors and then decide the appropriate receovery action depending on the type of error.
Shiju Jose (7): net: hns3: Add PCIe AER callback error_detected net: hns3: Add PCIe AER error recovery net: hns3: Add support to enable and disable hw errors net: hns3: Add enable and process common ecc errors net: hns3: Add enable and process hw errors from IGU, EGU and NCSI net: hns3: Add enable and process hw errors from PPP net: hns3: Add enable and process hw errors of TM scheduler
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 50 +- .../net/ethernet/hisilicon/hns3/hns3pf/Makefile | 2 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 22 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 1088 ++++++++++++++++++++ .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h | 83 ++ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 33 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 3 +- 8 files changed, 1276 insertions(+), 8 deletions(-) create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h
-- 2.7.4
| |