Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2813963rwb; Mon, 5 Sep 2022 01:47:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR6+ca+AqIFym/fwN0lBIg/dT0R7++6a9Xc53sZJxYW9jGHzn6Quj1h4L6gn7mBi6eje7aJM X-Received: by 2002:a17:902:db12:b0:16e:e5fc:56db with SMTP id m18-20020a170902db1200b0016ee5fc56dbmr49530047plx.46.1662367638886; Mon, 05 Sep 2022 01:47:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662367638; cv=none; d=google.com; s=arc-20160816; b=QUNwz5PRYafEvnJ7eBFNPXk9+MdySdRFAVkBu2bQokNZ59kAYL4E+1Qd8O9/v0VZNh BlHf07hzxstD1ZKqFCzACuM49NTglcOBoy7ii0s0IHcHGntg5bIvKkz5uUkNQb1HXed7 JbWE23zwreuu+NBFPUvZAd4hLPp0AY+if6mh9af8vZHoWJSRDICOSnTGJtBds7ANCnbb wGsf/xyYQxjpVIKSSV+btNrf9iQdWfKB18CeIx6aVQDYls85DJYVe7dYgNQIkCYsrI6j aJLAcKg5VlTuKsk3wqKSC082DGbsOzSpSH3RXeerEo3cjNHVFssZBqCuxEFy0Yhg9dG7 +86A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=0P5mayUajaFF9GBTuilkgeEpBZRRi3ofNhsvmyVl6q4=; b=HQgqeGdj1b8aN3tAdealahPbfCqns491FMD9owzrzgQUBVDcTV/R0XtIW3n0X6484Q 0fsub/nB6C/+TG3JoksgeYbuJRnx8Ud+vBTNMcMimS/DKF61urWccUu22Upe64JHXKpk kaZDPyIAivDkVmhIcKXuHA3v5iQ3RAcNKhKasLB6xCVfIFfKTSiKLcaQVRTf3yiwDP/b PZ9DLl+Bcs8om5LAzQspOhAseUacV9cp1yob00SgvNgQL1UGSGIfaiq9bVMBBCpb9fzB vNtvh/eADQKSZ/BUjn6cBmBV9epehdz7VW4LBIgEF0TMWLePKfIzojUxFYK+VivuYZuc lh7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h12-20020a170902704c00b00174d26d18fbsi9482016plt.67.2022.09.05.01.47.06; Mon, 05 Sep 2022 01:47:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237511AbiIEITj (ORCPT + 99 others); Mon, 5 Sep 2022 04:19:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236241AbiIEISU (ORCPT ); Mon, 5 Sep 2022 04:18:20 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1052131DDA; Mon, 5 Sep 2022 01:18:17 -0700 (PDT) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4MLhDl2Hq1zrS8S; Mon, 5 Sep 2022 16:16:23 +0800 (CST) Received: from kwepemm600016.china.huawei.com (7.193.23.20) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 5 Sep 2022 16:18:12 +0800 Received: from localhost.localdomain (10.69.192.56) by kwepemm600016.china.huawei.com (7.193.23.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 5 Sep 2022 16:18:12 +0800 From: Guangbin Huang To: , CC: , , , , , , Subject: [PATCH net-next 0/5] net: hns3: updates for -next Date: Mon, 5 Sep 2022 16:15:34 +0800 Message-ID: <20220905081539.62131-1-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600016.china.huawei.com (7.193.23.20) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series includes some updates for the HNS3 ethernet driver. Patches #1~#3 support configuring dscp map to tc. Patch 4# supports querying FEC statistics by command "ethtool -I --show-fec eth0". Patch 5# supports querying and setting Serdes lane number. Guangbin Huang (3): net: hns3: add support config dscp map to tc net: hns3: support ndo_select_queue() net: hns3: debugfs add dump dscp map info Hao Chen (1): net: hns3: add support to query and set lane number by ethtool Hao Lan (1): net: hns3: add querying fec statistics drivers/net/ethernet/hisilicon/hns3/hnae3.h | 26 ++- .../hns3/hns3_common/hclge_comm_cmd.c | 2 + .../hns3/hns3_common/hclge_comm_cmd.h | 3 + .../net/ethernet/hisilicon/hns3/hns3_dcbnl.c | 28 +++ .../ethernet/hisilicon/hns3/hns3_debugfs.c | 13 ++ .../net/ethernet/hisilicon/hns3/hns3_enet.c | 46 +++++ .../ethernet/hisilicon/hns3/hns3_ethtool.c | 33 +++- .../hisilicon/hns3/hns3pf/hclge_cmd.h | 21 +- .../hisilicon/hns3/hns3pf/hclge_dcb.c | 107 ++++++++++ .../hisilicon/hns3/hns3pf/hclge_dcb.h | 3 + .../hisilicon/hns3/hns3pf/hclge_debugfs.c | 60 +++++- .../hisilicon/hns3/hns3pf/hclge_main.c | 183 +++++++++++++++++- .../hisilicon/hns3/hns3pf/hclge_main.h | 29 ++- .../hisilicon/hns3/hns3pf/hclge_mdio.c | 2 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 50 ++++- .../ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 5 + .../hisilicon/hns3/hns3vf/hclgevf_main.c | 2 +- 17 files changed, 588 insertions(+), 25 deletions(-) -- 2.33.0