Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4087893pxj; Tue, 8 Jun 2021 06:15:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlu1myjUPan4RVrgPVv5UaGNB6ZLLPu6VESJGI/xFQMcvdB4mQAPr/bqPwOrz2jsJxG9K5 X-Received: by 2002:a17:906:8041:: with SMTP id x1mr22947934ejw.81.1623158138432; Tue, 08 Jun 2021 06:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623158138; cv=none; d=google.com; s=arc-20160816; b=QODefrz5Lt+c7gkJr4fGqKlw25W3wksa+boEhdTcTzC/1gwaJYnsBu9PwZBFFlQyI6 U/yQeFts3x3psoh6+nZLVrpkHFqjgHzMCkmOBi8c6SYjDp7hjHrnMGwi06r6uj3PuXo0 PJNaLkudQPqfcGLrFD0xuwmoNnLk14Wl3ZWA2U57Oly9+OE5UkmU6g5TmyRiEZoxZwDL dgG2VQRsEHMyqQUgoA90lhzHgn87aGGoZ8J6hoYTqo77tq54SmksykKgh79xJX0VEjSr F/1zlgW7dt+Mv+gwPf3EjG6jmhYPxWmTOqhQl7yQNypgihh0zb3JDKb/2FGsX8UnNV4+ 2wqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=WLatHl0uNNpB/0XVx267kP2LIBZB+u6zDrzc5DFM2DE=; b=DWCsijpVu6I5+XUItHy+KeY0LYxX4IJQjRymYzFcmK6PnEcyGRM1Cs3WimA46jNPut y17WD3np2V5KNt5Hf7dYmExIhYeH7I2g2YdVlDSo+BMWRCKQbcznM7+9TfzKCJuicoaH D1NGXyNoLU2LhS8Rk5Q3kineVNoSlfYUL5N7CU/j3QFB1BpAA1SQPllY761MnHIUyWw4 5gRx953/76pE0Dsvgf0X/42pBbZPFkX+Gdhl4LawX2CHziF6tqlsXKWq11dzbgWNkJ0X E2aBWPgtCFQCf8fH/WYuSz76LegD1CDiLYT9A7bpldo/TVf0jmQNeZ21CMm1Fl/6psa8 USnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k18si14861949edr.529.2021.06.08.06.15.14; Tue, 08 Jun 2021 06:15:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232339AbhFHNNt (ORCPT + 99 others); Tue, 8 Jun 2021 09:13:49 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:3908 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232771AbhFHNNh (ORCPT ); Tue, 8 Jun 2021 09:13:37 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4FzrCW40kfz6wL4; Tue, 8 Jun 2021 21:08:39 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Tue, 8 Jun 2021 21:11:42 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 8 Jun 2021 21:11:38 +0800 From: Guangbin Huang To: , CC: , , , , Subject: [PATCH net-next 0/5] net: hns3: add RAS compatibility adaptation solution Date: Tue, 8 Jun 2021 21:08:26 +0800 Message-ID: <1623157711-26846-1-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggemi759-chm.china.huawei.com (10.1.198.145) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds RAS compatibility adaptation solution for new devices. Jiaran Zhang (4): net: hns3: add the RAS compatibility adaptation solution net: hns3: add support for imp-handle ras capability net: hns3: update error recovery module and type net: hns3: add error handling compatibility during initialization Yufeng Mo (1): net: hns3: add support for handling all errors through MSI-X drivers/net/ethernet/hisilicon/hns3/hnae3.h | 4 + drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 3 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 5 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 3 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 410 +++++++++++++++++++-- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h | 89 +++++ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 87 +++-- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 + 8 files changed, 546 insertions(+), 56 deletions(-) -- 2.8.1