Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp309328imu; Wed, 2 Jan 2019 07:08:04 -0800 (PST) X-Google-Smtp-Source: ALg8bN7fYWxtHcVbMsw5LIUO2G9fGUXr8QwJbPhk3DaXa/O0RlxauTsPgjTw7n9x9rAT5LAstKYc X-Received: by 2002:a17:902:a60f:: with SMTP id u15mr41765976plq.275.1546441684732; Wed, 02 Jan 2019 07:08:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546441684; cv=none; d=google.com; s=arc-20160816; b=Zrdf+h+s73i0enp1yuuO7WAxdxR4pYPi4G1gdC8OnruKFgTfRm9YS0ovDSo5I7yOBs 00a4UmmQazESt0lFEqxsfc4e0/wcUzdowf7fVDOGSehagUCx/rj9sV3C9XU33+Wd2wbn 4QR9XA0/vVsUOx5VldqE/5exJ023TkQHdKYOf82lvVcxeUn0gzCudzSqWwFprPdBXS55 eHWokpwBwlD7k71ZHTmQa7EI2dZMnCNKh0adRm0zJu04X26nESJkdOMVOa6CD0JDYPqi KrWcKk8sNL+OUatBC2JLDm/qmkGYGsCfDkRf8B964vqCoxr2+ExkWzNZYRkUOaDGGqLn 8HLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ImZq2A1DG3Eom5nft+ymOaMURdRhFXkS5Rvp6PfgB9Y=; b=G/6vdGqJVP5Jh0zFkfmHU6Qvf0+Yd2nuP+kgsfG0N7UgVraEv+kiTGOguaV+4MZy7o hD2BcyCBPZGCk2hWpOgXghpUWHK9FGHt+wkO8JAHbdCNfQEkcK0mUmf/vIrRDQ/ynrgg XcAq0b4w4IU40JHIIRJwTgZO1+++ZJkeNpN29t2ArKqIxs6+EtSFBpokxnuYwKpZqXjP FZRYBxttawt3if2BcC6qfRPnK5BFGzCpN75rp/adW9P6Z7mB3GA0mUm/asltKas/AJgh idsiMR75jSJgFgea//m5JeL796kQcLC+tIADlLY21+4vJZ2e/Pug+TfGkKN7yRymSAb6 pXmQ== 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 h69si30790893pge.121.2019.01.02.07.07.49; Wed, 02 Jan 2019 07:08:04 -0800 (PST) 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 S1729865AbfABMpx (ORCPT + 99 others); Wed, 2 Jan 2019 07:45:53 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:60682 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729848AbfABMpw (ORCPT ); Wed, 2 Jan 2019 07:45:52 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A0D6DB1A3E34D; Wed, 2 Jan 2019 20:45:42 +0800 (CST) Received: from [127.0.0.1] (10.63.173.108) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.408.0; Wed, 2 Jan 2019 20:45:37 +0800 Subject: Re: [PATCH net-next] net: hns3: Config NIC port speed same as that of optical module To: dann frazier , Salil Mehta CC: , , , , , References: <20181126184300.24964-1-salil.mehta@huawei.com> <20190101012205.GA22494@xps13.dannf> From: "lipeng (Y)" Message-ID: Date: Wed, 2 Jan 2019 20:45:36 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20190101012205.GA22494@xps13.dannf> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [10.63.173.108] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/1/1 9:22, dann frazier wrote: > 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 Hi,dann, Thanks for your test and report. This patch needs to match new fireware verison , And  it  does some work to  be Compatible with older versions. Can you show me more information? can you  use "ethtool -i ethx" to get the fireware version , and shows me  some other message about hns3? Thanks > > . >