public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* The network interface configuration is taking some delay to update in DHCP case
@ 2017-04-18  7:03 Karunakar P
  2017-04-18  8:13 ` Wu, Jiaxin
  0 siblings, 1 reply; 6+ messages in thread
From: Karunakar P @ 2017-04-18  7:03 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

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 Ip4FormExtractConfig() -> Ip4Config2ConvertConfigNvDataToIfrNvData()

EFI_STATUS
Ip4Config2ConvertConfigNvDataToIfrNvData (
IN     IP4_CONFIG2_INSTANCE       *Instance,
IN OUT IP4_CONFIG2_IFR_NVDATA     *IfrNvData
)
{
...
IpSb = 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 SubnetMask 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 any delay.


Could you please help in where it is taking time to update the values in DHCP case.

Thanks,
Karunakar.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-20  0:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-18  7:03 The network interface configuration is taking some delay to update in DHCP case Karunakar P
2017-04-18  8:13 ` Wu, Jiaxin
2017-04-19  4:35   ` Karunakar P
2017-04-19  8:49     ` Wu, Jiaxin
2017-04-19  9:07       ` Karunakar P
2017-04-20  0:52         ` Wu, Jiaxin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox