From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 7A621821C3 for ; Wed, 22 Feb 2017 19:21:08 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2017 19:21:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,197,1484035200"; d="scan'208";a="827461282" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 22 Feb 2017 19:21:07 -0800 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 22 Feb 2017 19:21:07 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 22 Feb 2017 19:21:07 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Thu, 23 Feb 2017 11:21:03 +0800 From: "Wu, Jiaxin" To: "Zhang, Lubo" , "edk2-devel@lists.01.org" CC: Sriram Subramanian , "Ye, Ting" , "Fu, Siyuan" Thread-Topic: [patch] MdeModulePkg: Update the Ethernet interface name. Thread-Index: AQHSjX4ZV2gzvYjCHUuIKXCMEHhd7qF16y3Q Date: Thu, 23 Feb 2017 03:21:02 +0000 Message-ID: <895558F6EA4E3B41AC93A00D163B72741629CF75@SHSMSX103.ccr.corp.intel.com> References: <1487817535-5500-1-git-send-email-lubo.zhang@intel.com> In-Reply-To: <1487817535-5500-1-git-send-email-lubo.zhang@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDk3MGNiNzktOTk5YS00ZmFhLWJkOTAtNDFkYWJkMDk1NmNkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImlRM0p5K0NSbWhqXC9xUFNSSzl6cGNPcGI4UG81OUx1RzZNVk1mQ2Y0S1B3PSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch] MdeModulePkg: Update the Ethernet interface name. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2017 03:21:08 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Wu Jiaxin Thanks, Jiaxin > -----Original Message----- > From: Zhang, Lubo > Sent: Thursday, February 23, 2017 10:39 AM > To: edk2-devel@lists.01.org > Cc: Sriram Subramanian ; Ye, Ting ; > Fu, Siyuan ; Wu, Jiaxin > Subject: [patch] MdeModulePkg: Update the Ethernet interface name. >=20 > Update the interface name from ethA ethB to > eth10, eth11 etc if port number more than 9. >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Zhang Lubo > Cc: Sriram Subramanian > Cc: Ye Ting > Cc: Fu Siyuan > Cc: Wu Jiaxin > --- > MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c > b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c > index a6a3da8..504f247 100644 > --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c > +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c > @@ -1493,11 +1493,11 @@ Ip4Config2InitIfInfo ( > ) > { > UnicodeSPrint ( > IfInfo->Name, > EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE, > - L"eth%x", > + L"eth%d", > IpSb->Ip4Config2Instance.IfIndex > ); >=20 > IfInfo->IfType =3D IpSb->SnpMode.IfType; > IfInfo->HwAddressSize =3D IpSb->SnpMode.HwAddressSize; > -- > 1.9.5.msysgit.1