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.115; helo=mga14.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 2F41521A02937 for ; Sun, 4 Nov 2018 18:21:46 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Nov 2018 18:21:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,466,1534834800"; d="scan'208,217";a="278304143" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 04 Nov 2018 18:21:45 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 4 Nov 2018 18:21:45 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.117]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.161]) with mapi id 14.03.0415.000; Mon, 5 Nov 2018 10:21:43 +0800 From: "Ni, Ruiyu" To: "Fu, Siyuan" , "edk2-devel@lists.01.org" CC: "Zeng, Star" , "Wang, Jian J" , "Wu, Jiaxin" , "Ye, Ting" Thread-Topic: Plan to move all network components to NetworkPkg Thread-Index: AdRyg1RchyD2ZYtMTFCRcmTnzFfumQCKucSg Date: Mon, 5 Nov 2018 02:21:43 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5BEF0D71@SHSMSX104.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 02:21:46 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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, Jian 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