public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Karunakar P <karunakarp@amiindia.co.in>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: The network interface configuration is taking some delay to update in DHCP case
Date: Tue, 18 Apr 2017 07:03:45 +0000	[thread overview]
Message-ID: <A885E3F3F1F22B44AF7CC779C062228E7C2876BF@Venus2.in.megatrends.com> (raw)

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.


             reply	other threads:[~2017-04-18  7:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-18  7:03 Karunakar P [this message]
2017-04-18  8:13 ` The network interface configuration is taking some delay to update in DHCP case 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A885E3F3F1F22B44AF7CC779C062228E7C2876BF@Venus2.in.megatrends.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox