Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2742395pxt; Mon, 9 Aug 2021 07:55:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmqwvOlizliTKRDgh9LBeh4U8pChorrUOvlkbzNa5C8gNO0/SSccqcvEJuKnE0HF1eGTyz X-Received: by 2002:a05:6e02:1aaf:: with SMTP id l15mr61674ilv.128.1628520928972; Mon, 09 Aug 2021 07:55:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628520928; cv=none; d=google.com; s=arc-20160816; b=tKtqZFaJzOSig3XpjVMml+JNGHAchq0w9ncoG3wj5OH4tf5QDIsjjNrAJ7adAgb2ww B3j4nyTJ0dLm3hSgjrfXNVo/PcXRzcc9GKBgUsXonxLqa+xGDZRm0us2RLAM+CT9WSjH B1fs0FY4eIQlyyfmE6t7stmTBs9LgdbylOkeDrrO1BtNIBedkEJBeGD7yQ49N+CYZHSE B3duh6rnttDRKkhFVhyVEEfcn7FWRn52gK4E8jf+PJHjG8CpfGzgLKpjP6n76vTbeEcA QpHu+kLr7mfw4B9YbmKzMpqZWIKqltKea2kwdF9svTEu3jKOZZWw2w4CWoHVuu6ATqqm 7Qkw== 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=LRRIdp8igAbgnlG9jQ+7xFkvdpcCQAqXTnE6CjhGS8Y=; b=UdO46f2jU8BHzIodbX2jQ+/oyN+YwlvESX+sd2nkQYIiXmx53owZcIvm/UIUT1DoBV HDaJJCj56V2XsZVY3Qn3MPLDWeCH24tloQ4TX9D8KVjdYw+7M/y7mmjtd6i1iCJBkvLE RbSGg2JkezSEEPcOsyKzCfgOCjwRlJhL+rEmUho/EqXLKSPYjqOkW4AX6LO8AgnF+0N/ ryhdelCJf8cgckFm9Cin15YtlIdxGbliMTCKavk9MHYALfBPAI8BqTR8eo3D0SRPqzqw lrdYHm12747+MUYAPPikpE+Ob+yqpKrSFg3I+qOvEF+ZD1ZVDXxtEwu8VzD3MunrVL/9 pN5A== 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 g4si18758950ila.46.2021.08.09.07.55.15; Mon, 09 Aug 2021 07:55:28 -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 S234139AbhHIOys (ORCPT + 99 others); Mon, 9 Aug 2021 10:54:48 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:7812 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234237AbhHIOyr (ORCPT ); Mon, 9 Aug 2021 10:54:47 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Gjzcg6DXLzYcrv; Mon, 9 Aug 2021 22:54:11 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Mon, 9 Aug 2021 22:54:24 +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; Mon, 9 Aug 2021 22:54:24 +0800 From: Guangbin Huang To: , CC: , , , Subject: [PATCH net-next 0/4] net: hns3: add support ethtool extended link state Date: Mon, 9 Aug 2021 22:50:38 +0800 Message-ID: <1628520642-30839-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: dggems706-chm.china.huawei.com (10.3.19.183) 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 support for ethtool extended link state in the HNS3 ethernet driver. Guangbin Huang (4): docs: ethtool: Add two link extended substates of bad signal integrity ethtool: add two link extended substates of bad signal integrity net: hns3: add header file hns3_ethtoo.h net: hns3: add support ethtool extended link state Documentation/networking/ethtool-netlink.rst | 8 +++ drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 + drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 82 ++++++++++++++++++---- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.h | 31 ++++++++ .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 3 + .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 27 +++++++ include/uapi/linux/ethtool.h | 2 + 7 files changed, 140 insertions(+), 15 deletions(-) create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.h -- 2.8.1