From: Alexander Duyck <alexander.h.duyck@intel.com>
To: "Zhao, Yu" <yu.zhao@intel.com>
Cc: "Kirsher, Jeffrey T" <jeffrey.t.kirsher@intel.com>,
David Miller <davem@davemloft.net>,
Matthew Wilcox <willy@linux.intel.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: igbvf: add new driver to support 82576 virtual functions
Date: Wed, 25 Mar 2009 09:10:48 -0700 [thread overview]
Message-ID: <49CA5788.2000402@intel.com> (raw)
In-Reply-To: <20090325094742.GA7760@yzhao-otc.sh.intel.com>
Zhao, Yu wrote:
> On Wed, Mar 25, 2009 at 05:03:29PM +0800, Kirsher, Jeffrey T wrote:
>> On Wed, Mar 25, 2009 at 1:45 AM, Jeff Kirsher
>> <jeffrey.t.kirsher@intel.com> wrote:
>>> On Tue, Mar 24, 2009 at 11:38 PM, David Miller <davem@davemloft.net> wrote:
>>>> This breaks the build:
>>>>
>>>> drivers/net/igbvf/ethtool.c: In function 'igbvf_set_ringparam':
>>>> drivers/net/igbvf/ethtool.c:299: error: implicit declaration of function 'vmalloc'
>>>> drivers/net/igbvf/ethtool.c:299: warning: assignment makes pointer from integer without a cast
>>>> drivers/net/igbvf/ethtool.c:346: error: implicit declaration of function 'vfree'
>>>> --
>>> Sorry Dave, I thought this was called out earlier, but I see it was
>>> not. The igbvf driver requires the following patches applied to your
>>> tree to have them compile. Last I heard, these SR-IOV patches were
>>> accepted for 2.6.30, in the PCI tree.
>>>
>>> Yu, can you confirm that these patches have been accepted for 2.6.30?
>>>
>>> Summary:
>>> http://marc.info/?l=linux-kernel&m=123751955907397&w=2
>>> Patches:
>>> http://marc.info/?l=linux-kernel&m=123751956107417&w=2
>>> http://marc.info/?l=linux-kernel&m=123751956207423&w=2
>>> http://marc.info/?l=linux-kernel&m=123751981407629&w=2
>>> http://marc.info/?l=linux-kernel&m=123751981507632&w=2
>>> http://marc.info/?l=linux-kernel&m=123751981707644&w=2
>>> http://marc.info/?l=linux-kernel&m=123751981607635&w=2
>>> http://marc.info/?l=linux-kernel&m=123751981607638&w=2
>>> http://marc.info/?l=linux-kernel&m=123751981707641&w=2
>> I confirmed that Jesse Barnes has these SR-IOV patches queued up for 2.6.30.
>> http://marc.info/?l=linux-kernel&m=123757169806111&w=2
>
> Yes, it's in Jesse's linux-next branch:
> http://git.kernel.org/?p=linux/kernel/git/jbarnes/pci-2.6.git;a=shortlog;h=linux-next
>
> Thanks,
> Yu
The problem isn't the SR-IOV patches it is a difference in
architectures. The x86/x86_64 architecture lets you be a bit more
sloppy when it comes to including vmalloc. I've seen it in the past
with igb, and I suspect that is why we didn't catch this in testing. We
just need to add a #include of vmalloc.h in ethtool.c and the issue
should be fixed.
Thanks,
Alex
next prev parent reply other threads:[~2009-03-25 16:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-25 6:38 igbvf: add new driver to support 82576 virtual functions David Miller
2009-03-25 8:45 ` Jeff Kirsher
2009-03-25 9:03 ` Jeff Kirsher
2009-03-25 9:47 ` Yu Zhao
2009-03-25 16:10 ` Alexander Duyck [this message]
2009-03-25 21:34 ` David Miller
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=49CA5788.2000402@intel.com \
--to=alexander.h.duyck@intel.com \
--cc=davem@davemloft.net \
--cc=jeffrey.t.kirsher@intel.com \
--cc=netdev@vger.kernel.org \
--cc=willy@linux.intel.com \
--cc=yu.zhao@intel.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;
as well as URLs for NNTP newsgroup(s).