From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.100; helo=mga07.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 863ED2117B56E for ; Sun, 4 Nov 2018 21:26:15 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Nov 2018 21:26:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,466,1534834800"; d="scan'208,217";a="105286869" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 04 Nov 2018 21:26:14 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 4 Nov 2018 21:26:13 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 4 Nov 2018 21:26:13 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.84]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.117]) with mapi id 14.03.0415.000; Mon, 5 Nov 2018 13:26:11 +0800 From: "Zeng, Star" To: "Ni, Ruiyu" , "Fu, Siyuan" , "edk2-devel@lists.01.org" CC: "Wang, Jian J" , "Wu, Jiaxin" , "Ye, Ting" , "Zeng, Star" Thread-Topic: Plan to move all network components to NetworkPkg Thread-Index: AdRyg1RchyD2ZYtMTFCRcmTnzFfumQCKucSgAAZqNHA= Date: Mon, 5 Nov 2018 05:26:10 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB048310401E9E14@shsmsx102.ccr.corp.intel.com> References: <734D49CCEBEEF84792F5B80ED585239D5BEF0D71@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <734D49CCEBEEF84792F5B80ED585239D5BEF0D71@SHSMSX104.ccr.corp.intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTMwZmNjOTktOTAwYy00Yjc2LWExMWQtNjVhMTRkNTA1MjQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZG5aQnp0XC9IQmQ3eDZlNE9rQ29ick8wK2FTMW5xSjJQSW4wOTZtS3hDamJDS3RYZjhNaGc3R0MyUlwvKzZ6dXc5In0= dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: Plan to move all network components to NetworkPkg 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: Mon, 05 Nov 2018 05:26:16 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable We'd better also moving the header file (in Guid and Library directory), li= brary instances and PCDs. Thanks, Star From: Ni, Ruiyu Sent: Monday, November 5, 2018 10:22 AM To: Fu, Siyuan ; edk2-devel@lists.01.org Cc: Zeng, Star ; Wang, Jian J ;= Wu, Jiaxin ; Ye, Ting Subject: RE: Plan to move all network components to NetworkPkg Siyuan, This is a good idea. Will the driver name be changed after the location cha= nge? Or as Liming suggested, maybe you could provide a text format director= y tree layout to show what the final NetworkPkg is like. Thanks/Ray From: Fu, Siyuan Sent: Friday, November 2, 2018 4:10 PM To: edk2-devel@lists.01.org Cc: Zeng, Star >; Wang, Jia= n J >; Ni, Ruiyu >; Wu, Jiaxin >; Ye, Ting > Subject: Plan to move all network components to NetworkPkg Hi, All The edk2 Bugzilla #1278 "Delete IPv4 only TCP/iSCSI/PXE drivers in MdeModul= ePkg" has been confirmed to be included in edk2-stable201903 tag, so platfo= rm DSC/FDF need to be updated to adopt the change by that time. I think mig= ht be an opportunity moment to make a little more - move all edk2 network r= elated drivers/libraries into one single package - that what we want to do = for a long time. In current edk2, the network stack components are located mainly in 2 diffe= rent places, the MdeModulePkg and NetworkPkg, due to some historical reason= s. The MdeModulePkg contains most of the IPv4 stack drivers (in MdeModulePk= g/Universal/Network directory), and all the network libraries. The NetworkP= kg contains all the IPv6 stack drivers and also some dual stack drivers (li= ke TcpDxe). The PCDs related to network configuration are also defined in d= ifferent packages: PcdTftpBlockSize is in MdeModulePkg.dec and others are i= n NetworkPkg.dec. There are also drivers in these 2 packages have a same na= me (like UefiPxeBcDxe). We can see these codes are not well organized, so I'd like to take this opp= ortunity to change this situation, to move all network components to Networ= kPkg, which will make the edk2 network stack code easier to use and maintai= n in the future. I have created Bugzilla #1293 for this proposal, and I will send some patch= es for the detail changes. I hope it could be done together with #1278 so t= he platform only need to update their DSC/FDF file for one time. Please let= me know if you have any comments on this, thanks. https://bugzilla.tianocore.org/show_bug.cgi?id=3D1293 BestRegards Fu Siyuan