From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from IMSVA.IN.MEGATRENDS.COM (Webmail.amiindia.co.in [203.199.198.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 114A421A18AAA for ; Tue, 18 Apr 2017 00:03:50 -0700 (PDT) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 17E5682047 for ; Tue, 18 Apr 2017 12:35:32 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0228F82046 for ; Tue, 18 Apr 2017 12:35:32 +0530 (IST) Received: from webmail.amiindia.co.in (venus1.in.megatrends.com [10.0.0.5]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS for ; Tue, 18 Apr 2017 12:35:31 +0530 (IST) Received: from VENUS2.in.megatrends.com ([fe80::2002:4a07:4f17:c09b]) by VENUS1.in.megatrends.com ([fe80::951:7975:6ecf:eae5%14]) with mapi id 14.01.0438.000; Tue, 18 Apr 2017 12:33:46 +0530 From: Karunakar P To: "edk2-devel@lists.01.org" Thread-Topic: [edk2] The network interface configuration is taking some delay to update in DHCP case Thread-Index: AdK4EbWxBpH5aAwCSxaCzj+JcZmxZA== Date: Tue, 18 Apr 2017 07:03:45 +0000 Message-ID: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.84.59] MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1600-8.1.0.1062-23014.005 X-TM-AS-Result: No--21.807-5.0-31-10 X-imss-scan-details: No--21.807-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1600-8.1.1062-23014.005 X-TMASE-Result: 10--21.806900-10.000000 X-TMASE-MatchedRID: rINgX9Ffo3yA/l0nirxEGIzb2GR6Ttd3U+A7YkpDJ1hcKZwALwMGs495 m5+eRVPwxdMDEDSgbA9A0ksTEuE5JQTsy5Ctk/ajEe5D10MltLYwLjM7t3iRo7w2tvOM+/Mnr7a JSHDy6HjqaFbKL+1tnLQGCbQJcabmGAS4UVZrvja8coKUcaOOvWEF8bGZ0cKCjm39dGqS3Env/7 2zC4hJFZ3woJ2UeuYF6HMoliKXreijlFSgXWPWuPU1Xpm2N12S/AZW18vjv1o6iP0NczjR0lvr9 JucnAavzkH/0tV77RAZttB2H+RMvwkbnmLrKdcc+KUzuemidPzDHSNFHFxB8/ufvd3T2+v3N1vv blTcLHxL55Pk4gKt9iKINqHfol/n3szvVnpBZzhIOSHptb5txy9wqaqMRxje47ndse0z1bcWP8W ertUXzFIQcS90Y9ia9yaXhPhnUZ2CIg7tJ//usYvptQwz5tsiM9g+YfdqJKG2qyF5124GB35Hqf /DyCgNEv0kmovGJccUAF4uBmvRkR8TzIzimOwP/sToY2qzpx47AFczfjr/7BcPCliS08KDNROoa 2p6YVtVQRJwzqAMm+Qa9Ao9nL1QBjlaJOwAkt4= X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0,39:0-0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: The network interface configuration is taking some delay to update in DHCP case 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: Tue, 18 Apr 2017 07:03:50 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I've been facing an issue with IP4 SERVICE Default interface value. [Reproduction Steps] 1.Add trace messages to print the values of ip and SubnetMask in Ip4FormExt= ractConfig() -> Ip4Config2ConvertConfigNvDataToIfrNvData() EFI_STATUS Ip4Config2ConvertConfigNvDataToIfrNvData ( IN IP4_CONFIG2_INSTANCE *Instance, IN OUT IP4_CONFIG2_IFR_NVDATA *IfrNvData ) { ... IpSb =3D IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance); + Print value of IpSb->DefaultInterface->Ip + Print value of IpSb->DefaultInterface->SubnetMask ... } 2. Assign ip to SUT using IPv4 Network Configuration page. ( Enable Configured and Enable DHCP and Save Changes and Exit ) 3. reset the SUT once IP assigns [Observation] 1. On restart, Ip4FormExtractConfig() gets call and prints Ip and Sub= netMask values are 0. 2. If add some delay before printing those values , then getting the = proper values + add Delay some delay + Print value of IpSb->DefaultInterface->Ip + Print value of IpSb->DefaultInterface->SubnetMask 3. In the case of Static Ip , printing proper values without giving a= ny delay. Could you please help in where it is taking time to update the values in DH= CP case. Thanks, Karunakar.