Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2871795ybi; Sun, 28 Jul 2019 19:57:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyj8l34XuWWGj4uKDwCGaqqq7rh/fYVV7gmsP9RMu82BLJi3WYacPDbdPg3SZPiCO2bnl8I X-Received: by 2002:a62:2ccc:: with SMTP id s195mr34019798pfs.256.1564369041636; Sun, 28 Jul 2019 19:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564369041; cv=none; d=google.com; s=arc-20160816; b=OjHASMG+CBZFornCNH6LwPgC8JRK5Z8wxE/W1iZwEu6OPyrxIc0iJmzpBxEBgEjxnv RmKOc0aauofWxTPFTGLIDcRWZSINEjDpJTXSXLGbYBXyzlz11EZMorbNUoXO6+eH8Isu NpHmWphvaAA3fTd0TNMFWod9cWMcZlUg2Z+WX/okGj5tO+EmYFJNDuseb+O+NBR/gO7S IVHCkcWO0Y+d+ppye8t/wWuoyh3XFxnNT60bvnlic5JWMY5q54tZ3Nd1yWlAYE7Zp2TG 2NjbvR4tI6VRr333mY6v2H5mHq511diYj9coUPrBiA3lUx3QGLKqlqlbhYsYBSbb7JJo icCQ== 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=0yKhxi75CRfTi3KwlJGc6hU4dxf9Hw0qPRIWqvgCHws=; b=qQdH4AZlEJR7d3+nQpHOy7PxCT+rPwsIAOrcOIiPUFY3idUtN//sXZQiDM8WdZVTwi AnlHlCHimmvt7AakHs7oTaUX1QPGzm66HIqM0VKBL8+mlYrx8VFUMGO42Sq4GGh8AKFr KfQh9u5z/AxaOq27E9pbYS6zeeL3BEiTZ1JZrIHP5E+tnN1mhgcrZbw87Rvs+ftyq91K wb403iwqwxwgqlUtnuEVPev5TlWkl0d6qKyfdUyhaT3zFBayaIzNPig4ZjDhCrsJ490c WKa7mM85LxPxl8Y2TvcK+7qTS1Hh4LmXGo5uEtCnEpY3AEE/ozT3+Qqmg3ISn51nfCLY ZSfg== 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 j4si14050978pgp.343.2019.07.28.19.57.06; Sun, 28 Jul 2019 19:57:21 -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 S1726810AbfG2C4M (ORCPT + 99 others); Sun, 28 Jul 2019 22:56:12 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:45456 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726593AbfG2Czk (ORCPT ); Sun, 28 Jul 2019 22:55:40 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 2001A9242045EC7900AC; Mon, 29 Jul 2019 10:55:36 +0800 (CST) Received: from localhost.localdomain (10.67.212.132) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.439.0; Mon, 29 Jul 2019 10:55:27 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH V4 net-next 00/10] net: hns3: some code optimizations & bugfixes & features Date: Mon, 29 Jul 2019 10:53:21 +0800 Message-ID: <1564368811-65492-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/10] checks reset status before setting channel. [patch 2/10] adds a NULL pointer checking. [patch 3/10] removes reset level upgrading when current reset fails. [patch 4/10] fixes a GFP flags errors when holding spin_lock. [patch 5/10] modifies firmware version format. [patch 6/10] adds some print information which is off by default. [patch 7/10 - 8/10] adds two code optimizations about interrupt handler and work task. [patch 9/10] adds support for using order 1 pages with a 4K buffer. [patch 10/10] modifies messages prints with dev_info() instead of pr_info(). Change log: V3->V4: replace netif_info with netif_dbg in [patch 6/10] V2->V3: fixes comments from Saeed Mahameed and Joe Perches. V1->V2: fixes comments from Saeed Mahameed and removes previous [patch 4/11] and [patch 11/11] which needs further discussion, and adds a new patch [10/10] suggested by Saeed Mahameed. Guangbin Huang (1): net: hns3: add a check for get_reset_level Huazhong Tan (2): net: hns3: remove upgrade reset level when reset fail net: hns3: use dev_info() instead of pr_info() Jian Shen (1): net: hns3: add reset checking before set channels Yonglong Liu (1): net: hns3: add 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: make hclge_service use delayed workqueue net: hns3: add interrupt affinity support for misc interrupt net: hns3: Add support for using order 1 pages with a 4K buffer drivers/net/ethernet/hisilicon/hns3/hnae3.h | 9 ++ drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 33 ++++- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 15 ++- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 34 +++++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 10 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 11 ++ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 135 ++++++++++++--------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 7 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 10 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 3 +- 10 files changed, 195 insertions(+), 72 deletions(-) -- 2.7.4