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 9C72AA00BE; Fri, 11 Feb 2022 02:30:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2402140683; Fri, 11 Feb 2022 02:30:24 +0100 (CET) Received: from mx0a-00103a01.pphosted.com (mx0a-00103a01.pphosted.com [67.231.144.234]) by mails.dpdk.org (Postfix) with ESMTP id 3C0004013F for ; Fri, 11 Feb 2022 02:30:23 +0100 (CET) Received: from pps.filterd (m0222747.ppops.net [127.0.0.1]) by mx0a-00103a01.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21AK3aA9028680 for ; Thu, 10 Feb 2022 20:30:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ciena.com; h=from : to : subject : date : message-id : content-type : mime-version; s=06252019; bh=C+K3JWFxNM5cVi2NSXhHvz3GIfVCrjx2z5XDQ9BXTg8=; b=b/cO+QdH2x1zJIp+cwKBS1XqFzcS7pudqPyKie+6U/Qk+OZdeEJlV6DoFw9uZRjKVVEY /DAagzi/3p5MgW+t2uEBEFaSmXOscYHotdlGsbK3wlBuKXI1CEDgUibqn5UTNQG5OPvv 2CGsp+huJfb6zacm+1b/46KyzpN2ow3/9srhj1P+NL3JhcsJCzgS3S8QQkQAW2/be1O/ AvjkXKphdlTNit8Keq/aIRVFSf8Vn7gGd8e3Vsrk0lgOomXwBNKk73R1DxbUUkWDNHsS 5m4/3tWLs0bBCoch2haU7ikrd6S5L0LOjMRbPEXBSlQj9HsN8A/uIiQlS1X11kAxLoXl Cg== Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2173.outbound.protection.outlook.com [104.47.56.173]) by mx0a-00103a01.pphosted.com (PPS) with ESMTPS id 3e59dmrjpq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 10 Feb 2022 20:30:21 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ifdy1Z4yKf3kKY5oZCg+U9MwnxqTRmewIVABoTP6ISxRiSTaFDefNs9vKdGc21xmKsp565hPhV4QZZf6RdB76GkH+JCU+Odkvf0OfxBktyea1nk2ixM9W3fRJcN8RJcC4nG7ZgE0rLYfS3S1/0Q9AdJp/288SAk3f0JmW02x2Q7OtRjBNQxfpOR7/MnNj9QUJULTWL40dyU33RFeq37lrL9sWXVlz2fcBw2nBQ+ixZuka1qCFy98/o7zsedCG4ICgUyHUqN6JD4UzyS3skNtzqML2sPqof0ScD3xnzTsrk7nA4CfLZWv9Q+yxWs2cBMwdYVGeQWPFxOCUwVn1amk9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C+K3JWFxNM5cVi2NSXhHvz3GIfVCrjx2z5XDQ9BXTg8=; b=aNbJhhrBGHPGCttAd1YGE/1plj6/3oaOjr/EGM7gKrNS+DceC6+IRDwGciPRlkdyQ2CEDvqnRtJiOTcihb6tOGKzNG6yAX9JBckQvvs1xPZwO5o1h+0A78RldU8hA3L8PFF0Nu4bI/7kxT/87sZT90n2QhdTw3bORb0hK0J59fV4M27GQirKtdon6pRjlbZOY+a3yM9DADbUctTtXSU8nfhXasXKZdxIhm6EvAWyAnrv2HvG04poQjVVmyM/2CfUlffrxoBJJCc4+QVbCh0rkor5MwmBOaz/VS8aaFFhgxkNhu8t/m69Z83GO/U5LPlmN1NkfmAyrzZlGB1BBrNVWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BYAPR04MB4325.namprd04.prod.outlook.com (2603:10b6:a02:fe::33) by CO6PR04MB8411.namprd04.prod.outlook.com (2603:10b6:303:142::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11; Fri, 11 Feb 2022 01:30:20 +0000 Received: from BYAPR04MB4325.namprd04.prod.outlook.com ([fe80::bddb:3c8a:d43a:778f]) by BYAPR04MB4325.namprd04.prod.outlook.com ([fe80::bddb:3c8a:d43a:778f%6]) with mapi id 15.20.4951.019; Fri, 11 Feb 2022 01:30:19 +0000 From: "Bly, Mike" To: "dev@dpdk.org" Subject: e1000 forced 1G support? Thread-Topic: e1000 forced 1G support? Thread-Index: Adge5tMZ+7ZCkY6SQF6rsAUAmiqdBw== Date: Fri, 11 Feb 2022 01:30:19 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 033abd88-9a8d-445a-1336-08d9ecfe10f3 x-ms-traffictypediagnostic: CO6PR04MB8411:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YtxKaHijU2WHd8VSwxIrNIqLaUwGcx3SfKcd2Y0pw/qztNlKRE/sQwg9kNeMEjMPbooaFDRNXNOuqNMRwYymlSk8dJQz5W348uGEYw6rPt29eIjEmx3xnZxjgWh3sGjZhR8yfGQ04XTK8YrCUpcskBISb8hUTS4mrLarcJ5V0UQ3rli19esyzHbT3zGylSznScomwitH5IiqP+ka1hDXmmNOfl1akiqthndZ78W6+PEM6pNk9IGSf+vMfML0/tMEaXNR/j0HUaAz7Tj07xZo79tvkNGqNzwBGBoV7gGaAjAC9gu/ZasFLSNrENEz7LccCI3pTKZBNL5FMe2XN1W/xCAO0llBoLNCmaZERQOKEjwyPUzgHTQMZ0pEE1CQdYmyLGfzLs1dRr914hY4owDueqzFm6uHvbQNIzdyyydJtcawu4ZlGQySbFe/RG15BwBsC8ssK0GlTBo7zbYVQRvZxYVBfzvOZrSNNh6plOILg0LC7EW9gS98tuiZfSRGuDmcMKS+oWFmM4v0Iaa5+umKdtFTro0AbdQvqQ+OW1TJY0f6tkZ3bmo3aP25dlPyv5PC4CDdHClannM5LpNylbXHP/bJGesNt1Q/WnIdZG/4F5YHRNSE4oz8NY+anXwmvAKC+czlafd0uzNj/tqJCt7eqpdDnxBsTyJFZGDx8knHewTyYikkdwZAHVizvjbJ9y6cSIAaD28ZVwUX/J5mYfpC0Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR04MB4325.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(122000001)(7696005)(86362001)(6506007)(26005)(38100700002)(83380400001)(186003)(9686003)(71200400001)(6916009)(66946007)(64756008)(8936002)(5660300002)(9326002)(66446008)(66556008)(8676002)(66476007)(4744005)(76116006)(33656002)(55016003)(2906002)(508600001)(52536014)(38070700005)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?VXuMFSGbYLgmrHFv1pU1LhSAaqQM/u9Ek009JGCiYf4CaTdsG3xU1Bvtohxd?= =?us-ascii?Q?McKR7BttH8Yru8jdRZdUHPd1g2zFQDHf+h6P/zpYrqj6K989asnlGRLNlRcG?= =?us-ascii?Q?VWZ+5JONV3nu3niLAjCwB42MdnIeYgqo5xc4CkjkyY2RDx2apzMnkDZVmNI+?= =?us-ascii?Q?Jk/XphOdL7Hwbm2D16eD9Y42jmikvoCJVFpaF7XyxDYU8uLEwp05dFRNhniV?= =?us-ascii?Q?uzJKMrIZL9aDRDfTZX72zfpAbFmcTtaMfZOApDOoSv3WlKwKzLue7Ivn4M9c?= =?us-ascii?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U+knL9pFLxSx7Hl/5jcK9sf0H?= =?us-ascii?Q?CfAVBG44SRh1jHDUdKFktnY2f658a48Ulb1U+vFhY3p97nPmc8438gkYzSKB?= =?us-ascii?Q?OtVjo0xsJKBRFtMx/LnRnTZ/Xde/4vliN+3WoJUElcYKBoO/lslRaTdYrI5u?= =?us-ascii?Q?rWz4piJXTGG7vAK1xUmX0dGCfgPt0BpPXhVRhJFCn6EErUs6/CNPbJ3QDim4?= =?us-ascii?Q?yDLsk6jtIa5vViBTfl0g/kaKVvUm+JKUpCYzTqasabQtJqhwcTz7E6IkXtxf?= =?us-ascii?Q?R1BgbANvc7seCiIkVloA4kqua4kr2fOu4340n5M9ykn/uqCKOLdgwkZ72XJp?= =?us-ascii?Q?7GAzViKQystWf3XUvFTLEq9NL+q0vFjfPbu8OP1YmHhzHLaAZLcBaoNNjqAU?= =?us-ascii?Q?b3VYCrVF5g4D4FRF9a4=3D?= Content-Type: multipart/alternative; boundary="_000_BYAPR04MB432551A302263E9CC5C32B3FCF309BYAPR04MB4325namp_" MIME-Version: 1.0 X-OriginatorOrg: ciena.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR04MB4325.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 033abd88-9a8d-445a-1336-08d9ecfe10f3 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2022 01:30:19.9224 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 457a2b01-0019-42ba-a449-45f99e96b60a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VttJL5dOQrKfpJq6GB8TUsYpQr0Wm4fV1hffIvaC2V3lBwbLGjUKhOsinzAJLioz X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR04MB8411 X-Proofpoint-GUID: kfzZCovXVgGtLIVKDZ5OHmcNfOnCMBeI X-Proofpoint-ORIG-GUID: kfzZCovXVgGtLIVKDZ5OHmcNfOnCMBeI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-10_11,2022-02-09_01,2021-12-02_01 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 --_000_BYAPR04MB432551A302263E9CC5C32B3FCF309BYAPR04MB4325namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, This is in regards to the DPDK E1000 driver used for the i350 [8086:1521] N= IC. 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 suppor= t for forcing the NIC to 1G (1000M) speed. It only supports setting 100M an= d 10M. Is there a reason for this? Refer to: e1000_phy_force_speed_duplex_s= etup() in drivers/net/e1000/base/e1000_phy.c. Based on my reading of 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 onl= y way we can get two of these NICs to link up to each other at 1G, is to se= t 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 whet= her we have one or both sides in a forced speed vs. auto-neg mode. Is there a limitation I missed in the PDF perhaps? -Mike --_000_BYAPR04MB432551A302263E9CC5C32B3FCF309BYAPR04MB4325namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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: e1000_phy_force_speed_duplex_setup() in = drivers/net/e1000/base/e1000_phy.c.

Based on my reading of ethernet-controller-i350-datasheet.pdf it would= seem we should be able to force the speed to 1G. However, even after ̶= 0;updating” the above mentioned function to try and support a 1G forc= ed 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 cer= tainly force speed on one link to 100M or 10M and the other NIC will link u= p, 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?

 

-Mike

--_000_BYAPR04MB432551A302263E9CC5C32B3FCF309BYAPR04MB4325namp_--