Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3353541pxb; Sun, 29 Aug 2021 23:14:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw27SeWiP9fglebo3dWqtWQptEucqyOFclGBIYDFgXDCbCe4JXKYZHNv+eNYP+rXgqrCc4h X-Received: by 2002:a17:906:a08a:: with SMTP id q10mr22397419ejy.100.1630304080787; Sun, 29 Aug 2021 23:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630304080; cv=none; d=google.com; s=arc-20160816; b=P1mbTkSiqhQCK1YyeXIJPjLIFwOUaTm1htBVwy/jiGt+stEhhFg2Z5amYexukNo/8a GXf0Pfydp584BbKdrq3Y3Rg4gdIp2faIO0Q4V0r84TJrVMg5/t9+7zUQ3VpOj6weoMQu QdhWheS2M9lhUAp8kPpkX7jKwzBEeTctRTr4+iZbJCYITob94yS0uaDGmZsL4xulZOXJ uOH444v3vD3CGh/iMXE2ACSi3tyMh9iszT1cYUN6pbVzuGcNKyXIHK/mY78g+q3Hr+Qf UA3ZiQcX2qfwehq/YorbHD7I1BOE8FuXUVR7vcx2kzdy48odhZ3I/WhX4KgMmb5SDf09 QmlQ== 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=eF2wTxBiI0Jnl1bF4NhzQ+SG+Y6dbP6cv9J0665o8MM=; b=FfuhWqUQZiewphAzobjPmfTXJRTkexZuCwKUheiKibuEDolSrqx5y2LOxLbRx2pXSx teo/hcQjCthJlbnV1kMoHiiYBjUT9/GjcODX8XKzgTH/Q4wyeIWoBCtsM6iMdbuMNtRP 9dSwKZVQEg/Fb3ViLRId2g4CcGVqt4Mfmfnn5MQf41rE9lE9L2C6xXdhEo9GoZz7Uu22 4ZUFlBKesjM2AQoHCrYNbg3uK07LahXFQ/ym1u9ISTrXNVZdX/FiKjp1RGkNBcsnBcek dynAMnJNs4qX0hbRDdLjFunKNIwTrxQL0geHKMewPt98uBIFyfPzfOIFuTvVqD4RQiXY /5Gg== 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 la2si13976255ejc.153.2021.08.29.23.14.18; Sun, 29 Aug 2021 23:14:40 -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 S233844AbhH3GLs (ORCPT + 99 others); Mon, 30 Aug 2021 02:11:48 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:15228 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232637AbhH3GLc (ORCPT ); Mon, 30 Aug 2021 02:11:32 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Gyg061vWzz1DDxK; Mon, 30 Aug 2021 14:09:58 +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; Mon, 30 Aug 2021 14:10:36 +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.2308.8; Mon, 30 Aug 2021 14:10:35 +0800 From: Guangbin Huang To: , CC: , , , , Subject: [PATCH net-next 0/7] net: hns3: add some cleanups Date: Mon, 30 Aug 2021 14:06:35 +0800 Message-ID: <1630303602-44870-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: dggems705-chm.china.huawei.com (10.3.19.182) 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 includes some cleanups for the HNS3 ethernet driver. Guangbin Huang (2): net: hns3: reconstruct function hclge_ets_validate() net: hns3: refine function hclge_dbg_dump_tm_pri() Hao Chen (3): net: hns3: modify a print format of hns3_dbg_queue_map() net: hnss3: use max() to simplify code net: hns3: uniform parameter name of hclge_ptp_clean_tx_hwts() Jiaran Zhang (1): net: hns3: initialize each member of structure array on a separate line Peng Li (1): net: hns3: reconstruct function hns3_self_test drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 3 +- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 101 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 47 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 70 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 1665 +++++++++++++------- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h | 2 +- 7 files changed, 1260 insertions(+), 630 deletions(-) -- 2.8.1