Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3949117imm; Tue, 11 Sep 2018 04:46:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZjc3ISIzlWltDr/Ja3CObPiHQzDGMK849FckSuBf2b+ZFHa7foUEUOXwZoOZN4Hr3zpr+9 X-Received: by 2002:a17:902:1101:: with SMTP id d1-v6mr27204263pla.131.1536666416590; Tue, 11 Sep 2018 04:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536666416; cv=none; d=google.com; s=arc-20160816; b=cEw+eF2kNnzOOv2d2TT/YqmCeE+pePmSxx/kqqIazWuQi1zvugYo5SHsioXhqeg/wR tg5vIju/yhkG8IrzuVxbXzjhrIZ6sZS4w9s5fx50d7GktnQtO9/C3TqsoyLUDVrDVQ8r mfSaeIdpOj0Nz2Gidg+TL18DQNBib0spoucwp45Dum3Jk52DUpfP8Vpi+U+dVfj4dC1v 5D76vMsZo5w8lr0FzSZXd79sO13jJaw6FOoeropaqB5ewr0ANyA7jw4stqOFqywYxWbS tGlPz3p4HNnRxynikeIEiyromazTQgLXPwY0ZcvWlsVlHMNQO4nPibBU9Ll5r9XYcWUx o8WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qSxecYno4wHuok7Px9UKO7OGA4W1NetrD/YaScP5u2E=; b=Cp2AfKQ9vj3FmGRx4h6P3ceHJ6lEHMlm+ND0aWomiUe9Q4A1FT7JpwvYHBX7Ra86TO nrSj/FIALZaUComuyczhgqBGufUlEbrCmPk1WbtjtoWDT/8jtkpNxg0hQgivkMXiQyWJ 5icmJTvxWSfj+spzt3FeD3gQCxrzG+vURr7pdiyNRUz6uEldpUl91OnYNK+6T9+guBLv DLzqSh8UvR8Efqx5dym/PTclod7MXCDoI4xqEbWFN+LOFWSh6E1WUW4ItG32VfFRsdre el1mKLWdeLkalkmWK763NgzLfVWtP9H3Q3XcyJhLyfMppi7X/3o3SlUBUWe0HMFnH3Ei DpJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@easymile.com header.s=easymile header.b=A4hn76KI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1-v6si20865722pgl.669.2018.09.11.04.46.40; Tue, 11 Sep 2018 04:46:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@easymile.com header.s=easymile header.b=A4hn76KI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727246AbeIKQpb (ORCPT + 99 others); Tue, 11 Sep 2018 12:45:31 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35798 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726554AbeIKQpb (ORCPT ); Tue, 11 Sep 2018 12:45:31 -0400 Received: by mail-wm0-f68.google.com with SMTP id o18-v6so648828wmc.0 for ; Tue, 11 Sep 2018 04:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=easymile.com; s=easymile; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=qSxecYno4wHuok7Px9UKO7OGA4W1NetrD/YaScP5u2E=; b=A4hn76KIs/1oRdomY+Xqtm3arUA69k/ciMhXR/qvZ8qesKYtgcimEV9dgdS0SfRMK0 pKNwVPqZzxqLhY/eJsXsLTjCRx5VY6ihjcF2IZaglVcC/tKA1YHxIlB+q5xfZghbpfaV ZHqIC7RB0iIiaYdMQUFUEq2qmfmiUvmK+GVsc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=qSxecYno4wHuok7Px9UKO7OGA4W1NetrD/YaScP5u2E=; b=LTUsKu/amPMkU+DPBiNfLd1jaLNdaKnpwkNdA9zMcienP0nlvTdtz9a9HE8YlsF1CZ RkvmvkekGYd2zl1ZtEEVLMd1w1AerZpFSkmtQlAG2FSQVoWm74n+aGQ5Z9RaiyqF/ai7 T2zHE6KgaxXyhbGxGewowLIbKQ6goX6hvU8Vf5e+kYHceqdTNlycO0uumZ1Js3/Z3P6A AzV3r6ex/CTJSsEI2/BYyCDrTVCs9Vk3oYucaMu+4fe3fC0pLxig9zVvO7HG39gZB4vM K0wrkWgDcnZBtlwFygwIcvZcpPDy/dpiiAG/4SkVmOFHZoqFSpHQiDoFYu4UYcCz31TO Z+kQ== X-Gm-Message-State: APzg51AQBmrIKRuCXHzqfcGpfcsA4GhDE2WvWfJnIONntNP7XRnGNTdb GBvX2T5zHemPJFRajsvKIJN8BQ== X-Received: by 2002:a1c:838a:: with SMTP id f132-v6mr1045199wmd.127.1536666390981; Tue, 11 Sep 2018 04:46:30 -0700 (PDT) Received: from super_plancton ([185.116.129.142]) by smtp.gmail.com with ESMTPSA id z10-v6sm19736926wrv.22.2018.09.11.04.46.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Sep 2018 04:46:30 -0700 (PDT) Date: Tue, 11 Sep 2018 13:46:28 +0200 From: Camille Bordignon To: Benjamin Poirier Cc: "Neftin, Sasha" , Alexander Duyck , Netdev , intel-wired-lan , "David S. Miller" , linux-kernel@vger.kernel.org Subject: Re: [Intel-wired-lan] e1000e driver stuck at 10Mbps after reconnection Message-ID: <20180911114628.GA12572@super_plancton> References: <20180806115913.GA21556@super_plancton> <20180807064222.GA30741@super_plancton> <001556a4-c49c-b96b-0be8-b3c4be7bb09c@intel.com> <20180907062851.GA7336@super_plancton> <20180911083147.GA31642@f2> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180911083147.GA31642@f2> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le mardi 11 sept. 2018 ? 17:31:47 (+0900), Benjamin Poirier a ?crit : > 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. > Exactly. > In the end, do you know of a kernel version that doesn't exhibit the > problem of slower actual link speed? > No. I've tried older version but at some point API has changed and it fails to compile. > 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? Forcing the speed fixes the issue in any case (I mean even when speed is wronly reported to 1000Mb/s). Done this way: #ethtool -s enp0s31f6 speed 1000 duplex full autoneg off Thanks.