diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2023-07-20 22:17:59 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-08 20:49:49 +0000 |
commit | b240eab03530f063ef5438497d70a731b19a201e (patch) | |
tree | 466b021754b7fe0d338edd4d226a8d3c370a07aa /NetworkPkg/HttpBootDxe/HttpBootClient.h | |
parent | d4ae5df71190148c902942c3462245e97ed2fcc8 (diff) | |
download | edk2-b240eab03530f063ef5438497d70a731b19a201e.zip edk2-b240eab03530f063ef5438497d70a731b19a201e.tar.gz edk2-b240eab03530f063ef5438497d70a731b19a201e.tar.bz2 |
NetworkPkg: Increase HTTP buffer size and enable TCP window scaling
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4505
This gives something like ~3 fold throughput boost.
Cc: Saloni Kasbekar <saloni.kasbekar@intel.com>
Cc: Zachary Clark-williams <zachary.clark-williams@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Saloni Kasbekar <saloni.kasbekar@intel.com>
Acked-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'NetworkPkg/HttpBootDxe/HttpBootClient.h')
-rw-r--r-- | NetworkPkg/HttpBootDxe/HttpBootClient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/HttpBootDxe/HttpBootClient.h b/NetworkPkg/HttpBootDxe/HttpBootClient.h index 2fba713..86a28bc 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootClient.h +++ b/NetworkPkg/HttpBootDxe/HttpBootClient.h @@ -10,7 +10,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #ifndef __EFI_HTTP_BOOT_HTTP_H__
#define __EFI_HTTP_BOOT_HTTP_H__
-#define HTTP_BOOT_BLOCK_SIZE 1500
+#define HTTP_BOOT_BLOCK_SIZE 32000
#define HTTP_USER_AGENT_EFI_HTTP_BOOT "UefiHttpBoot/1.0"
#define HTTP_BOOT_AUTHENTICATION_INFO_MAX_LEN 255
|