From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH RESEND v7] i40e: Look up MAC address in Open Firmware or IDPROM
Date: Sat, 5 Dec 2015 15:38:25 -0500 [thread overview]
Message-ID: <20151205203825.GA8283@oracle.com> (raw)
In-Reply-To: <CAP-MU4NdnTH1gj++ZH34NcHvjLjeRFy2=qchORSqP=+G4TjHQg@mail.gmail.com>
On (12/04/15 17:40), Shannon Nelson wrote:
>
> I'd write this just a little differently to match the rest of the driver:
>
> ret = i40e_aq_add_macvlan(&vsi->back->hw, vsi->seid, &element, 1, NULL);
> if (!ret) {
You mean if (ret), right? (i.e., ret == 0 is success)
> dev_info(&vsi->back->pdev->dev,
> "add filter failed err %s aq_err %s\n",
BTW, there are some other places in that file where the return
status form i40e_aq_add_macvlan() is ignored, which makes this a bit
confusing ..
:
:
> > +{
> > + struct device_node *dp = pci_device_to_OF_node(pdev);
>
> This gives me a compile warning, probably because I don't have
> CONFIG_OF enabled.
Odd, what sort of compile warning? I dont see that on my x86
machine (and I dont have CONFIG_OF either), and kbuild-test-robot
did not catch that either, afaict. Perhaps you are missing some
include files?
Without the dp definition, of_get_mac_address() further below
will not find a "dp".
Rest of the comments are addressed in v8 that I just sent out.
--Sowmini
WARNING: multiple messages have this Message-ID (diff)
From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: Shannon Nelson <shannon.nelson@intel.com>
Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,
Jeff Kirsher <jeffrey.t.kirsher@intel.com>,
Jesse Brandeburg <jesse.brandeburg@intel.com>,
carolyn.wyborny@intel.com, donald.c.skidmore@intel.com,
matthew.vick@intel.com, john.ronciak@intel.com,
mitch.a.williams@intel.com, andy.shevchenko@gmail.com
Subject: Re: [PATCH RESEND v7] i40e: Look up MAC address in Open Firmware or IDPROM
Date: Sat, 5 Dec 2015 15:38:25 -0500 [thread overview]
Message-ID: <20151205203825.GA8283@oracle.com> (raw)
In-Reply-To: <CAP-MU4NdnTH1gj++ZH34NcHvjLjeRFy2=qchORSqP=+G4TjHQg@mail.gmail.com>
On (12/04/15 17:40), Shannon Nelson wrote:
>
> I'd write this just a little differently to match the rest of the driver:
>
> ret = i40e_aq_add_macvlan(&vsi->back->hw, vsi->seid, &element, 1, NULL);
> if (!ret) {
You mean if (ret), right? (i.e., ret == 0 is success)
> dev_info(&vsi->back->pdev->dev,
> "add filter failed err %s aq_err %s\n",
BTW, there are some other places in that file where the return
status form i40e_aq_add_macvlan() is ignored, which makes this a bit
confusing ..
:
:
> > +{
> > + struct device_node *dp = pci_device_to_OF_node(pdev);
>
> This gives me a compile warning, probably because I don't have
> CONFIG_OF enabled.
Odd, what sort of compile warning? I dont see that on my x86
machine (and I dont have CONFIG_OF either), and kbuild-test-robot
did not catch that either, afaict. Perhaps you are missing some
include files?
Without the dp definition, of_get_mac_address() further below
will not find a "dp".
Rest of the comments are addressed in v8 that I just sent out.
--Sowmini
next prev parent reply other threads:[~2015-12-05 20:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-04 16:24 [Intel-wired-lan] [PATCH RESEND v7] i40e: Look up MAC address in Open Firmware or IDPROM Sowmini Varadhan
2015-12-04 16:24 ` Sowmini Varadhan
2015-12-05 1:40 ` [Intel-wired-lan] " Shannon Nelson
2015-12-05 1:40 ` Shannon Nelson
2015-12-05 20:38 ` Sowmini Varadhan [this message]
2015-12-05 20:38 ` Sowmini Varadhan
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=20151205203825.GA8283@oracle.com \
--to=sowmini.varadhan@oracle.com \
--cc=intel-wired-lan@osuosl.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.