mirror of https://github.com/acidanthera/audk.git
Roll back BlockSize to 0x8000 for PXE performance concern.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10798 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
83c7c8036c
commit
11fa4298d6
|
@ -347,11 +347,7 @@ EfiPxeBcStart (
|
|||
return Status;
|
||||
}
|
||||
|
||||
//
|
||||
// Configure block size for TFTP as a default value to handle all link layers.
|
||||
//
|
||||
Private->BlockSize = (UINTN) (MIN (Private->Ip4MaxPacketSize, PXEBC_DEFAULT_PACKET_SIZE) -
|
||||
PXEBC_DEFAULT_UDP_OVERHEAD_SIZE - PXEBC_DEFAULT_TFTP_OVERHEAD_SIZE);
|
||||
Private->BlockSize = 0x8000;
|
||||
Private->AddressIsOk = FALSE;
|
||||
|
||||
ZeroMem (Mode, sizeof (EFI_PXE_BASE_CODE_MODE));
|
||||
|
|
Loading…
Reference in New Issue