Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp948404img; Thu, 28 Feb 2019 10:23:20 -0800 (PST) X-Google-Smtp-Source: APXvYqw5nt8Y814GpnGgYmYL+r5xDsWX1aW7pQeuUNt/5lI32t1AfM0UqPnwXEpSoyD+T9sZWocG X-Received: by 2002:a17:902:586:: with SMTP id f6mr719509plf.185.1551378199926; Thu, 28 Feb 2019 10:23:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551378199; cv=none; d=google.com; s=arc-20160816; b=dfvKxI/dVCk/ydFNAvX567DVYEWbDf5jgleSX3aTpyUsPcjD4C2aJnmkSyFe4IyGEZ FPfL+MKFwYB6se9D0acG/RuqTk+3tumbrLnzuaSCdW21aUfzArpjWiGvj07YJJOph58Z ananIaWCMDxGVddgX81vpogo1fV0qz4a8KYw9eOmgPN/z+4Kkp5vs5WNykSE736j4mse Sr4746JUJX1a7iWcSfc+wrauU1bd998ST/xBUclkPZ/ycDPZuPZJQt9arMs2CO/EPkwN 8YWEjlXGT7pbkq2/PlEetLCXqAHQXmT5uxwGM73mT1JM7e50wZFle/iOFwoQSB7LlhZX A4/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uiqvDFGtN9RwTvkyIEUdFVUcB+fx0YHdTkh64l2PEQI=; b=GurstW7DyQyFNmjhW4wA3znYmra4Y4trtkYoXY0nE9t//xfwIkK4QkrBotGcwkgN7k mDe1hHBPU4MQZIluLNOtBPjNLZIghhFSkCl0WkxnV/AnoeBBBUjDn9WIgbHJkGIbp25r Aontb429C45GYnk96JjGw/AKfVyGUG5TV4Qs+0TcwLrKk8BVot6rpFW/QdwAsKyd4TxI D0gGepswhHrTBUSU5F9hLb/Ck/0tci0OckFTVCsBnD/RlAsiJoClniyTpFLVvjrQ9I5n FbmQLJlDlKfn6UcMp1yGx+iY1MyA1ongpUY2GWI/CABIyxKTiQzT0Sk0dtAxPLaJYRs6 lKNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=YLM1WEhe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 71si19002281plb.8.2019.02.28.10.23.04; Thu, 28 Feb 2019 10:23:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=YLM1WEhe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732249AbfB1Qhs (ORCPT + 99 others); Thu, 28 Feb 2019 11:37:48 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:41973 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726027AbfB1Qhs (ORCPT ); Thu, 28 Feb 2019 11:37:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=uiqvDFGtN9RwTvkyIEUdFVUcB+fx0YHdTkh64l2PEQI=; b=YLM1WEhexJ0Zy9dpL/NuqEZL4Z aWvAW1/N3qTmr5tL/zXrM5VivapG+mll0KCmYmaTM00m7HYMm348prM6FPuIzYwMIOEeny51KPDL1 eqUD8iq/oEFGjwOyFFNeOY5/KaJWWOpcqkjfBGZRyEid6JzP/iF2RAClNDduIFhQY+B0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1gzOgb-0004Ee-6H; Thu, 28 Feb 2019 17:37:29 +0100 Date: Thu, 28 Feb 2019 17:37:29 +0100 From: Andrew Lunn To: Flavio Suligoi Cc: Jeff Kirsher , "David S . Miller" , "intel-wired-lan@lists.osuosl.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v3] net: e1000e: add MAC address kernel cmd line parameter Message-ID: <20190228163729.GB17912@lunn.ch> References: <1551361135-404-1-git-send-email-f.suligoi@asem.it> <1551361951-1595-1-git-send-email-f.suligoi@asem.it> <20190228153245.GA17912@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Hi Andrew, > > we produce a lot of boards and we have to change the MAC address, > from u-boot, for every board. So I must save in the u-boot > environment (SPI NOR flash) the MAC address for every board. Hi Flavio u-boot should be able to write the MAC address in the correct part of device tree. Boards have been doing this a long time. Module parameters are considered bad. You should only do it if you have no other option. Here you do have another options, so it is going to be a hard sell getting David to access your patch. You will have more success by adding a call to eth_platform_get_mac_address() to the e1000e driver. Andrew