From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 AFA04821BD for ; Wed, 22 Feb 2017 19:15:28 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2017 19:15:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,197,1484035200"; d="scan'208";a="69100297" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 22 Feb 2017 19:15:28 -0800 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 22 Feb 2017 19:15:28 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 22 Feb 2017 19:15:27 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by shsmsx102.ccr.corp.intel.com ([169.254.2.88]) with mapi id 14.03.0248.002; Thu, 23 Feb 2017 11:15:24 +0800 From: "Wu, Jiaxin" To: "Zhang, Lubo" , "edk2-devel@lists.01.org" CC: Sriram Subramanian , "Ye, Ting" , "Fu, Siyuan" Thread-Topic: [patch] NetworkPkg: Update the Ethernet interface name. Thread-Index: AQHSjX3+O+YB4tva0kady/yisYmTU6F16xpw Date: Thu, 23 Feb 2017 03:15:23 +0000 Message-ID: <895558F6EA4E3B41AC93A00D163B72741629CF50@SHSMSX103.ccr.corp.intel.com> References: <1487817517-3104-1-git-send-email-lubo.zhang@intel.com> In-Reply-To: <1487817517-3104-1-git-send-email-lubo.zhang@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzdiZjE0OWYtZWI3ZS00MzQ1LWJkNjgtNTRiNTMxY2Q0NTgyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ikp5QjAybjlzODZWS002Y2NLdGpqdVNWVlh2bXJLcVpiYW5XenBLemw0T0E9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch] NetworkPkg: 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:15:28 -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] NetworkPkg: 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 > --- > NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c > b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c > index e309b69..9287475 100644 > --- a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c > +++ b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c > @@ -1439,11 +1439,11 @@ Ip6ConfigInitIfInfo ( > ) > { > UnicodeSPrint ( > IfInfo->Name, > sizeof (IfInfo->Name), > - L"eth%x", > + L"eth%d", > IpSb->Ip6ConfigInstance.IfIndex > ); >=20 > IfInfo->IfType =3D IpSb->SnpMode.IfType; > IfInfo->HwAddressSize =3D IpSb->SnpMode.HwAddressSize; > -- > 1.9.5.msysgit.1