Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9029860ybi; Tue, 23 Jul 2019 20:22:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyqiajEOqkYIO3dOa4MGfYK2KI7RcI1oUDoTC6nNN4lsNQaNphmzf2xI5sSuJo6PJYpYVB X-Received: by 2002:a62:1807:: with SMTP id 7mr8839517pfy.149.1563938555575; Tue, 23 Jul 2019 20:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563938555; cv=none; d=google.com; s=arc-20160816; b=EX3Fj2ACESRfdEFSmumoZ+oG1GatBXnxOyTByWq8tEg/ByqNkACg3ubyT2KFDz46+Y Fn2le96xaIXnWPC5RR1aVNysyPrHVLQ7/yxCzqz3SbZvmlRE6mSrZfwIJTAbn+gWFVuF kN/6Dgn2GMapilvau75zRf5xmMLCVAXmDqk2U/aZuOgvEfxw99ZH+Y4smTOlHdN8HnDm F4fA4OwsnfPPaJPYR7vepb5tcUBY3LoE1bYYNv9+W53g/CS3YtMkggm53oe/525lqop+ OmXInPZo8O+RjZqW+fGr6ciiREzxzLMbj3KOJqflsvbnN6A5UxOqxc+j0pQA6W0uolyZ Nf5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=h9/JdNYCMM/6C7Mp5PEMp94rNIJIxhmRChPhiANCivc=; b=mG7G6PGE8aw1TZUT7c5dHf1p28GwbdpJ/iY8gXojslafjufbZeL9Hu2t6ZOgdw5FwC kORHR/7Ga+kt2Q/kYP3oHkeeSTKRgXkdnAqSa2/bVonbUKx+OzXk+mUUigmyk95rS5Y3 jiebeguZ6iNt+Nome6won9wFUfAVBFIlNHyI7B3AQow/IkueiuP9U5VquIukslrd5pbi WUih48ltJdtwCJ3bBPpCTrIirDd9i9a7O6aPzwsCa+y4a3cMnlvH/7AyWLrFn9Keli1g ccSLl64uOZTN98+l352ydmkwG70bsr/YLI3eSToYkBi/YwW2mGWTr7jhLb/ygsJIfWBm NvMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si12808382pge.395.2019.07.23.20.22.21; Tue, 23 Jul 2019 20:22:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726547AbfGXDVD (ORCPT + 99 others); Tue, 23 Jul 2019 23:21:03 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:50724 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726024AbfGXDVB (ORCPT ); Tue, 23 Jul 2019 23:21:01 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 9593E3AC6869A30AF5AD; Wed, 24 Jul 2019 11:20:52 +0800 (CST) Received: from localhost.localdomain (10.67.212.132) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Wed, 24 Jul 2019 11:20:42 +0800 From: Huazhong Tan To: CC: , , , , , Huazhong Tan Subject: [PATCH net-next 00/11] net: hns3: some code optimizations & bugfixes & features Date: Wed, 24 Jul 2019 11:18:36 +0800 Message-ID: <1563938327-9865-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.132] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch-set includes code optimizations, bugfixes and features for the HNS3 ethernet controller driver. [patch 1/11] checks reset status before setting channel. [patch 2/11] adds a NULL pointer checking. [patch 3/11] removes reset level upgrading when current reset fails. [patch 4/11] fixes a bug related to IRQ vector number initialization. [patch 5/11] fixes a GFP flags errors when holding spin_lock. [patch 6/11] modifies firmware version format. [patch 7/11] adds some print information. [patch 8/11 - 9/11] adds two code optimizations about interrupt handler and work task. [patch 10/11] adds support for using order 1 pages with a 4K buffer. [patch 11/11] adds a detection about the reason of IMP errors. Guangbin Huang (1): net: hns3: add a check for get_reset_level Huazhong Tan (1): net: hns3: remove upgrade reset level when reset fail Jian Shen (1): net: hns3: add reset checking before set channels Weihang Li (1): net: hns3: add support for handling IMP error Yonglong Liu (2): net: hns3: fix mis-counting IRQ vector numbers issue net: hns3: adds debug messages to identify eth down cause Yufeng Mo (2): net: hns3: change GFP flag during lock period net: hns3: modify firmware version display format Yunsheng Lin (3): net: hns3: add interrupt affinity support for misc interrupt net: hns3: make hclge_service use delayed workqueue net: hns3: Add support for using order 1 pages with a 4K buffer drivers/net/ethernet/hisilicon/hns3/hnae3.h | 10 ++ drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 39 ++++- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 15 +- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 41 ++++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 10 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 14 ++ .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 37 ++++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h | 4 + .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 165 ++++++++++++++------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 16 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 11 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 12 +- 12 files changed, 298 insertions(+), 76 deletions(-) -- 2.7.4