From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
David Miller <davem@davemloft.net>,
Jesse Brandeburg <jesse.brandeburg@intel.com>,
netdev@vger.kernel.org, linux.nics@intel.com
Subject: Re: [linux-nics] [PATCH] ixgbe: Look up MAC address in Open Firmware
Date: Fri, 14 Nov 2014 13:40:15 -0800 [thread overview]
Message-ID: <1416001215.2478.8.camel@jtkirshe-mobl> (raw)
In-Reply-To: <yq1mw7tv8jq.fsf@sermon.lab.mkp.net>
[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]
On Fri, 2014-11-14 at 15:20 -0500, Martin K. Petersen wrote:
> >>>>> "Sergei" == Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> writes:
>
> >> +#ifdef CONFIG_OF
> >> + ixgbe_of_mac_addr(adapter);
> >> +#endif
>
> Sergei> Eww... why not define the following above instead:
>
> Sergei> #else
> Sergei> static inline void ixgbe_of_mac_addr(struct ixgbe_adapter
> Sergei> *adapter) {}
> Sergei> #endif
>
> I don't care much either way. But we might as well do this, then, and
> shave off an ifdef...
>
> commit 01e25f145972563ee87ebf85b7cb02a4ff8fce3b
> Author: Martin K. Petersen <martin.petersen@oracle.com>
> Date: Wed Nov 12 20:47:42 2014 -0500
>
> ixgbe: Look up MAC address in Open Firmware
>
> Attempt to look up the MAC address in Open Firmware on systems
> that
> support it. If the "local-mac-address" property is not valid
> resort to
> using the IDPROM value.
>
> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Was this meant to be a v2 patch??? Yikes!
Based on the feedback from Segei, Dave and Jesse. Dropping this patch
from my queue and will wait for a properly formatted v2 of this patch.
Please CC me on any future patches against any changes to
drivers/net/ethernet/intel/*
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2014-11-14 21:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 19:16 [PATCH] ixgbe: Look up MAC address in Open Firmware Martin K. Petersen
2014-11-14 19:26 ` [linux-nics] " Jeff Kirsher
2014-11-14 20:07 ` Sergei Shtylyov
2014-11-14 20:20 ` Martin K. Petersen
2014-11-14 21:11 ` Jesse Brandeburg
2014-11-14 21:40 ` Jeff Kirsher [this message]
2014-11-17 23:29 ` Rustad, Mark D
2014-11-14 21:25 ` David Miller
2014-11-14 22:23 ` Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1416001215.2478.8.camel@jtkirshe-mobl \
--to=jeffrey.t.kirsher@intel.com \
--cc=davem@davemloft.net \
--cc=jesse.brandeburg@intel.com \
--cc=linux.nics@intel.com \
--cc=martin.petersen@oracle.com \
--cc=netdev@vger.kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox