Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7293284ybi; Mon, 22 Jul 2019 10:26:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFj41Xf3O3elYCcxRKkKc3m7E3RwzPTK4pQuDe6MlIMOJKl1xGxfTNa45usn9YmRRw3+59 X-Received: by 2002:a17:90a:a489:: with SMTP id z9mr75220932pjp.24.1563816418824; Mon, 22 Jul 2019 10:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563816418; cv=none; d=google.com; s=arc-20160816; b=nf3mZagSJh+nuqplpeXTX75Id+DV5vdsyslrRHsKT2Ify2w7DISqI3bozFen3lDyxx LdB5V2YsjWaEuCRcGY8/Bo1NNSDIQN6iyx4oYpHC1eNuvGDAPIdw/QKHLcO0Cmcomby/ TNiyw8MTQzms63QDCLYLOLAQxUBym02Bh8hChk++m1+fJAvQ5ZWfOl0zWI3Trppa3AaB KodpbS/J83Ev91q1TTRRHKt4Vs2otdm15tmgM5iqBB7Q6k8BPw7kzHiVc3zdiJExyuao YBmhusbsHeKriJc+hxe5txcheJRmQvNqbQtINNspusTHpnxlcVOaqnfidDxjzrOQJ/IE FjTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=w7liDE+E5Iu1xIHWqacl7h46/XlirlaNe/zw3/PBWCk=; b=lpiCPI+DxdTGpEAnVcqHgjcp2y6b4OOlPNGzJEAn6G3sHsxgW0mrCYwjJ8Wb3rButC Kl81I/ee7bwKeJ/xFc8l7O9YqRNfboD8tyCuj0Y1ET4UmC/VKyxx7lfYC6OyTXbUxd4f 9DDhh3ughKyDZk/PHzdxuZ4oU/7rm0Lg07kYZ+GP4FMA3IehfDYK1n8BPk3QsSwt5whO X8Wa+t8Abxbr8SxmHMHV0fj7nrH3/ca1/p/t+DNFVPmoJ1nHyEDLwZomIYFOSiRp5sfs +YKNhbhfvi/EvWqMC4mA8mizR9EZ2xeaKmjBRaHhsGW3CV9fxhodhUKvXXXY+Ob0tMO1 6QEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=qVOsFplG; 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 a123si14147365pfd.114.2019.07.22.10.26.42; Mon, 22 Jul 2019 10:26:58 -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; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=qVOsFplG; 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 S1729597AbfGVOTr (ORCPT + 99 others); Mon, 22 Jul 2019 10:19:47 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:56162 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728228AbfGVOTr (ORCPT ); Mon, 22 Jul 2019 10:19:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=w7liDE+E5Iu1xIHWqacl7h46/XlirlaNe/zw3/PBWCk=; b=qVOsFplGBuYk4ymZhAgzpL6i71 /wdEDJ7Aejf42R92mP3bplohaTlECg+3Zv96yKTaZH25VSn4ERUgQoNInz2f9W2vbWPA/xWF5eOhP wUqPRaw0PMeLwHs3cj+Kw721melKrgtIO8rh8GvT5oTpSXOVQHFujFs7hLu3G+18ikIk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1hpZAF-0003Dn-Fp; Mon, 22 Jul 2019 16:19:43 +0200 Date: Mon, 22 Jul 2019 16:19:43 +0200 From: Andrew Lunn To: Jose Abreu Cc: =?utf-8?Q?Ond=C5=99ej?= Jirman , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Joao Pinto , "David S . Miller" , Giuseppe Cavallaro , Alexandre Torgue , Russell King , Florian Fainelli , Heiner Kallweit Subject: Re: [PATCH net-next 0/3] net: stmmac: Convert to phylink Message-ID: <20190722141943.GE8972@lunn.ch> References: <20190722124240.464e73losonwb356@core.my.home> <20190722134023.GD8972@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 22, 2019 at 01:58:20PM +0000, Jose Abreu wrote: > From: Andrew Lunn > Date: Jul/22/2019, 14:40:23 (UTC+00:00) > > > Does this mean that all stmmac variants support 1G? There are none > > which just support Fast Ethernet? > > This glue logic drivers sometimes reflect a custom IP that's Synopsys > based but modified by customer, so I can't know before-hand what's the > supported max speed. There are some old versions that don't support 1G > but I expect that PHY driver limits this ... If a Fast PHY is used, then yes, it would be limited. But sometimes a 1G PHY is used because they are cheaper than a Fast PHY. > > I'm also not sure the change fits the problem. Why did it not > > negotiate 100FULL rather than 10Half? You are only moving the 1G > > speeds around, so 100 speeds should of been advertised and selected. > > Hmm, now that I'm looking at it closer I agree with you. Maybe link > partner or PHY doesn't support 100M ? In the working case, ethtool shows the link partner supports 10, 100, and 1G. So something odd is going on here. You fix does seems reasonable, and it has been reported to fix the issue, but it would be good to understand what is going on here. Andrew