From patchwork Thu May 20 02:21:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huazhong Tan X-Patchwork-Id: 443889 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham 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 B0363C43461 for ; Thu, 20 May 2021 02:22:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8C39B61279 for ; Thu, 20 May 2021 02:22:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230333AbhETCXV (ORCPT ); Wed, 19 May 2021 22:23:21 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:4544 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230148AbhETCXR (ORCPT ); Wed, 19 May 2021 22:23:17 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Flths4VdNzkXK1; Thu, 20 May 2021 10:19:09 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggems706-chm.china.huawei.com (10.3.19.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 20 May 2021 10:21:54 +0800 Received: from localhost.localdomain (10.69.192.56) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 20 May 2021 10:21:54 +0800 From: Huazhong Tan To: , CC: , , , , , Huazhong Tan Subject: [PATCH net-next 00/15] net: hns3: refactor some debugfs commands Date: Thu, 20 May 2021 10:21:29 +0800 Message-ID: <1621477304-4495-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series refactors the debugfs command to the new process and removes the useless debugfs file node cmd for the HNS3 ethernet driver. Guangbin Huang (7): net: hns3: refactor dump tm map of debugfs net: hns3: refactor dump tm of debugfs net: hns3: refactor dump tc of debugfs net: hns3: refactor dump qos pause cfg of debugfs net: hns3: refactor dump qos pri map of debugfs net: hns3: refactor dump qos buf cfg of debugfs net: hns3: refactor dump qs shaper of debugfs Hao Chen (3): net: hns3: refactor queue map of debugfs net: hns3: refactor queue info of debugfs net: hns3: refactor dump fd tcam of debugfs Jiaran Zhang (1): net: hns3: refactor dump mac tnl status of debugfs Yufeng Mo (4): net: hns3: refactor dump reg of debugfs net: hns3: refactor dump reg dcb info of debugfs net: hns3: refactor dump serv info of debugfs net: hns3: remove the useless debugfs file node cmd drivers/net/ethernet/hisilicon/hns3/hnae3.h | 25 +- drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 646 +++++--- drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.h | 4 + .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 1698 +++++++++++--------- .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h | 13 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 1 - .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 - .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 215 ++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 19 +- 9 files changed, 1585 insertions(+), 1037 deletions(-)