Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1612372pxv; Fri, 25 Jun 2021 18:05:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/aS/VitwBiQgnHOIeHAWc1SJODp3yfTRZOek+0/VMjIYZr6/yKCbNI46wQzxcvsSHhAeN X-Received: by 2002:a05:6402:1e89:: with SMTP id f9mr18673951edf.117.1624669503760; Fri, 25 Jun 2021 18:05:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624669503; cv=none; d=google.com; s=arc-20160816; b=o/ouLJ2wAyfBpC5iBpX+btc16pjAUQp6O9RUUwn/Q0k+nFvZXCwxtVnKsenXyHMcvV yfdcMzl38zQ4KQCIhrMjuHe+RVX1cbYPd9WkKECwOZpWa7B8nqLWW2Px9U+yaZIo/AfK aSxHn2N1b6OHBmQuzXpVoEX5zuG9J9dSMQGmxOSKAmvaq1SCkODbm5SGIke5USFNXog8 jcNs3yM+sv9nVnVq9jYt+BNwK9crcPfbdbBZwlVWcRN6Ik/k5YYxtLSZjzlLs3mUGZ+Z 37WiGPqxPtxn9U5oE7LTt0ZnSA/I9r4WOmo1U5hD21QOmVj/0LNbWp2JvWWu8lM1H4yw FvsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=sLcIZYPBb5SLu9JdYB9KTBaWLQCY/qyqzyR6/VYyOUc=; b=X6sOniQcAsuKTOoiRMIF30YNdBdIc7w1MJTseqb40niN6TmgLmfUNqVTNuBiSD42Xr PXLiLjac1tmkN20M7BAcQjdErm4OS7FtXYjufu3PAVs31OJzFQSJb4b5Mix6H31PNfXB dgCSUE5FbO8VfDXe7bM9cIYTyiJPpanW19DBeuIu7jVyqt/9wQKdMhGgWYfGNhKqmQl9 EsP0ydqLCcfuJsI1IZ0JwI1G+ECGm17N9NIaPIWJqaX0ZuVR8fgD7/qs//BrkdB1fa3C t2eIZ0BIaRizbWrjtMy/OygX+jyEFB7mcSShGLWSIVRQiCJyRmWqbk28dWiohhRoPFxN 6vBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si7422858eds.278.2021.06.25.18.04.40; Fri, 25 Jun 2021 18:05:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229944AbhFZBF7 (ORCPT + 99 others); Fri, 25 Jun 2021 21:05:59 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:5080 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229831AbhFZBF6 (ORCPT ); Fri, 25 Jun 2021 21:05:58 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4GBb8Y29BQzXlBy; Sat, 26 Jun 2021 08:58:21 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Sat, 26 Jun 2021 09:03:35 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Sat, 26 Jun 2021 09:03:34 +0800 From: Guangbin Huang To: , CC: , , , , Subject: [PATCH V2 net-next 0/2] net: hns3: add new debugfs commands Date: Sat, 26 Jun 2021 09:00:15 +0800 Message-ID: <1624669217-38264-1-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggemi759-chm.china.huawei.com (10.1.198.145) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds three new debugfs commands for the HNS3 ethernet driver. change log: V1 -> V2: 1. remove patch "net: hns3: add support for link diagnosis info in debugfs" and use ethtool extended link state to implement similar function according to Jakub Kicinski's opinion. Jian Shen (2): net: hns3: add support for FD counter in debugfs net: hns3: add support for dumping MAC umv counter in debugfs drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 + drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 14 +++++ .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 9 +++ .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 71 ++++++++++++++++++++++ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 10 ++- 5 files changed, 104 insertions(+), 2 deletions(-) -- 2.8.1