From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcsOp?= Roth Subject: Re: stmmac/RTL8211F/Meson GXBB: TX throughput problems Date: Sun, 13 Nov 2016 20:13:39 +0100 Message-ID: <20161113201339.667ac1f7@gmail.com> References: <20161031112524.4c4ee8f8@gmail.com> <1478192276.6632.34.camel@baylibre.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Martin Blumenstingl , Johnson Leung , Giuseppe CAVALLARO , linux-amlogic@lists.infradead.org, Alexandre Torgue , netdev@vger.kernel.org To: Jerome Brunet Return-path: Received: from mail-wm0-f66.google.com ([74.125.82.66]:35432 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935021AbcKMTNn (ORCPT ); Sun, 13 Nov 2016 14:13:43 -0500 Received: by mail-wm0-f66.google.com with SMTP id a20so9924105wme.2 for ; Sun, 13 Nov 2016 11:13:43 -0800 (PST) In-Reply-To: <1478192276.6632.34.camel@baylibre.com> Sender: netdev-owner@vger.kernel.org List-ID: > Andre, the 3.14 kernel you are talking, is it this one ? :=C2=A0 > https://github.com/hardkernel/linux/tree/odroidc2-3.14.y yes =20 > Because in drivers/net/phy/realtek.c, they disable EEE, but > also=C2=A01000Base-T Full Duplex advertisement ? >=20 > + /* disable 1000m adv*/ > + val =3D phy_read(phydev, 0x9); > + phy_write(phydev, 0x9, val&(~(1<<9))); >=20 > If this is the kernel you are running, you should not be able to have > ethernet at 1000MB/s ? Or is it in half duplex mode ? ethtool shows 1000Mb/s Full-Duplex and the bandwith is around 300Mb/s (as measured by scp). kernel version: 3.14.65-73