public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [patch] NetworkPkg: Update the Ethernet interface name.
@ 2017-02-23  2:38 Zhang Lubo
  2017-02-23  3:00 ` Fu, Siyuan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zhang Lubo @ 2017-02-23  2:38 UTC (permalink / raw)
  To: edk2-devel; +Cc: Sriram Subramanian, Ye Ting, Fu Siyuan, Wu Jiaxin

Update the interface name from ethA ethB to
eth10, eth11 etc if port number more than 9.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Cc: Sriram Subramanian <sriram-s@hpe.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
---
 NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
   );
 
   IfInfo->IfType        = IpSb->SnpMode.IfType;
   IfInfo->HwAddressSize = IpSb->SnpMode.HwAddressSize;
-- 
1.9.5.msysgit.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [patch] NetworkPkg: Update the Ethernet interface name.
  2017-02-23  2:38 [patch] NetworkPkg: Update the Ethernet interface name Zhang Lubo
@ 2017-02-23  3:00 ` Fu, Siyuan
  2017-02-23  3:15 ` Wu, Jiaxin
  2017-02-23  3:38 ` Subramanian, Sriram
  2 siblings, 0 replies; 4+ messages in thread
From: Fu, Siyuan @ 2017-02-23  3:00 UTC (permalink / raw)
  To: Zhang, Lubo, edk2-devel@lists.01.org
  Cc: Sriram Subramanian, Ye, Ting, Wu, Jiaxin

Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>



-----Original Message-----
From: Zhang, Lubo 
Sent: 2017年2月23日 10:39
To: edk2-devel@lists.01.org
Cc: Sriram Subramanian <sriram-s@hpe.com>; Ye, Ting <ting.ye@intel.com>; Fu, Siyuan <siyuan.fu@intel.com>; Wu, Jiaxin <jiaxin.wu@intel.com>
Subject: [patch] NetworkPkg: Update the Ethernet interface name.

Update the interface name from ethA ethB to eth10, eth11 etc if port number more than 9.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Cc: Sriram Subramanian <sriram-s@hpe.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
---
 NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
   );
 
   IfInfo->IfType        = IpSb->SnpMode.IfType;
   IfInfo->HwAddressSize = IpSb->SnpMode.HwAddressSize;
--
1.9.5.msysgit.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [patch] NetworkPkg: Update the Ethernet interface name.
  2017-02-23  2:38 [patch] NetworkPkg: Update the Ethernet interface name Zhang Lubo
  2017-02-23  3:00 ` Fu, Siyuan
@ 2017-02-23  3:15 ` Wu, Jiaxin
  2017-02-23  3:38 ` Subramanian, Sriram
  2 siblings, 0 replies; 4+ messages in thread
From: Wu, Jiaxin @ 2017-02-23  3:15 UTC (permalink / raw)
  To: Zhang, Lubo, edk2-devel@lists.01.org
  Cc: Sriram Subramanian, Ye, Ting, Fu, Siyuan

Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>


Thanks,
Jiaxin

> -----Original Message-----
> From: Zhang, Lubo
> Sent: Thursday, February 23, 2017 10:39 AM
> To: edk2-devel@lists.01.org
> Cc: Sriram Subramanian <sriram-s@hpe.com>; Ye, Ting <ting.ye@intel.com>;
> Fu, Siyuan <siyuan.fu@intel.com>; Wu, Jiaxin <jiaxin.wu@intel.com>
> Subject: [patch] NetworkPkg: Update the Ethernet interface name.
> 
> Update the interface name from ethA ethB to
> eth10, eth11 etc if port number more than 9.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
> Cc: Sriram Subramanian <sriram-s@hpe.com>
> Cc: Ye Ting <ting.ye@intel.com>
> Cc: Fu Siyuan <siyuan.fu@intel.com>
> Cc: Wu Jiaxin <jiaxin.wu@intel.com>
> ---
>  NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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
>    );
> 
>    IfInfo->IfType        = IpSb->SnpMode.IfType;
>    IfInfo->HwAddressSize = IpSb->SnpMode.HwAddressSize;
> --
> 1.9.5.msysgit.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch] NetworkPkg: Update the Ethernet interface name.
  2017-02-23  2:38 [patch] NetworkPkg: Update the Ethernet interface name Zhang Lubo
  2017-02-23  3:00 ` Fu, Siyuan
  2017-02-23  3:15 ` Wu, Jiaxin
@ 2017-02-23  3:38 ` Subramanian, Sriram
  2 siblings, 0 replies; 4+ messages in thread
From: Subramanian, Sriram @ 2017-02-23  3:38 UTC (permalink / raw)
  To: Zhang Lubo, edk2-devel@lists.01.org; +Cc: Ye Ting, Fu Siyuan, Wu Jiaxin

Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>

-----Original Message-----
From: Zhang Lubo [mailto:lubo.zhang@intel.com] 
Sent: Thursday, February 23, 2017 8:09 AM
To: edk2-devel@lists.01.org
Cc: Subramanian, Sriram <sriram-s@hpe.com>; Ye Ting <ting.ye@intel.com>; Fu Siyuan <siyuan.fu@intel.com>; Wu Jiaxin <jiaxin.wu@intel.com>
Subject: [patch] NetworkPkg: Update the Ethernet interface name.

Update the interface name from ethA ethB to
eth10, eth11 etc if port number more than 9.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Cc: Sriram Subramanian <sriram-s@hpe.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
---
 NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
   );
 
   IfInfo->IfType        = IpSb->SnpMode.IfType;
   IfInfo->HwAddressSize = IpSb->SnpMode.HwAddressSize;
-- 
1.9.5.msysgit.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-23  3:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-23  2:38 [patch] NetworkPkg: Update the Ethernet interface name Zhang Lubo
2017-02-23  3:00 ` Fu, Siyuan
2017-02-23  3:15 ` Wu, Jiaxin
2017-02-23  3:38 ` Subramanian, Sriram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox