From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 579A2C2BB1D for ; Fri, 10 Apr 2020 16:23:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2FA0D212CC for ; Fri, 10 Apr 2020 16:23:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="IX5H8ONy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726692AbgDJQX0 (ORCPT ); Fri, 10 Apr 2020 12:23:26 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:35286 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726234AbgDJQXX (ORCPT ); Fri, 10 Apr 2020 12:23:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: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=vc0KTI11z6UG0jeGMHn+oL4VCmazbxeYViH4wlzR8VU=; b=IX5H8ONyEZVY2HvuY/JV09MW0 SslDjc07+6Y0ZCxqYi0FrAktmWp45c/DWuIu4nvDCMLMkwo+HjKW/wxedtNaKY6cmqJ3W0pyXLBOl MuKAqAeV2roftXwD6fbKF1cmnwerlyGWIkt7u6jlmC3ijH09wU+SOK9Ie6xCEmUriWygYRZURc+AJ KplTUsfXpQk0sPQPYzjfEifVbk25u5vMwr+L0sEDov76B8kOyWcV+pGOhKJVxtyoGRCdj8zMAMdyC Mwcm2hk6Btw92SgrjbVGWAyYo9tcDVP0/C6MkJjuUUEb+UDcQ3N52Sxr9AJMYgwICn+unDXpo/ygA vNJIVh3gw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:48250) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jMwR1-0002Sp-5r; Fri, 10 Apr 2020 17:23:15 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1jMwQz-00049c-CN; Fri, 10 Apr 2020 17:23:13 +0100 Date: Fri, 10 Apr 2020 17:23:13 +0100 From: Russell King - ARM Linux admin To: Matteo Croce Cc: Andrew Lunn , Florian Fainelli , Heiner Kallweit , Antoine Tenart , "David S. Miller" , netdev , Luka Perkov Subject: Re: [PATCH net-next v2 3/3] net: phy: marvell10g: place in powersave mode at probe Message-ID: <20200410162313.GD25745@shell.armlinux.org.uk> References: <20200410141914.GY25745@shell.armlinux.org.uk> <20200410143658.GM5827@shell.armlinux.org.uk> <20200410145034.GA25745@shell.armlinux.org.uk> <20200410151627.GB25745@shell.armlinux.org.uk> <20200410160409.GC25745@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Apr 10, 2020 at 06:07:46PM +0200, Matteo Croce wrote: > On Fri, Apr 10, 2020 at 6:04 PM Russell King - ARM Linux admin > wrote: > > > > On Fri, Apr 10, 2020 at 05:18:41PM +0200, Matteo Croce wrote: > > > On Fri, Apr 10, 2020 at 5:16 PM Russell King - ARM Linux admin > > > wrote: > > > > > > > > On Fri, Apr 10, 2020 at 04:59:44PM +0200, Matteo Croce wrote: > > > > > On Fri, Apr 10, 2020 at 4:50 PM Russell King - ARM Linux admin > > > > > wrote: > > > > > > > > > > > > On Fri, Apr 10, 2020 at 04:39:48PM +0200, Matteo Croce wrote: > > > > > # ./mii-diag eth0 -p 32769 > > > > > Using the specified MII PHY index 32769. > > > > > Basic registers of MII PHY #32769: 2040 0082 002b 09ab 0071 009a c000 0009. > > > > > Basic mode control register 0x2040: Auto-negotiation disabled, with > > > > > Speed fixed at 100 mbps, half-duplex. > > > > > Basic mode status register 0x0082 ... 0082. > > > > > Link status: not established. > > > > > *** Link Jabber! *** > > > > > Your link partner is generating 100baseTx link beat (no autonegotiation). > > > > > End of basic transceiver information. > > > > > > > > > > root@macchiatobin:~# ip link show dev eth0 > > > > > 2: eth0: mtu 1500 qdisc mq state UP > > > > > mode DEFAULT group default qlen 2048 > > > > > link/ether 00:51:82:11:22:00 brd ff:ff:ff:ff:ff:ff > > > > > > > > > > But no traffic in any direction > > > > > > > > So you have the same version PHY hardware as I do. > > > > > > > > So, we need further diagnosis, which isn't possible without a more > > > > advanced mii-diag tool - I'm sorting that out now, and will provide > > > > a link to a git repo later this afternoon. > > > > > > > > > > Ok, I'll wait for the tool > > > > Okay, please give this a go: > > > > git://git.armlinux.org.uk/~rmk/mii-diag/ > > > > Please send me the full output from: > > > > # ./mii-diag eth0 -v -p 32768 > > > > Hi, > > here it is: Thanks. It seems that the PHY is reporting that everything is fine, all the various blocks associated with the SFP+ cage are reporting that link is established, and link is established with the host. I wonder - can you tcpdump to see whether any traffic is being received at either end of the link, in case it's only one direction that is a problem? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up