From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 32736D80186 for ; Fri, 8 Sep 2023 17:09:03 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Fl1JwY/cPAsUvr1Ee68cH01v1GtBPJ2Jz+VVvap5wEc=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1694192941; v=1; b=i/vZvdY+/wOHlH4+xhWudAQ0Ol3Kr5Vqy7uQ/hVBVOPkYLJKdKQkNXL/LUEx0RQu5UD0m6js eJa/6tvyIJtqWpXHFfdisbSNB8Jfwf2SUyyugj9iGnikKyaQHZhgAHoFgJ4VIJgd+tk2dBVQ/KS N2nK8YZrFQkjJl4i9ZCQ6dqE= X-Received: by 127.0.0.2 with SMTP id KllqYY7687511xwXRam17MsK; Fri, 08 Sep 2023 10:09:01 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web11.90.1694192941175477255 for ; Fri, 08 Sep 2023 10:09:01 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10827"; a="377610214" X-IronPort-AV: E=Sophos;i="6.02,237,1688454000"; d="scan'208";a="377610214" X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2023 10:07:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10827"; a="832724613" X-IronPort-AV: E=Sophos;i="6.02,237,1688454000"; d="scan'208";a="832724613" X-Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by FMSMGA003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 Sep 2023 10:07:34 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Fri, 8 Sep 2023 10:07:34 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Fri, 8 Sep 2023 10:07:33 -0700 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Fri, 8 Sep 2023 10:07:33 -0700 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Fri, 8 Sep 2023 10:07:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iPNa0zvUwfLofDTKb2ozWeqoxIXmlZyx+HP16SkJUKOo0FW/UL+gkw/skuAhAyYw0FVKgyjibVOfgB7eSQFkYVK9qUPELDXbsBSraWcYqFzr10Rfhg2DtVDe+1aXAigZgwP3uNB39pzrS38cfsXeJUGAIpCZPJa9L1atHq0T/zCyhOWuBDppAF6RBOZ7i4Zis4FmcU0Ju9RDCMcb/+c/auGIBdJsPmFqLmRRMq3iurcO1zBOg3W8xnBsXO4qPMirl68eQD9gnWVSuiD0G3z1AXpYRzJwgAjb6OtIX3hBSs/fIQYriGOr2QFwwAIFz386ut+3fRBNEKRjV+fHBxCExw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tkRi6LQYCpm/kzbREe7vok374KedfWzvk5Hq9sgfiEQ=; b=B6JVMwykJcDQu+QDeTd+A/MH1xfPcHf12QkpmKB6ATWlqlNJwF6p/yIjIs1EQQJv0tbhKkBfRO+3Gb7U77L0fVJSfEaDxUz9kYjRGQ8YIFnsjWnufPeKppiBGy/ENh3gvv4MehAfO2Yp0hKsQMrhBufytVY9bfNWYdwbQn0VF4ty/0EJPsYMGYHtkuce8TjVfH0uBx0TMPlZq/Xyn5+mKj8ygcABrQ0U4dVe2YPVWvYsGnpsx26wh8kgcLHdZLzf4iI7NBSR/0Rjeg+QV8kyL3DBlTm0nmGEb0jaQLmbtouYYLa22ZpCTdfbyebOjvE0F0C4TBBBGbOPBA8KJrJqJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from CO1PR11MB4929.namprd11.prod.outlook.com (2603:10b6:303:6d::19) by PH0PR11MB5926.namprd11.prod.outlook.com (2603:10b6:510:14d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.23; Fri, 8 Sep 2023 17:07:26 +0000 X-Received: from CO1PR11MB4929.namprd11.prod.outlook.com ([fe80::eaa6:1c0:c33f:2a11]) by CO1PR11MB4929.namprd11.prod.outlook.com ([fe80::eaa6:1c0:c33f:2a11%2]) with mapi id 15.20.6768.029; Fri, 8 Sep 2023 17:07:26 +0000 From: "Michael D Kinney" To: "Kasbekar, Saloni" , "Li, Yi1" , "devel@edk2.groups.io" CC: "Otcheretianski, Andrei" , "Clark-williams, Zachary" , "Luo, Heng" , "Kinney, Michael D" Subject: Re: [edk2-devel] [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP window scaling Thread-Topic: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP window scaling Thread-Index: AQHZ4RM+moyYeNyEU0uViKtQfi15bbARK3sg Date: Fri, 8 Sep 2023 17:07:26 +0000 Message-ID: References: <20230721051759.7021-1-yi1.li@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO1PR11MB4929:EE_|PH0PR11MB5926:EE_ x-ms-office365-filtering-correlation-id: c3efbace-b467-4630-26fe-08dbb08e1398 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: EBN+Bime7c+N9i41GXsaJ4VfK2DizA0KOZ4LoJuf0rjKtrKqFVyFb3N1DD3x6CRwYMuyPiPjCvYIM9bG4Np7yNkRIXcEG/uyUzCtL+XR1DVAoXtJ+lHQ0vUpsQYstOCxIFGgcgaUKx+1ZIaqPnJXD0LWe/stP57M3oiFsmnMkSlXhDnMGfDPAU5Rv5fXg8nzK6WPdMCoRpg2ZBvJIHyfXUfwPHklvvDS4qU1tbWgrS5aas3UWtYXNv1AFEZQkNnwXnmYzFplXpEdE6c8ZzROowcvQEgWaaUKYom7XyOmtpQm5HOsDZyHvEWDle3zNro9TwJEqcE3iOealk7Yt7lFDkswNUOiVmtqAwjeFGNQHt97soaKd3nkkh3G0tCBqo3lPS655jqemAX/aJ2iORY3cZ+O5qhsSmyFpGUxBiobdd+MdVhF0AabLBGN6YVwU4vwCvfAMPjqwUvDxSjw/oAyLbN7eIaI+EUChbS/WupfEM6I8cMXm60uqhpIm4fajBTavpyxTTvMj9/VercaNUelFvAUO8IjEUy5ddn465Sus3md9CMwJsIrnHYw3aknPAJAVjM2dm2bLybvbHz4w1XKm9d6B84jho+GN5WQgDh1yJg= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mZpIF5JCVXgDQuI93he+rpP96Sd+Il7Je0g/3d4DSjLm6TXVcP92WJhFRMQ4?= =?us-ascii?Q?CDV2qoL3zGutl7zP8n67vFZ+FXTXQI3Jmt67fQwHJ3pTAtEZNBY6s4XsjNCJ?= =?us-ascii?Q?XSD6tSc25mHpc39ksfkiQm8qFKSRzSoFuc004B5bLaArF1uBmAf22kVQe3Dw?= =?us-ascii?Q?BMEB2rGH3ZCQPSDfSvrAaE8OYvPcK+CyunC+IRzaYBsQCHpnATC8HFXGf6sl?= =?us-ascii?Q?ziU4p76z69COsI5dpS8+1PDIPfETjAASCnrkzH0egwSNEljOpSTTk2sA3cfc?= =?us-ascii?Q?2dt2Ks7hZmnWFEbhCnzkHuW1L9VErHHL5e8I1CsD0Xokg2M9km/kUnPESAQh?= =?us-ascii?Q?vLft+AugyRo46h8yPad5gO9mnpQ5891pfZybBir/qKYSJY90CCh4CXp85u5k?= =?us-ascii?Q?UYZDYbOU4CQwengc5FQ+XO8MxsOr1URkYCbkBl3Z5FfKFC5dKY6IqVgcDFf4?= =?us-ascii?Q?6rZ2t+W/k/ZO0UEHaZiDwy0bHikr/07kGroCcmJpS5Z5dcMGdqJK30BDPX6F?= =?us-ascii?Q?VsNzkS3pxwzBgH/Jq++UVKWh33HYYuaWZ9K5NLxdtn89Di168ktATVGGyzyB?= =?us-ascii?Q?58nnM+oRtN37qIdz0TZmaYllh4EfAJsVDMu3RSbFcLp+GvhzAQAm9Pknjq5B?= =?us-ascii?Q?AH7dn6KsVN8v1GxsvsOQiVa3MpmvuLCNol+4tNSAjT4nc//XyCNwkcDYxEZE?= =?us-ascii?Q?rMDA8rFt5wHtDw8BGVwJN848muTsxIePYdVTqvy+YqtUAaRebVdubOADZtm1?= =?us-ascii?Q?yXVC5BvyIGaLMEujqVJ2ogCrj6ij5THgW58Zb/YOC6nqr7Qs+S+1jPBjSqlu?= =?us-ascii?Q?CuswlNfTt5qGjE43J3WEQYTEeJtve5QXgcBi9PF27HfX/aTm7yRkiDB3kJmc?= =?us-ascii?Q?T9kncHRlkxhWa225LgjL4EoWoB0xXEIMiKI0bUCH3I2vxJvDas+dWdS1b1UM?= =?us-ascii?Q?fW+UkdQ7dwuUXUB6TtHX5L8i0w9GJZVyiCFzKzoHCpp+4ZQxoEbw/qmD1fo8?= =?us-ascii?Q?V/M8QuBKa5SFpeGoG8OOYuVACpkFhYxiN8vFLBe+fi16lClDJuZ3iiBoA2K4?= =?us-ascii?Q?YuokG7U3/LnUPqBr+a2AaFfrjubyf9BExPWPegEIxGobDuFnBTRRyYsnSgTR?= =?us-ascii?Q?u+j2SRJzY5XhrG3m0uLkzgbiOgC+B+AxopsAcDBhJSC9vPbuz8WeIstkG9/L?= =?us-ascii?Q?cdK1Yd6MIkt845cIMIcYTkEm6KRTdWo4+hEGNrCpSJhHgHjAEepEqaycC429?= =?us-ascii?Q?SnHZc48ri7hg2QHQp3AXQj2svMYBRMurnOYI8m4dD2ihgI7XVlU690kwVlEp?= =?us-ascii?Q?VB9VvsydZ5jPuqh9QvikllYWSFpiDdI0D16PNjruhc1UEMaGfPP5/nLB+vta?= =?us-ascii?Q?ZyT/Y8IBK4RK5kV//tpj3Jl1r4dOP3hZCFDvj2Z6PrRwzkmvAKKeZqJkK5RB?= =?us-ascii?Q?QFl5olDpiznWMrMmGj+abJ7yTgTiqkAhPctKAv6Dmw5jJKeazeaHLgZZu4OB?= =?us-ascii?Q?5muQHwuXxP9QrTw24HAjq9ryyolu/Actf0250AoqFr4bSJ1xcyqQOQfHBgGm?= =?us-ascii?Q?b6qRmMn4m65m5mlO9liuYQ/sC7nvIYtYmLqJlesxszMyvfmu8MPhUwwhaNXR?= =?us-ascii?Q?eQ=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4929.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3efbace-b467-4630-26fe-08dbb08e1398 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2023 17:07:26.3100 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qwHeiBiwobP2NLFle/XxZ0kZV4B8y1Py5Wm48xBGvdUFPEmu46S1INOCnMwJKzUcCNuPOj6SPn7+D+vnDwJAJp1hwRY/CD181RpSVA3+kzU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5926 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,michael.d.kinney@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: KprSK6pkZNc2wIphMdCTtPMnx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="i/vZvdY+"; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Acked-by: Michael D Kinney > -----Original Message----- > From: Kasbekar, Saloni > Sent: Wednesday, September 6, 2023 3:41 PM > To: Li, Yi1 ; devel@edk2.groups.io; Kinney, Michael D > > Cc: Otcheretianski, Andrei ; Clark-willi= ams, > Zachary ; Luo, Heng > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP > window scaling >=20 > Mike, >=20 > Could you help us merge the patch? >=20 > Thanks, > Saloni >=20 > -----Original Message----- > From: Li, Yi1 > Sent: Wednesday, September 6, 2023 1:52 AM > To: Kasbekar, Saloni ; devel@edk2.groups.io > Cc: Otcheretianski, Andrei ; Clark-willi= ams, > Zachary ; Luo, Heng > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP > window scaling >=20 > Hi Saloni and Zachary, can you help to merge this patch? It got reviewed= -by > but not check-in, Thanks! >=20 > -----Original Message----- > From: Kasbekar, Saloni > Sent: Tuesday, July 25, 2023 12:18 PM > To: Li, Yi1 ; devel@edk2.groups.io > Cc: Otcheretianski, Andrei ; Clark-willi= ams, > Zachary > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP > window scaling >=20 > Reviewed-by: Saloni Kasbekar >=20 > -----Original Message----- > From: Li, Yi1 > Sent: Thursday, July 20, 2023 10:18 PM > To: devel@edk2.groups.io > Cc: Li, Yi1 ; Otcheretianski, Andrei > ; Kasbekar, Saloni > ; Clark-williams, Zachary williams@intel.com> > Subject: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP win= dow > scaling >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4505 > This gives something like ~3 fold throughput boost. >=20 > Signed-off-by: Andrei Otcheretianski > Cc: Saloni Kasbekar > Cc: Zachary Clark-williams > --- > NetworkPkg/HttpBootDxe/HttpBootClient.h | 2 +- > NetworkPkg/HttpDxe/HttpProto.c | 48 +++++++++++++------------ > NetworkPkg/HttpDxe/HttpProto.h | 2 +- > 3 files changed, 27 insertions(+), 25 deletions(-) >=20 > diff --git a/NetworkPkg/HttpBootDxe/HttpBootClient.h > b/NetworkPkg/HttpBootDxe/HttpBootClient.h > index 2fba713679..86a28bc91a 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__ >=20 > -#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 >=20 > diff --git a/NetworkPkg/HttpDxe/HttpProto.c b/NetworkPkg/HttpDxe/HttpProt= o.c > index 33ae622c3f..7dfb82dd2e 100644 > --- a/NetworkPkg/HttpDxe/HttpProto.c > +++ b/NetworkPkg/HttpDxe/HttpProto.c > @@ -1073,18 +1073,19 @@ HttpConfigureTcp4 ( > Tcp4AP->ActiveFlag =3D TRUE; > IP4_COPY_ADDRESS (&Tcp4AP->RemoteAddress, &HttpInstance->RemoteAddr); >=20 > - Tcp4Option =3D Tcp4CfgData->ControlOption; > - Tcp4Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > - Tcp4Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > - Tcp4Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; > - Tcp4Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; > - Tcp4Option->DataRetries =3D HTTP_DATA_RETRIES; > - Tcp4Option->FinTimeout =3D HTTP_FIN_TIMEOUT; > - Tcp4Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; > - Tcp4Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; > - Tcp4Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; > - Tcp4Option->EnableNagle =3D TRUE; > - Tcp4CfgData->ControlOption =3D Tcp4Option; > + Tcp4Option =3D Tcp4CfgData->ControlOption; > + Tcp4Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > + Tcp4Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > + Tcp4Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; > + Tcp4Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; > + Tcp4Option->DataRetries =3D HTTP_DATA_RETRIES; > + Tcp4Option->FinTimeout =3D HTTP_FIN_TIMEOUT; > + Tcp4Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; > + Tcp4Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; > + Tcp4Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; > + Tcp4Option->EnableNagle =3D TRUE; > + Tcp4Option->EnableWindowScaling =3D TRUE; > + Tcp4CfgData->ControlOption =3D Tcp4Option; >=20 > if ((HttpInstance->State =3D=3D HTTP_STATE_TCP_CONNECTED) || > (HttpInstance->State =3D=3D HTTP_STATE_TCP_CLOSED)) @@ -1156,17 +1= 157,18 > @@ HttpConfigureTcp6 ( > IP6_COPY_ADDRESS (&Tcp6Ap->StationAddress, &HttpInstance- > >Ipv6Node.LocalAddress); > IP6_COPY_ADDRESS (&Tcp6Ap->RemoteAddress, &HttpInstance->RemoteIpv6Add= r); >=20 > - Tcp6Option =3D Tcp6CfgData->ControlOption; > - Tcp6Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > - Tcp6Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > - Tcp6Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; > - Tcp6Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; > - Tcp6Option->DataRetries =3D HTTP_DATA_RETRIES; > - Tcp6Option->FinTimeout =3D HTTP_FIN_TIMEOUT; > - Tcp6Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; > - Tcp6Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; > - Tcp6Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; > - Tcp6Option->EnableNagle =3D TRUE; > + Tcp6Option =3D Tcp6CfgData->ControlOption; > + Tcp6Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > + Tcp6Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > + Tcp6Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; > + Tcp6Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; > + Tcp6Option->DataRetries =3D HTTP_DATA_RETRIES; > + Tcp6Option->FinTimeout =3D HTTP_FIN_TIMEOUT; > + Tcp6Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; > + Tcp6Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; > + Tcp6Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; > + Tcp6Option->EnableNagle =3D TRUE; > + Tcp6Option->EnableWindowScaling =3D TRUE; >=20 > if ((HttpInstance->State =3D=3D HTTP_STATE_TCP_CONNECTED) || > (HttpInstance->State =3D=3D HTTP_STATE_TCP_CLOSED)) diff --git > a/NetworkPkg/HttpDxe/HttpProto.h b/NetworkPkg/HttpDxe/HttpProto.h index > 620eb39158..012f1f4b46 100644 > --- a/NetworkPkg/HttpDxe/HttpProto.h > +++ b/NetworkPkg/HttpDxe/HttpProto.h > @@ -37,7 +37,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // > #define HTTP_TOS_DEAULT 8 > #define HTTP_TTL_DEAULT 255 > -#define HTTP_BUFFER_SIZE_DEAULT 65535 > +#define HTTP_BUFFER_SIZE_DEAULT 0x200000 > #define HTTP_MAX_SYN_BACK_LOG 5 > #define HTTP_CONNECTION_TIMEOUT 60 > #define HTTP_DATA_RETRIES 12 > -- > 2.31.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108459): https://edk2.groups.io/g/devel/message/108459 Mute This Topic: https://groups.io/mt/100271527/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/19134562= 12/xyzzy [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-