Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3175091pxj; Mon, 7 Jun 2021 04:23:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFcu1odHJwl3ZnWIBeOLsdQJ0QSoRIxfdOOjVyMUEaS39GN4FEyzLL2ZR9Go+VdtmFeKIY X-Received: by 2002:aa7:dc17:: with SMTP id b23mr19103554edu.359.1623064982683; Mon, 07 Jun 2021 04:23:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623064982; cv=none; d=google.com; s=arc-20160816; b=jZQI2j9/2U/8E8pjBk8FmhLqn/vn2h3mMW7sGlTSaScgBfWdrx/GL8hafa0Clz6LJM Yh23Ui2fAF4hyxT9Y5PDsSkCzt7dxBFhEHJPxElePoLze2l/auA3Pj2gD4XBpCKydWhF pfrlgzdSH/SzD8aBvomHhkJQIjRfcnZnALPxBaBJXJhu7sNKoQEF4fM3GX/Kwj38OQds Y0+sfX2kVABdT0KRQk0StG3qTGjQ++xhQgiPrrjN3mMmQRzVZBZ2GAcxmmNAMfxhJ6YH LF61RgG36agG5IJtVKY4NH9Gd7I9UfZYmafXvSmI3/eAU4Cq6IMyUxnOycOlmzLCwFO4 0KnQ== 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=UoDfSoFlOzBb6KNOAdJY90v/OfXnIUFL8xLIqTz8Wso=; b=I6plFR/9LZ2j24FaJo5fXFZK7jUc81hIVHSBiAiXyo0oW+VXtod6hv9llOsy8gsyV1 VrrtzogHzStMauFVtNn1JG7mEVSW5Z1gx/nH8IY+PzHP2NYelMsxytVOSRhrr7LDXspi RYjgJuqYcCPhL+urgOVmSwGvDM++mYFSnfQxi6i9tDTB1Y29WyQbXgYjoKMwW2Df0+4Z tKlTI0eRNbOAVIBIHwf5XOrm7VGcnoMkA7Q/aC8CQRHJLV9AD3KIWqd6K1w5P9pEZnqB VB5vmTAWFDh5Rqh8jk0oUwzB5RdiG9U324whfLraDJR1665EPZy28/FE2xsgSc7Ggn7x xcHw== 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 j20si11933577edw.53.2021.06.07.04.22.40; Mon, 07 Jun 2021 04:23:02 -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 S231347AbhFGLXM (ORCPT + 99 others); Mon, 7 Jun 2021 07:23:12 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:7126 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230145AbhFGLXM (ORCPT ); Mon, 7 Jun 2021 07:23:12 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Fz9pv2MqszYsmR; Mon, 7 Jun 2021 19:18:31 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Mon, 7 Jun 2021 19:21:19 +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; Mon, 7 Jun 2021 19:21:19 +0800 From: Guangbin Huang To: , CC: , , , , Subject: [PATCH net-next 0/3] net: hns3: refactors and decouples the error handling logic Date: Mon, 7 Jun 2021 19:18:09 +0800 Message-ID: <1623064692-24205-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: dggems703-chm.china.huawei.com (10.3.19.180) 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 refactors and decouples the error handling logic from reset logic, it is the preset patch of the RAS feature. It mainly implements the function that reset logic remains independent of the error handling logic, this will ensure that common misellaneous MSI-X interrupt are re-enabled quickly. Jiaran Zhang (2): net: hns3: add a separate error handling task net: hns3: add scheduling logic for error handling task Yufeng Mo (1): net: hns3: remove now redundant logic related to HNAE3_UNKNOWN_RESET drivers/net/ethernet/hisilicon/hns3/hnae3.h | 1 - .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 4 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 80 ++++++++++++---------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 + 4 files changed, 47 insertions(+), 39 deletions(-) -- 2.8.1