From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.4.79; helo=eur03-db5-obe.outbound.protection.outlook.com; envelope-from=pankaj.bansal@nxp.com; receiver=edk2-devel@lists.01.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40079.outbound.protection.outlook.com [40.107.4.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D50DF21EA15D5 for ; Fri, 6 Oct 2017 02:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UEzwnIG+UYt8/YVOxUrYF4s2G54zsj82voaz/EoitxA=; b=vBdgfQA//y+DUi3HD6LYC3g2spLvBdyfgbhXNqX/cLt4Qns7Cxje/rplVd/FnBSxOVjK/cyU8kBtefVJi36DUU0ThUo2BGWZoWBP9ET6SVo7oQP/xP7vbO+EiHiIMTGFc/17bGsUJ8aPqQIPxVPpbcToDhXR1YsMCURTzdGFt/o= Received: from AM0PR0402MB3940.eurprd04.prod.outlook.com (52.133.40.140) by VI1PR04MB3007.eurprd04.prod.outlook.com (10.170.228.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Fri, 6 Oct 2017 09:23:47 +0000 Received: from AM0PR0402MB3940.eurprd04.prod.outlook.com ([fe80::d0d3:8e74:b9b0:d4af]) by AM0PR0402MB3940.eurprd04.prod.outlook.com ([fe80::d0d3:8e74:b9b0:d4af%13]) with mapi id 15.20.0077.018; Fri, 6 Oct 2017 09:23:46 +0000 From: Pankaj Bansal To: "edk2-devel@lists.01.org" Thread-Topic: Boot delay due to network devices Thread-Index: AdM+gW50TnWphq2DTISXvDd93ELcUg== Date: Fri, 6 Oct 2017 09:23:46 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=pankaj.bansal@nxp.com; x-originating-ip: [192.88.169.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB3007; 6:dMZE6Oswzi3GQEX5LtUHjCtd9BYo4C8pYjO/rCnn+AOxsahOn0G4VQHKOqqBhAHy2YtAUaHv0tZKUHrVPqIXORrWaha8AQQehjvzhGqUiBZuME7NvN9qortUESF7QXs0Y/ahWFf+BsTLHKZkb7CFisQsSCuQW3zicgGcjqEy35VC1XOas/H2bp9tpVPGXhADU3VlfPKhTJieuhklcQGL2c7ZrJV0kI91h4Ez0GZaVmFlQ6wmzO8AMC7SOa/A/RzhS/8o4zE67qTGWF9tg3NAO7JZG9KHZES8ddyAVr17YuausL/TmfSZ9C33Cjr6FiOxd0ot8y/6f5NfSVLP96fSGg==; 5:GhJgjTn6K1i17f6JpIiIeRiwlW/xjxASm1HH5vJLEFXd+emVkG5nRMvksesMTT7rOQnV4uFrJc7F44gIcRWAjhSoCDo77Ex0B7dnh+OinsE9PzIy7JEnMjmswdJHS2rCwvEog4F0gmiugIuBu5HQow==; 24:QtwqDP9E/UGmfn/HLFp5rqkYpS/2P7L7JuWkyIisH6IY+CateOUY2Kd6Wu01SpEQ1EmcpfWnwOclgZp7mWdJ9IgmSc1orU4Iek8p+IbQXxw=; 7:2pmrZo37p0hr1MTf5kLdkSOwo2at2OuhyF4aWFCDK8Ai1/oUNjhTK54Xm6wCGXE8OR3M0M3s9k2q5t4JWY60lpkaU8nSUMeuCI9NCPpxxWrHA6OLXuRXPcJLsm48Ymplgt1/RyWT+A1nSwjy7CsHfuBmxtqmIwa6pQrtUbTotPRBAW58VFSq9iXCSdkdbLAETq27bC9zPdI30v9k3AnBl593PpBlgFY6IpAtG8oiUD0= x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(39860400002)(189002)(199003)(50986999)(81166006)(81156014)(106356001)(2900100001)(7736002)(6506006)(6116002)(74316002)(189998001)(6436002)(102836003)(14454004)(3846002)(305945005)(3660700001)(6916009)(6306002)(5660300001)(4326008)(25786009)(2351001)(33656002)(5640700003)(7696004)(966005)(97736004)(3280700002)(86362001)(101416001)(68736007)(478600001)(2501003)(105586002)(66066001)(99286003)(9686003)(316002)(5250100002)(55016002)(8676002)(53936002)(2906002)(8936002)(54356999); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB3007; H:AM0PR0402MB3940.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; x-ms-office365-filtering-correlation-id: 1e154495-4b68-4537-ca1a-08d50c9bf22c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:VI1PR04MB3007; x-ms-traffictypediagnostic: VI1PR04MB3007: x-exchange-antispam-report-test: UriScan:(21748063052155); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123558100)(20161123562025)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR04MB3007; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR04MB3007; x-forefront-prvs: 0452022BE1 received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2017 09:23:46.4185 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3007 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Boot delay due to network devices X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 09:20:27 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello edk2 team, We are getting boot time delay in edk2 in our armv8 based platform due to n= etwork devices. We have implemented the network device drivers in our platform as SNP devic= e drivers. We have total of eight network interfaces (eight SNP protocols). Out of eight only one or two network interfaces are connected to network at= a time; rest are disconnected. When we boot the system then all the devices are detected (Snp->Start) and = initialized (Snp->Initialize). During Snp->Initialize(), the phy auto negotiation is started and driver wa= its for auto negotiation to complete for maximum of 5 seconds. For each network device that is not connected, the system spends 5 seconds = before exiting out of Initialize. We don't want to use these network devices for boot, still the time is bein= g spent to check their status. Is there some way we can skip this delay due to phy auto negotiation during= boot ? If I move phy auto negotiation to Snp->Transmit and Snp->Receive, will this= violate the SNP protocol guidelines ? Thanks & Regards, Pankaj Bansal