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.43; helo=mga05.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 1508421189FB9 for ; Fri, 2 Nov 2018 07:26:57 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2018 07:26:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,456,1534834800"; d="scan'208";a="86206845" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga007.jf.intel.com with ESMTP; 02 Nov 2018 07:26:57 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 2 Nov 2018 07:26:56 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 2 Nov 2018 07:26:56 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.117]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.214]) with mapi id 14.03.0415.000; Fri, 2 Nov 2018 22:26:54 +0800 From: "Gao, Liming" To: "Fu, Siyuan" , "edk2-devel@lists.01.org" , "ard.biesheuvel@linaro.org" , "leif.lindholm@linaro.org" , "afish@apple.com" , "Kinney, Michael D" CC: "Ni, Ruiyu" , "Wu, Jiaxin" , "Zeng, Star" , "Ye, Ting" Thread-Topic: Plan to move all network components to NetworkPkg Thread-Index: AdRyg1RchyD2ZYtMTFCRcmTnzFfumQANDaVw Date: Fri, 2 Nov 2018 14:26:54 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E364004@SHSMSX104.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTI0NWE3ZmMtNGY3MC00Zjg5LWIwYWQtYTMzMGM1ZjBiM2JiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiS3FLdW5oK0p3cThTVjFJMkUxZ25pUHlaaG5Qdys1amlOMFpoYW5oRDEreHZRVXd4bnlua3ZEbmtoWkxrSlwva08ifQ== 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 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: Fri, 02 Nov 2018 14:26:58 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Siyuan: Could you list the mapping between current location and new location of N= etwork IPv4 stack? It will be easy to be understood.=20 And, I prefer to change the platform DSC/FDF per each BZ. That means I ex= pect two commits in DSC/FDF. One is for BZ 1278, another is for 1293. The d= ifferent commit is for the different change.=20 Thanks Liming > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Fu= , Siyuan > Sent: Friday, November 2, 2018 4:10 PM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Wu, Jiaxin ; Zen= g, Star ; Ye, Ting > Subject: [edk2] Plan to move all network components to NetworkPkg >=20 > Hi, All >=20 > The edk2 Bugzilla #1278 "Delete IPv4 only TCP/iSCSI/PXE drivers in MdeMod= ulePkg" has been confirmed to be included in > edk2-stable201903 tag, so platform DSC/FDF need to be updated to adopt th= e change by that time. I think might be an opportunity > moment to make a little more - move all edk2 network related drivers/libr= aries into one single package - that what we want to do for a > long time. >=20 > In current edk2, the network stack components are located mainly in 2 dif= ferent places, the MdeModulePkg and NetworkPkg, due to > some historical reasons. The MdeModulePkg contains most of the IPv4 stack= drivers (in MdeModulePkg/Universal/Network directory), > and all the network libraries. The NetworkPkg contains all the IPv6 stack= drivers and also some dual stack drivers (like TcpDxe). The > PCDs related to network configuration are also defined in different packa= ges: PcdTftpBlockSize is in MdeModulePkg.dec and others are > in NetworkPkg.dec. There are also drivers in these 2 packages have a same= name (like UefiPxeBcDxe). >=20 > We can see these codes are not well organized, so I'd like to take this o= pportunity to change this situation, to move all network > components to NetworkPkg, which will make the edk2 network stack code eas= ier to use and maintain in the future. >=20 > I have created Bugzilla #1293 for this proposal, and I will send some pat= ches for the detail changes. I hope it could be done together > with #1278 so the platform only need to update their DSC/FDF file for one= time. Please let me know if you have any comments on this, > thanks. >=20 > https://bugzilla.tianocore.org/show_bug.cgi?id=3D1293 >=20 > BestRegards > Fu Siyuan >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel