NetworkPkg: Add PCDs for HTTP DNS RetryCount and RetryInterval
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3889 Currently the HTTP DNS Retry Interval is 2 second and no retry attempt. If DNS response can't arrive in 2 second, the DNS request is failed, and then HTTP boot is failed. In order to resolve this issue, Add PCDs to support RetryCount and RetryInterval configured in Platform. Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Wu Jiaxin <jiaxin.wu@intel.com> Signed-off-by: Heng Luo <heng.luo@intel.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
This commit is contained in:
@@ -163,5 +163,14 @@
|
||||
# @Prompt The Timeout value of HTTP Io. Default value is 5000.
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdHttpIoTimeout|5000|UINT32|0x0000000F
|
||||
|
||||
## The Retry Interval of HTTP DNS in seconds. If the Retry Interval is less than
|
||||
# DNS_DEFAULT_TIMEOUT, then use the DNS_DEFAULT_TIMEOUT.
|
||||
# @Prompt The value of Retry Interval. Default value is 0
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdHttpDnsRetryInterval|0|UINT32|0x00000010
|
||||
|
||||
## The Retry Count of HTTP DNS if no DNS response received after Retry Interval.
|
||||
# @Prompt The value of Retry Count, Default value is 0.
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdHttpDnsRetryCount|0|UINT32|0x00000011
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
NetworkPkgExtra.uni
|
||||
|
Reference in New Issue
Block a user