[From nobody Thu Jun 25 05:55:40 2020
Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529])
 by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux))
 id 1iyCn8-0000n9-KW
 for openwrt-devel@lists.openwrt.org; Sun, 02 Feb 2020 10:47:51 +0000
Received: by mail-ed1-x529.google.com with SMTP id m8so12848913edi.13
 for &lt;openwrt-devel@lists.openwrt.org&gt;; Sun, 02 Feb 2020 02:47:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=GMH5Oc4LbT32b3y8WkZbu4YIYeKXKDa4ro68u0zisWE=;
 b=hmE/9LVNn1UY+Ag86NuUVG+pWyOlyaddviYikPY2PWN9+RrRPEY+bg50sfYE7KHezo
 +p4+mOqD2Asb/ddkugTM2A60CeZSjqIG8g+W7AxoNqymra93NKbfUhwoAPyV9y08AUP1
 YKsb5YsqArGOXYVBqT7BTyZmQtyLw+06BMC7MrA2KgPEtn/v8DfrCfGmmTlResQxPpER
 Ss3gem6PNwczXcDeT2pQxD9lRccZ+/D/MXt05t4jDL5QBFqH/e2jcAj8JxKFBXh7EUfz
 JR3vI2O5JsxQoxs/VgIb/KMvdOkq1G/7d0YDRnSj6FOIbjTZHB+2OB8npDD/C6N5rgM2
 8H2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=GMH5Oc4LbT32b3y8WkZbu4YIYeKXKDa4ro68u0zisWE=;
 b=rUsC4DbHHu98Tk8dL8DUFExL6+UYec7rtqZ7x6O/eH+FRbEAaWafIwy4fL5x7k1Naf
 ilAFhlQD9l2iWZ83shiAphnglXtG6zHVXoqxcvJylr9LmDs4kNL04WjvKY1YM6bZ6RMJ
 lBLYJ35lavmNqewvwDOirfQcmZvz4aSE7e3OUkEAOTa5bk6HkHmtxI20mHNFxF9VZz9a
 tojDR5stwu8zzr4XUKJ3I98EnO227TR0p8SH/ktEH1jTPnyHhykGAXEbMgs0meY5jY4F
 6zyPgE2pz6JHxNp3um1C0fMYAxR/kvPKFNRTT9fMBGrPF5hzNQAufN+I+/yyoCoUUShV
 lokA==
X-Gm-Message-State: APjAAAWeJoIl/KFl3T5GYzJW1yKQUi6MEu5eyr4+1ho5ZllBndeqaEDZ
 cRUrM3ZojYhU/fgSAYXKxV4mYbeOf27y7mMePpA=
X-Google-Smtp-Source: APXvYqx7GiabJ5NQ6wp+XBOe2Wkgb0hMdS3puPIM4XDgQVPuuQd72i1oIjZi5YlXxIpJrrWqheHBdr/GycLrJdPnkUM=
X-Received: by 2002:a05:6402:b2e:: with SMTP id
 bo14mr7998780edb.13.1580640468403; 
 Sun, 02 Feb 2020 02:47:48 -0800 (PST)
MIME-Version: 1.0
References: &lt;00cd01d5d928$14be1b20$3e3a5160$@adrianschmutzler.de&gt;
 &lt;CAFBinCBRhs50AiBnaZQ5eoYZ4ZvCxaDnYENfpLPRQPErO6PCtA@mail.gmail.com&gt;
 &lt;51dfd1a8-7573-2afc-e834-c1ed60c64514@rogerpueyo.com&gt;
In-Reply-To: &lt;51dfd1a8-7573-2afc-e834-c1ed60c64514@rogerpueyo.com&gt;
From: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Date: Sun, 2 Feb 2020 11:47:37 +0100
Message-ID: &lt;CAFBinCDEpoDW6t5OF+T_3a9hXV16+DkOhx=8CnydxwEOj43o2w@mail.gmail.com&gt;
Subject: Re: [OpenWrt-Devel] ath79 equivalent of disable_smarteee
To: Roger Pueyo Centelles &lt;rogerpueyo@rogerpueyo.com&gt;
Cc: mail@adrianschmutzler.de, openwrt-devel@lists.openwrt.org
Content-Type: text/plain; charset=&quot;UTF-8&quot;
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
X-CRM114-CacheID: sfid-20200202_024750_698000_67298073 
X-CRM114-Status: GOOD (  12.22  )
X-Spam-Score: -0.2 (/)
X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary:
 Content analysis details:   (-0.2 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2a00:1450:4864:20:0:0:0:529 listed in]
 [list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider [martin.blumenstingl[at]googlemail.com]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from
 author's domain
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
 valid
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
 -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from
 envelope-from domain

Hi Roger,

On Sun, Feb 2, 2020 at 12:00 AM Roger Pueyo Centelles
&lt;rogerpueyo@rogerpueyo.com&gt; wrote:
&gt;
&gt; Hi Martin, Adrian,
&gt;
&gt; Thanks for the info. The device is advertising EEE capabilities, and so
&gt; is the adapter on my computer it is connected to:
&gt;
&gt; root@computer:~# ethtool --show-eee eth2
&gt; EEE Settings for eth2:
&gt;     EEE status: enabled - active
&gt;     Tx LPI: disabled
&gt;     Supported EEE link modes:  100baseT/Full
&gt;                                1000baseT/Full
&gt;     Advertised EEE link modes:  10baseT/Full
&gt;                                 100baseT/Half
&gt;     Link partner advertised EEE link modes:  100baseT/Full
&gt;                                              1000baseT/Full
&gt;
&gt; The eee-broken-100tx/eee-broken-1000t options are not yet set in the
&gt; DTS, but I am not seeing any EEE-related messages on the router (nor on
&gt; my computer) --or I'm not looking at the right place--. Is it just a
&gt; matter of time (i.e., they will eventually appear)? In other words,
&gt; should I add them to the DTS?
These properties were added upstream as part of debugging Ethernet
issues on boards using an Amlogic SoC. Slow transfer speeds were
observed by *some* people and eee-broken-100tx/eee-broken-1000t fixed
it for them.
personally I never observed any difference on all hardware (all boards
with Amlogic SoC together with all switches that I have) with or
without the eee-broken-100tx/eee-broken-1000t properties.

We have not figured out the actual root cause of these issues on Amlogic SoCs.
So we add the properties there whenever the authors of the .dts
believes that it fixes some problem for them (or someone else reports
a problem and adding those properties fixes it).
Unfortunately this also means that there's no specific test procedure
documented.


Martin

]