Received: with ECARTIS (v1.0.0; list netdev); Fri, 03 Sep 2004 10:06:22 -0700 (PDT) Received: from ausc60pc101.us.dell.com (ausc60pc101.us.dell.com [143.166.85.206]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id i83H6H0F027153 for ; Fri, 3 Sep 2004 10:06:18 -0700 Received: from ausx2kcpc115.aus.amer.dell.com (10.166.84.69) by ausc60pc101.us.dell.com with ESMTP; 03 Sep 2004 12:06:05 -0500 X-Ironport-AV: i="3.84,129,1091422800"; d="scan'208"; a="84464312:sNHT20663774" X-MimeOLE: Produced By Microsoft Exchange V6.0.6527.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: ioctl() to get MAC address from EEPROM Date: Fri, 3 Sep 2004 12:06:02 -0500 Message-ID: <06226F23984D7A49A694576CF06603F908BBCC@ausx2kmpc106.aus.amer.dell.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ioctl() to get MAC address from EEPROM Thread-Index: AcSR2EpqqtgahXMFRfmmyUt8DI/YOw== From: To: X-OriginalArrivalTime: 03 Sep 2004 17:06:03.0956 (UTC) FILETIME=[4B8AAF40:01C491D8] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id i83H6H0F027153 X-archive-position: 8383 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: Rezwanul_Kabir@Dell.com Precedence: bulk X-list: netdev Hi There seems to be no standard way to retrieve the MAC address of a NIC stored in the EEPROM ( ETHTOOL_GEEPROM ioctl may be used to do such thing but there's a need for a more direct standard interface).This is sometimes necessary when the MAC address in EEPROM may differ from the one associated with the software interface (i.e. dev_addr in struct net_device).For example, in some modes of channel bonding , the MAC address of the active NIC is duplicated on the rest of the members of the specific bond/team. How to fetch the "permanent" MAC address in this case? Any plan to include such commands in ethtool ioctls? Is there a better way to do this? Any suggestions would be appreciated.. Thanks.. --rez