From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 270DFA00BE; Fri, 11 Feb 2022 09:57:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B5243410E5; Fri, 11 Feb 2022 09:57:34 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 1D82A40042 for ; Fri, 11 Feb 2022 09:57:33 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: e1000 forced 1G support? Date: Fri, 11 Feb 2022 09:57:31 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D86E87@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: e1000 forced 1G support? Thread-Index: Adge5tMZ+7ZCkY6SQF6rsAUAmiqdBwAPa2rQ References: From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Bly, Mike" Cc: X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > From: Bly, Mike [mailto:mbly@ciena.com]=20 > Sent: Friday, 11 February 2022 02.30 >=20 > Hello, > > This is in regards to the DPDK E1000 driver used for the i350 = [8086:1521] NIC. > > I am looking to see if we can get forced speed =3D=3D 1000Mb (1Gb) = support working on this NIC. The current DPDK driver does not appear to = have support for forcing the NIC to 1G (1000M) speed. It only supports = setting 100M and 10M. Is there a reason for this? Refer = to:=A0e1000_phy_force_speed_duplex_setup() in = drivers/net/e1000/base/e1000_phy.c. > > Based on my reading=A0of ethernet-controller-i350-datasheet.pdf it = would seem we should be able to force the speed to 1G. However, even = after "updating" the above mentioned function to try and support a 1G = forced speed, the only way we can get two of these NICs to link up to = each other at 1G, is to set the port to auto-neg. We can certainly force = speed on one link to 100M or 10M and the other NIC will link up, but no = luck for 1G, regardless of whether we have one or both sides in a forced = speed vs. auto-neg mode. > > Is there a limitation I missed in the PDF perhaps? Hi Mike, Auto-negotiation is a *requirement* for 1 Gbps according to the IEEE = 802.3 Ethernet standard, so the way to force 1 Gbps is: Enable = auto-negotiation and only advertise 1 Gbps. In other words: You cannot establish a 1 Gbps link without auto-neg. Med venlig hilsen / Kind regards, -Morten Br=F8rup