NetworkPkg: Add PcdTftpBlockSize in NetworkPkg.dec

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2195
PcdTftpBlockSize is network related PCD. It should be defined in NetworkPkg.dec.

Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
This commit is contained in:
Liming Gao 2019-09-17 10:58:56 +08:00
parent 1aebb09519
commit c7471e2a01
2 changed files with 13 additions and 0 deletions

View File

@ -102,6 +102,13 @@
# @Prompt PXE TFTP windowsize.
gEfiNetworkPkgTokenSpaceGuid.PcdPxeTftpWindowSize|0x4|UINT64|0x10000008
## This setting can override the default TFTP block size. A value of 0 computes
# the default from MTU information. A non-zero value will be used as block size
# in bytes.
# @Prompt TFTP block size.
gEfiNetworkPkgTokenSpaceGuid.PcdTftpBlockSize|0x0|UINT64|0x1000000B
[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
## IPv6 DHCP Unique Identifier (DUID) Type configuration (From RFCs 3315 and 6355).
# 01 = DUID Based on Link-layer Address Plus Time [DUID-LLT]

View File

@ -92,3 +92,9 @@
#string STR_gEfiNetworkPkgTokenSpaceGuid_PcdIPv6PXESupport_HELP #language en-US "Indicates IPV6 PXE Function is enabled or not.\n"
"A value of 0 indicates the IPV6 PXE Function is disabled.\n"
"A value of 1 indicates the IPV6 PXE Function is enabled."
#string STR_gEfiNetworkPkgTokenSpaceGuid_PcdTftpBlockSize_PROMPT #language en-US "TFTP block size"
#string STR_gEfiNetworkPkgTokenSpaceGuid_PcdTftpBlockSize_HELP #language en-US "This setting can override the default TFTP block size. A value of 0 computes "
"the default from MTU information. A non-zero value will be used as block size "
"in bytes."