From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 22 Sep 2010 19:22:28 +0000 Subject: Re: [PATCH] Use firmware provided index to register a network Message-Id: <20100922192228.GB29899@kroah.com> List-Id: References: <20100922183137.GA7607@auslistsprd01.us.dell.com> In-Reply-To: <20100922183137.GA7607@auslistsprd01.us.dell.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Narendra K Cc: netdev@vger.kernel.org, linux-hotplug@vger.kernel.org, linux-pci@vger.kernel.org, matt_domsch@dell.com, charles_rose@dell.com, jordan_hargrave@dell.com, vijay_nijhawan@dell.com On Wed, Sep 22, 2010 at 01:31:38PM -0500, Narendra K wrote: > Hello, > > Here is another approach to address the issue of "eth0 does not always > map to the Integrated NIC Port 1 as denoted on server chassis label". > For more details please refer to the thread - > http://marc.info/?l=linux-netdev&m8163454631618&w=3. > > Patch makes use of the firmware provided index to derive ethN names. > That way the naming scheme adheres to the existing requirements of > ethN namespace and with IFNAMSIZ length. Ick, again, what's wrong with using udev for this as it is designed to? That way no kernel changes are needed, and no one has to rely on the BIOS getting the firmware number right (meaning it will work on all types of systems.) thanks, greg k-h