Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp323740ybe; Tue, 10 Sep 2019 19:46:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxA/8bOqQG34jTAHMMJUC0ZrDgXt2Osb/A37zelZ8++lJtr1OUsM3bDZkgF5Ok3cXf4Rl69 X-Received: by 2002:a17:906:4985:: with SMTP id p5mr27493548eju.106.1568169975441; Tue, 10 Sep 2019 19:46:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568169975; cv=none; d=google.com; s=arc-20160816; b=e7Cqv1YxJ224mnuMQg3/OLkeIDBBpRMaLhjC+lM9LKQSs6dVMhrHIEUm3r6SSx3iyx N0UVpm7ofPpOmLb+LdXQ77mQOpMjPzglLgF403INf70ZNXR9/WweAKoqlHPSzhPebMwI Al1wwCXldEeteRwUMiaj7wdfFxDZ9vbvoWQHehNndDhvJenb0fSV/fWwVHl+kb/YxVhQ Z0Z3IgwTeEcjykw+V6Km3IRRWG17et3zMZF0kXmkagNbLxdm1jn9HqCz0nqUK2Qo3jCR vsFQeT1/shYscgOn1l5Y786M4X0/aJIE0Uy56L4dNSjv+zNfWr/+WyQCfKL+8cKY3AZd x6NQ== 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=WCwYbVpFT0IHwHMbVvaTlM5CEXfkxFbARF71JrAkGQ4=; b=YnoUQAFogqlc2wCSjUCRaBx/H/RJiNUhrFJk42Rfp+mfA/DE3V9aVqmMQpYl1105XW qGANX3KbMHpW/kN5ItzVhCGOFJ+FK7YDR3Mx88wzpgP+6lVn7Dbl7GfVcI7JEI3X8LqW bEb1ixxD2qJbaXpKbOka0xpviQ4QIyMoy+OhGdKdUeowcDv2pQjmf67VhKOXv5S+xRlT hsCs2qtUopUTyURUARtaNV/QWkmzUl8Wkym6tPycmoV8tqxm/ER28L5SsEEUTL9yNi+g EvqqkzNcMwQAGxyQEjWeO4s8FzSKyOskDWXCKGn6hesk49qkNJW7XgkRalWmTtF+MGvb EKaA== 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 a41si11961854edc.180.2019.09.10.19.45.51; Tue, 10 Sep 2019 19:46:15 -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 S1726823AbfIKCnI (ORCPT + 99 others); Tue, 10 Sep 2019 22:43:08 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:51154 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726548AbfIKCnG (ORCPT ); Tue, 10 Sep 2019 22:43:06 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 6C23CC2D90DDC6853B61; Wed, 11 Sep 2019 10:43:05 +0800 (CST) Received: from localhost.localdomain (10.67.212.132) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Wed, 11 Sep 2019 10:42:58 +0800 From: Huazhong Tan To: CC: , , , , , Subject: [PATCH V2 net-next 0/7] net: hns3: add a feature & bugfixes & cleanups Date: Wed, 11 Sep 2019 10:40:32 +0800 Message-ID: <1568169639-43658-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 a VF feature, bugfixes and cleanups for the HNS3 ethernet controller driver. [patch 01/07] adds ethtool_ops.set_channels support for HNS3 VF driver [patch 02/07] adds a recovery for setting channel fail. [patch 03/07] fixes an error related to shaper parameter algorithm. [patch 04/07] fixes an error related to ksetting. [patch 05/07] adds cleanups for some log pinting. [patch 06/07] adds a NULL pointer check before function calling. [patch 07/07] adds some debugging information for reset issue. Change log: V1->V2: fixes comment from David Miller. Guangbin Huang (4): net: hns3: add ethtool_ops.set_channels support for HNS3 VF driver net: hns3: fix port setting handle for fibre port net: hns3: modify some logs format net: hns3: check NULL pointer before use Huazhong Tan (1): net: hns3: add some DFX info for reset issue Peng Li (1): net: hns3: revert to old channel when setting new channel num fail Yonglong Liu (1): net: hns3: fix shaper parameter algorithm drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 7 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 54 ++++++++++---- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 16 +++++ .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 2 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 32 ++++++--- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 13 ++-- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 11 ++- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 83 ++++++++++++++++++++-- 9 files changed, 174 insertions(+), 46 deletions(-) -- 2.7.4