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 32E90AC19B2 for ; Fri, 8 Sep 2023 20:55:07 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=YNbRFNQZ+44Lyzh4O+C9Y6mZZ07YR2Vl0O5yIE29Rps=; 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=1694206505; v=1; b=iUecr+baRKG7UfrNoUQ6SpHA+EDNrf57t7aYzj8xvqfEiMNa6J7Bn7bZqdNl+repazqjYdSe us3oLE6sn/DoqlD8guPaD3DlRA+cReo3B893Qj+woOELsgB0wGWwaUVretlZMfB5IOcFGs9NMet 4zWq9fUL6xs/gJqKjieZ0mQk= X-Received: by 127.0.0.2 with SMTP id 2sH1YY7687511xywEPXFcAWa; Fri, 08 Sep 2023 13:55:05 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.4557.1694206504982093401 for ; Fri, 08 Sep 2023 13:55:05 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10827"; a="376653587" X-IronPort-AV: E=Sophos;i="6.02,237,1688454000"; d="scan'208";a="376653587" X-Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2023 13:55:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10827"; a="692399886" X-IronPort-AV: E=Sophos;i="6.02,237,1688454000"; d="scan'208";a="692399886" X-Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga003.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 Sep 2023 13:55:04 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) 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 13:55:03 -0700 X-Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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 13:55:03 -0700 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.109) by edgegateway.intel.com (192.55.55.68) 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 13:55:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ibKIuU5QfgLCZLE5Gz2YKW+3H3obmDY3pA44dP7Vc9ogGSX1pKnwAkivqfcjB16TzJOWgZaAXkC8+xPlXLEY5QXk+QI04aqCRouLpX/tgcEtWnukZJjD9RF//7DlGd83uI/8PxiYm8QOwBM1IqD2xmEItkzKEq+AqhHUd6NtVHHsXb4g7sJSuy6Dram44ZLBiJxY7nhzmfXyyWcH6QHyYJNr72OtAi40Kx1BUTFxK70K38BM4wH2O3IFeg6vazXDOMd4uvDdNx2FV0r2HLJUa///bAiT1zYzu7gFmT3AZewQfqhxtRt8lc9wK5SLBOQufaHCf2tAia4lWiOjTUxQPg== 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=mARmWaKfgazXsBYtqM26OXihSbM/MdXmz1fiu9ZHzxo=; b=XoZ03OhDxOSSyS4wAiTlwqEjR3ZBlWcOaDXz8vE6t+bMCmu/f9dlpYz/V1LPTZnCCaQaYglbusLKhWIqS75FsBjGrcWnOezyxSPRUCrfh4fOCJ/XxI5O1gc3g6/DtO58UUCqBoIqKbumlDGYejhuJg2/KY79dQDU3q9p/LD57p1W5AweI1Q+HYkF11MYkC6b/KcTMT4JZI9vAC/wcTiREGDKNWbDrXrNG1wB0Q+buol/2gzrorKxBwfwk/IF1wgnZtOejn+vPL+2oYf3OOxyCo6zNOSwN/VclvBhkbQ2q24YDEBtwnoHXv7oKuTxxs4bfYU6u8zqp/8Yjd8F7PrIwg== 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 PH0PR11MB5577.namprd11.prod.outlook.com (2603:10b6:510:eb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.30; Fri, 8 Sep 2023 20:55:01 +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 20:55:01 +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+moyYeNyEU0uViKtQfi15bbARK3sggAA/zQA= Date: Fri, 8 Sep 2023 20:55:01 +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_|PH0PR11MB5577:EE_ x-ms-office365-filtering-correlation-id: 4cfed9ee-e5f0-46a9-29bb-08dbb0adde8a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: yqhCucgFj17gQOZ/GoX2rFwT/QrW/56X45q4//B1k7kbsSEtQ1RLWjivLzK0ymY8ezzi+30+Ul+jgANeNg8Vhu3wKJkW9Qwgs7agZNCAeKHUZQWaRgcN+/wqXLzrIRXbSJHjBlkkHlYXGtD/cQl12EDob0czGAEHxbh2RhTDT94fwgO9OdblrI80IP95JPv0Yn+BhD+tWEfG1BFc+VA2LorBDgwKaZHEtQlPsY23mZIY0Mo6dTCHzj8PtIAUW4fgC7WPaMo2XtwiNmHCqb+9v5x1olZ9CmWLQtavJ4Q+kTgA/mKMlRJ8Oyxnvdo7mePD71HnrAbcr2SNGqZTrMURbXX0ko/ncftytmNnZg8K/vjyuHgRj7BGrvA1WGaGQH46MvGKV4c5FGiGRmAfnMUKLSABiYbIo0cc9ZA+iIngjx7ZsH/msYI6R/MhRKiSECqfilIffVP66GBGHVzuwnWOL69PuPCKayadRW/aBlnGZbpVmALONqrOkWFVlcktjqR/GkBye93UeJsmA4wWzlzn9n5TJ/qlM1/OdJcr4g5xrVlrvlF1XyxzlPW6o5B4Z4W1M0NPuqdhEUBdb2XXKJxCmg1xa9zLRmmh/3eXkOuNz9FNDguQqKj/cOiAzvyi6uoNCT6V8HByqoj75vnbfM2DKQ== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5fMCoGl3JzoIyFryRSQoC97b05tqg8HN8SoYYt4zdDAeuJUEIpAvTsEkCB/C?= =?us-ascii?Q?n0Vtl5oSAgp+9uTWhGNDzK/weY/z+PtL/xDSJ8TgLYXCGLlzeYU6pWs7bxk8?= =?us-ascii?Q?uobcE2wzP5ve8sMeITJqtdWgLynJ0Cxf06vTsJuhXpmXi0Y/dvmiIQXv6Wyx?= =?us-ascii?Q?vEsaTKWoN9SZZNRSCr7LtvbTkp1Ro9r+gyiEoWaw+xe2AzHGRV+01vcgeyG+?= =?us-ascii?Q?3xhl+2UGjX/7xa7Bk69+7HVz0UaD5dQ5xdrKIa9JmiHEawtoySAA1ijfe0eN?= =?us-ascii?Q?lITDpmchfJVaXShBeCFzXdBz1ljONa3D+eOOSnKqF27iwBXr7LtOREGwTX2l?= =?us-ascii?Q?tirrHBPZW354adglffmXOnKmmeXJDwugJjrl2Fdm+gD//1gxO68+jnEqQbyb?= =?us-ascii?Q?2DfdEMIkiuiNQWmsUxyp8DVRqLlkTInnlKW/IjINl14oqOoElAtG5y0nBIS3?= =?us-ascii?Q?XVUi7CrqIPc1C/9nKGahmnF2Q3sw+hkUTB7N1vVSzMpdppknbBPMNaA615Xg?= =?us-ascii?Q?jQ4aXsU51uMwJDuMlQhKYbxVC0T7uI5hlaLmFlEwUtAgtFSG0mdiBjGggN5Q?= =?us-ascii?Q?xhjgl7BFz21X9bmp45dO05rat6MOyfXrxrPdEC7PgykQFLvl/FPvFIYHVD2/?= =?us-ascii?Q?mpgv1E2C6VwXiwFp8RQBuYlgbvX58Wrp3vvFCDWijE65Fix2u5J1Nv08VgS8?= =?us-ascii?Q?4BQkJ8UBP0tyQtQW5nyo7Hya873yyfjRDH4mRAY/VY53hERdy3Fe/IrdzRWL?= =?us-ascii?Q?vXD3gPzwxMzDtNKOb4lHUUu3+8N+5WzrQzaeT457osNDlfJwWugO3kG5Umad?= =?us-ascii?Q?+UJ+eJQLHZy4sVuPLg2k7/w/kRGVJAglYNO8eKwtlhqN3JrdIAFKnVi/tGTd?= =?us-ascii?Q?NY/Au2Z0j0W2fGyY+zVdhLK/F+4zjwf7qQlLNIkpbFkRVKOaEF3ndB/Qf11X?= =?us-ascii?Q?TNK81BFiDEuRD/5WPfTJBaseL7/WO7rOmpYLQDdpgoxru2BZtVgtFkasHLqC?= =?us-ascii?Q?m43zQysbXlmCK+WCmi+GcDHK41utLXP1G63qgGgY2rOiv5OcOYDAemPUrBFC?= =?us-ascii?Q?R46QFWitCTk+FVCwc1/PU5Of2a+bAtMX3ZTWP5UqYQBgHW8fvpkbFKqBmqgH?= =?us-ascii?Q?ZHckl3g90chmnpEAX3rqNpCxTJ/svZbfpJvz8lxSU5wjC6JYX0beRcHPHMgl?= =?us-ascii?Q?bcplponPpYYsN1Ci41OqeygI1Gm2nnjHSWdJhGxtKpNf05W70CRdGsF0KPOe?= =?us-ascii?Q?ZBGXCQL9EtjNxPiJzfJC0F3HE4Y0DEpiSUjVoGGwAc32HUNAokT/N4QMuNHO?= =?us-ascii?Q?aTFbbqJ7vntzCFDNx/BgbQPJhyzNp+gQpIYuYLJLMY1yg6M6qED4DHvBB5c6?= =?us-ascii?Q?1NyA9NKA65TxdbUuHKaE/rzVm28/f9dHCRrfkdKOlYV7ALb3N8QrS+8JdvUP?= =?us-ascii?Q?egncHtRUXvjsB6JA/CwNj39K4TKkSh5hr2Y+Hus4eHt4NiV5AVGFPcSk477L?= =?us-ascii?Q?7VMVEe0l6AU9Uip/OFfiXOLkjqSNM+rgpyKoSCbNSjzLzBSsSNxAB+9n4Mx0?= =?us-ascii?Q?apz8GA6hzJj248p2amqCLVJM9QdUCItLueM7cyWAT2SNkzkEyBLFQDRgu9k1?= =?us-ascii?Q?Ew=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: 4cfed9ee-e5f0-46a9-29bb-08dbb0adde8a X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2023 20:55:01.2474 (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: ydEqeJ6jkLdaZKHRtw9jCMWFfMdOaVEcnaTyxMGWRGCqmfA9i+8IBnrSUylierHKDTP50BD7gPAg57KJ8zw3LjpyeXMOOFH04uRCn1S3wnE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5577 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: nfswMS6HzPhWwYhpHgfHo71mx7686176AA= 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=iUecr+ba; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Merged: https://github.com/tianocore/edk2/commit/b240eab03530f063ef5438497d= 70a731b19a201e > -----Original Message----- > From: Kinney, Michael D > Sent: Friday, September 8, 2023 10:07 AM > To: Kasbekar, Saloni ; Li, Yi1 > ; devel@edk2.groups.io > Cc: Otcheretianski, Andrei ; Clark- > williams, Zachary ; Luo, Heng > ; Kinney, Michael D > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP > window scaling >=20 > Acked-by: Michael D Kinney >=20 > > -----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- > williams, > > Zachary ; Luo, Heng > > > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable T= CP > > window scaling > > > > Mike, > > > > Could you help us merge the patch? > > > > Thanks, > > Saloni > > > > -----Original Message----- > > From: Li, Yi1 > > Sent: Wednesday, September 6, 2023 1:52 AM > > To: Kasbekar, Saloni ; devel@edk2.groups.io > > Cc: Otcheretianski, Andrei ; Clark- > williams, > > Zachary ; Luo, Heng > > > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable T= CP > > window scaling > > > > Hi Saloni and Zachary, can you help to merge this patch? It got > reviewed-by > > but not check-in, Thanks! > > > > -----Original Message----- > > From: Kasbekar, Saloni > > Sent: Tuesday, July 25, 2023 12:18 PM > > To: Li, Yi1 ; devel@edk2.groups.io > > Cc: Otcheretianski, Andrei ; Clark- > williams, > > Zachary > > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable T= CP > > window scaling > > > > Reviewed-by: Saloni Kasbekar > > > > -----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 > window > > scaling > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4505 > > This gives something like ~3 fold throughput boost. > > > > 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(-) > > > > 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__ > > > > -#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 > > > > diff --git a/NetworkPkg/HttpDxe/HttpProto.c > b/NetworkPkg/HttpDxe/HttpProto.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)= ; > > > > - 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; > > > > if ((HttpInstance->State =3D=3D HTTP_STATE_TCP_CONNECTED) || > > (HttpInstance->State =3D=3D HTTP_STATE_TCP_CLOSED)) @@ -1156,17 > +1157,18 > > @@ HttpConfigureTcp6 ( > > IP6_COPY_ADDRESS (&Tcp6Ap->StationAddress, &HttpInstance- > > >Ipv6Node.LocalAddress); > > IP6_COPY_ADDRESS (&Tcp6Ap->RemoteAddress, &HttpInstance- > >RemoteIpv6Addr); > > > > - 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; > > > > 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 (#108462): https://edk2.groups.io/g/devel/message/108462 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-