From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH v3 net-next 07/12] net: ethernet: Add helper to remove a supported link mode Date: Fri, 21 Sep 2018 15:01:44 +0200 Message-ID: <20180921130144.GA22295@lunn.ch> References: <1536709999-13420-1-git-send-email-andrew@lunn.ch> <1536709999-13420-8-git-send-email-andrew@lunn.ch> <20180917151302.l6mzzy5xmqlbgejj@verge.net.au> <20180917153811.GE5458@lunn.ch> <20180918105817.z2o5yybcth7diqsu@verge.net.au> <20180920132530.GB13632@lunn.ch> <20180921081358.k3ubz73klvylc4yx@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Miller , netdev , Florian Fainelli To: Simon Horman Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:41458 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728100AbeIUSug (ORCPT ); Fri, 21 Sep 2018 14:50:36 -0400 Content-Disposition: inline In-Reply-To: <20180921081358.k3ubz73klvylc4yx@verge.net.au> Sender: netdev-owner@vger.kernel.org List-ID: > Thanks Andrew, > > it seems that removing Aysm Pause does the trick. Great. I will submit the patch today. I see two possible followups: 1) Figure out why auto-neg does not complete when Pause is advertised. Is this a problem with the local PHY or the link partner? The Micrel we have some control over, but the link partner in the switch we have to treat as a black box. 2) If we can get negotiation to work correctly, then implement Pause in the MAC driver. When phylib calls the adjust_link callback phydev->pause and phydev->asym_pause tells you want the partner can do. You can then decide how to program the MAC. There is also a get/set for ethtool. It really requires somebody with the hardware to do this. Andrew