From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=jiaxin.wu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D63DC21A02937 for ; Mon, 24 Sep 2018 18:12:14 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 18:12:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,300,1534834800"; d="scan'208";a="73420171" Received: from jiaxinwu-mobl.ccr.corp.intel.com ([10.239.192.155]) by fmsmga008.fm.intel.com with ESMTP; 24 Sep 2018 18:11:50 -0700 From: Jiaxin Wu To: edk2-devel@lists.01.org Cc: Ye Ting , Fu Siyuan , Carsey Jaben , Shao Ming , Laszlo Ersek , Wu Jiaxin Date: Tue, 25 Sep 2018 09:11:43 +0800 Message-Id: <20180925011145.14316-1-Jiaxin.wu@intel.com> X-Mailer: git-send-email 2.17.1.windows.2 Subject: [PATCH v2 0/5] Support windowsize to benefit tftp/pxe download performance. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2018 01:12:15 -0000 *v2: The first three patches(1/2/3) are the same with version 1, just update the last two patches (4/5): I) This patch has been discarded since we rename and redefine the PCD in NetworkPkg instead of MdeModulePkg. The replacement is: [PATCH v2 4/5] NetworkPkg: Define one PCD for PXE to specify MTFTP windowsize. II) Since the new PCD (PcdPxeTftpWindowSize) was renamed/defined in NetworkPkg instead of MdeModulePkg, we udpate the consuming PXE driver. The new version patch is: [PATCH v2 5/5] NetworkPkg/UefiPxeBcDxe: Use the specified MTFTP windowsize. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=886 The series patches are to support the TFTP windowsize option described in RFC 7440. TFTP shell command and UEFI PXE driver will use the feature to benefit the download performance. Cc: Ye Ting Cc: Fu Siyuan Cc: Carsey Jaben Cc: Shao Ming Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Wu Jiaxin Jiaxin Wu (5): MdeModulePke/Mtftp4Dxe: Support windowsize in read request operation. NetworkPkg/Mtftp6Dxe: Support windowsize in read request operation. ShellPkg/TftpDynamicCommand: Add one option for tftp command to specify windowsize. NetworkPkg: Define one PCD for PXE to specify MTFTP windowsize. NetworkPkg/UefiPxeBcDxe: Use the specified MTFTP windowsize. .../Universal/Network/Mtftp4Dxe/Mtftp4Impl.c | 5 + .../Universal/Network/Mtftp4Dxe/Mtftp4Impl.h | 10 ++ .../Network/Mtftp4Dxe/Mtftp4Option.c | 25 +++- .../Network/Mtftp4Dxe/Mtftp4Option.h | 8 +- .../Universal/Network/Mtftp4Dxe/Mtftp4Rrq.c | 55 +++++-- .../Network/Mtftp4Dxe/Mtftp4Support.c | 8 +- .../Network/Mtftp4Dxe/Mtftp4Support.h | 13 -- .../Universal/Network/Mtftp4Dxe/Mtftp4Wrq.c | 2 +- NetworkPkg/Mtftp6Dxe/Mtftp6Impl.h | 13 +- NetworkPkg/Mtftp6Dxe/Mtftp6Option.c | 22 ++- NetworkPkg/Mtftp6Dxe/Mtftp6Option.h | 14 +- NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c | 53 +++++-- NetworkPkg/Mtftp6Dxe/Mtftp6Support.c | 10 ++ NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c | 2 +- NetworkPkg/NetworkPkg.dec | 6 + NetworkPkg/NetworkPkg.uni | 6 + NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c | 10 +- NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.c | 137 +++++++++++++----- NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.h | 6 +- NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf | 3 + .../DynamicCommand/TftpDynamicCommand/Tftp.c | 65 +++++++-- .../TftpDynamicCommand/Tftp.uni | 6 +- 22 files changed, 371 insertions(+), 108 deletions(-) -- 2.17.1.windows.2