From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Poirier Subject: Re: [Intel-wired-lan] e1000e driver stuck at 10Mbps after reconnection Date: Tue, 11 Sep 2018 17:31:47 +0900 Message-ID: <20180911083147.GA31642@f2> References: <20180806115913.GA21556@super_plancton> <20180807064222.GA30741@super_plancton> <001556a4-c49c-b96b-0be8-b3c4be7bb09c@intel.com> <20180907062851.GA7336@super_plancton> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: "Neftin, Sasha" , Alexander Duyck , Netdev , intel-wired-lan , "David S. Miller" , linux-kernel@vger.kernel.org To: Camille Bordignon Return-path: Content-Disposition: inline In-Reply-To: <20180907062851.GA7336@super_plancton> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 2018/09/07 08:28, Camille Bordignon wrote: > Le mercredi 08 août 2018 à 18:00:28 (+0300), Neftin, Sasha a écrit : > > On 8/8/2018 17:24, Neftin, Sasha wrote: > > > On 8/7/2018 09:42, Camille Bordignon wrote: > > > > Le lundi 06 août 2018 à 15:45:29 (-0700), Alexander Duyck a écrit : > > > > > On Mon, Aug 6, 2018 at 4:59 AM, Camille Bordignon > > > > > wrote: > > > > > > Hello, > > > > > > > > > > > > Recently we experienced some issues with intel NIC (I219-LM > > > > > > and I219-V). > > > > > > It seems that after a wire reconnection, auto-negotation "fails" and > > > > > > link speed drips to 10 Mbps. > > > > > > [...] > > I recently figured out that neither the previous patch nor commit > 0b76aae741abb9d16d2c0e67f8b1e766576f897d fix this issue. > > In these cases, after reproducing the issue, when ethernet wire is connected > kernel logs mention full speed (1000 Mbps) but actually it seems it is not. > The problem persists. > Hmm, so the newer (post 4110e02eb45e) kernels are actually "better", in that they accurately report that link speed is 10Mb/s. In the end, do you know of a kernel version that doesn't exhibit the problem of slower actual link speed? I had a look at the code and I tried to reproduce the problem on the hardware that I have (I217) but could not. Also, out of curiosity, have you tried playing with the speed, autoneg and advertise settings via ethtool -s to force the link to 1000Mb/s?