From mboxrd@z Thu Jan 1 00:00:00 1970 From: dann frazier Subject: Re: [PATCH net-next] net: hns3: Config NIC port speed same as that of optical module Date: Mon, 31 Dec 2018 18:22:05 -0700 Message-ID: <20190101012205.GA22494@xps13.dannf> References: <20181126184300.24964-1-salil.mehta@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: davem@davemloft.net, yisen.zhuang@huawei.com, lipeng321@huawei.com, mehta.salil@opnsrc.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com To: Salil Mehta Return-path: Received: from youngberry.canonical.com ([91.189.89.112]:43328 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727810AbfAABWL (ORCPT ); Mon, 31 Dec 2018 20:22:11 -0500 Received: from mail-io1-f71.google.com ([209.85.166.71]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1ge8kz-0001bF-5o for netdev@vger.kernel.org; Tue, 01 Jan 2019 01:22:09 +0000 Received: by mail-io1-f71.google.com with SMTP id o22so33520988iob.13 for ; Mon, 31 Dec 2018 17:22:09 -0800 (PST) Content-Disposition: inline In-Reply-To: <20181126184300.24964-1-salil.mehta@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Nov 26, 2018 at 06:43:00PM +0000, Salil Mehta wrote: > From: Peng Li > > Port 0/1 of HiP08 supports 10G and 25G. This patch adds a > change to configure NIC port speed same as that of optical > module(SFP/QFSP). Driver gets the optical module speed and > sets NIC port speed accordingly. Hi, I'm getting the following errors in dmesg about every 1s on a D06: [ 766.761823] hns3 0000:bd:00.0: get sfp speed failed -5 [ 767.785823] hns3 0000:bd:00.0: get sfp speed failed -5 [ 768.809820] hns3 0000:bd:00.0: get sfp speed failed -5 [ 769.833818] hns3 0000:bd:00.0: get sfp speed failed -5 Reverting this patch fixes the issue. -dann