From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD4BCC49ED7 for ; Wed, 11 Sep 2019 02:43:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8937621D79 for ; Wed, 11 Sep 2019 02:43:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726831AbfIKCnI (ORCPT ); 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