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'
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.
From: Alexander Duyck <email@example.com>
Yes, that was the problem.
I thought it was dead obvious from the build failure message.
What else could a lack of visible vmalloc() declaration mean? :-/