Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp337495yba; Fri, 3 May 2019 02:52:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzF5goOz8I9cO9Mw6njhSfQuW2zi8qjZ4Ao+k1YUY5sZhDuwlNuzJSl8eclu0Ej1ocXzOki X-Received: by 2002:a17:902:6b:: with SMTP id 98mr9054893pla.271.1556877167189; Fri, 03 May 2019 02:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556877167; cv=none; d=google.com; s=arc-20160816; b=r6eyyjHJ9nLdWbGwMlma9XIPZPan48agh8DGlBK4bazTor2vOfeCpY7kelWcYMElP2 A20X2CoO0z8XKrtOPjkD22jRFLY+lPeIKl0px/IsXPow8LdzFa3MDdjS/h3clmTj1cSn PN/d530jj+jzGmwTw0pJCqE/mQouTVqk5fCKPStMDwB+gilB8EAqhAfXvqUQWd/GJeCi C6P6KsEL8ZE03HEEK1mtKk5hgcJoBYN6EjGT+9MGpjG7N4aCdWWMxwd9oR3EugHuGc2v p4vr3AMESIaE9ttRSR+hJI1ntETtbCdwdaDM+IDKYDGrgJS4gQYoi9RRwzoJFkDFh6jZ 5Sjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=m6KzD83p9pMnguVj1H4Ab5+EbOWkhvholgvMU/q91VE=; b=NqLTRmK9f8Jq3vWvIiyBFSDNjMRGo7CVRC8snt00UMtbaarGEe0p6n0tMHUw0imvqJ 9n84dZ2uWlc6M0FSRXFpBldGXZdLvFiyDwcKxIBZ2x0hTlWmBYV1Opccw+RNPGKS/xWP didklcWoflLiXA4baPJ4bySdwVWO2Q3LFf2RFDBQoMAS4LgNN8cInfA0s9uKUhBeLce3 f76ZYQtrH/T9IE4U9/tCKDZZqTn0f1P8W72pIbYaMyS10zBty41dX9lQuQV2MlowLnzP QwRqj+CIoSVvHtKsdC0M/bOP7oy4wZEeXjEJk/j9L6P85slYW84LbhG/LponU/ssDejx Qoeg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si1774732pls.23.2019.05.03.02.52.32; Fri, 03 May 2019 02:52:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727073AbfECJva (ORCPT + 99 others); Fri, 3 May 2019 05:51:30 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:7715 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726444AbfECJv3 (ORCPT ); Fri, 3 May 2019 05:51:29 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 8D7247791ACCC68459D6; Fri, 3 May 2019 17:51:27 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.439.0; Fri, 3 May 2019 17:51:18 +0800 From: Peng Li To: CC: , , , , , Subject: [PATCH V2 net-next 0/3] net: hns3: enhance capabilities for fibre port Date: Fri, 3 May 2019 17:50:36 +0800 Message-ID: <1556877039-1692-1-git-send-email-lipeng321@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jian Shen This patchset enhances more capabilities for fibre port, include multipe media type identification, autoneg, change port speed and FEC encoding. Jian Shen (3): net: hns3: add support for multiple media type net: hns3: add autoneg and change speed support for fibre port net: hns3: add support for FEC encoding control Change log: V1->V2: fixes comments from Andrew Lunn. drivers/net/ethernet/hisilicon/hns3/hnae3.h | 34 +- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 180 ++++++++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 30 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 410 ++++++++++++++++++--- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 16 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 7 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 15 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 1 + 8 files changed, 620 insertions(+), 73 deletions(-) -- 1.9.1