Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4517211rwd; Tue, 30 May 2023 06:34:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6oQnT3Bt45conF74YosRgufrPNxy2y8S7jnrbWw1bBz0jycQta/0LE4orAzCkUG81v7oZz X-Received: by 2002:a17:903:186:b0:1ad:eeea:32d7 with SMTP id z6-20020a170903018600b001adeeea32d7mr2407004plg.48.1685453640317; Tue, 30 May 2023 06:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685453640; cv=none; d=google.com; s=arc-20160816; b=gEnPmIxFQfpK55FkX0K+y/D4nxrA0dZg9KkAckH7hl3MMRIfn4OrPZdBEAerXG2/Yu VzNy1hng5A8onoM+BCW7jKgr8AHIid3fMAek0/XtCl+FdIuDORxNRjmS8m93n3+eiAZj 6pd6t7usy0/uFzm7hyRR7w9PAa8uticQF/tdnxZaNvGmUEbu7uOpfZVv35lWQufAZoD4 oOWtJ1hGevbcVU6Ev+jbEeFnrQ8e3vgwv57G3Enro9N3jXazrT6mNHm4od0zexZUW0Ej cNPdSWQjzmyI6DwZWlbQsE5qqs5f+65G58uHVxaBA6acrl/K9Vwc1JPD+BwPmZLJtQI/ Ap8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2+FWL9/dJsfwq9Dw9GMVMyftmb9srBkeDarzGucYdi8=; b=BvMqhvr/5jhRR51NO7PzkGtijocN58JDtGx62u2T60bWV/mQQ2Wn3jYV3NLytx7HSR GWX93+JyZOgC21EKc5Nv4zowmsehLC+Vf3roJmSB/P+krJqpudGoyNTneVh6HbzzQYFe e8tjITdVOyLxgIt8QlvmBpmEIakdDzVXM+d0WtyDUQQLvcfAgNOSBJ9GNGEy3CMYeUAd au2AdFsR3OxG3IybyrAVqfblSvROacqxrXrLSAThrBW4r/eX5x/bUl2Lj9N0GoKaX+f0 lbnnHg5rW7Tg3Q/j67q0/un3KGcLZ2zptNxO3AkFyE8z1gJyySH/aRTYSX/EilrPrU4c yVqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=SrxWoo+i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a9-20020a170902ecc900b001ac2ff9fbf8si12180908plh.403.2023.05.30.06.33.47; Tue, 30 May 2023 06:34:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=SrxWoo+i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232593AbjE3NR7 (ORCPT + 99 others); Tue, 30 May 2023 09:17:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232592AbjE3NRz (ORCPT ); Tue, 30 May 2023 09:17:55 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B18ACB0; Tue, 30 May 2023 06:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=2+FWL9/dJsfwq9Dw9GMVMyftmb9srBkeDarzGucYdi8=; b=SrxWoo+iONfV/YLw1wmEmLwyWw mNS1uzXFMZ1kD0qaMqksBmn/Adw/2PhQz+4iZmptUW06VydzB44n5oDdjFbsK6O8VOsVK5ghpqHE9 6/HSaJ26KVZjrxkjGFmJKd3j5j2mzcXa1BPMS3Wtc4wfxnNJzuJVFsWyL6QCkCWrgWQk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1q3zES-00EKUx-NP; Tue, 30 May 2023 15:17:48 +0200 Date: Tue, 30 May 2023 15:17:48 +0200 From: Andrew Lunn To: Lukasz Majewski Cc: Russell King , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC] net: dsa: slave: Advertise correct EEE capabilities at slave PHY setup Message-ID: <32aa2c0f-e284-4c5e-ba13-a2ea7783c202@lunn.ch> References: <20230530122621.2142192-1-lukma@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230530122621.2142192-1-lukma@denx.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 30, 2023 at 02:26:21PM +0200, Lukasz Majewski wrote: > One can disable in device tree advertising of EEE capabilities of PHY > when 'eee-broken-100tx' property is present in DTS. > > With DSA switch it also may happen that one would need to disable EEE due > to some network issues. Is EEE actually broken in the MAC/PHY combination? You should not be using this DT option for configuration. It is there because there is some hardware which is truly broken, and needs EEE turned off. If EEE does work, but you need to turn it off because of latency etc, then please use ethtool. Andrew,