Hi,
When trying to build the 4.1.5 ixgbe drivers i get the following:
sudo make
make -C /lib/modules/4.3.0-040300-generic/build SUBDIRS=/var/tmp/ixgbe-4.1.5/src modules
make[1]: Entering directory `/usr/src/linux-headers-4.3.0-040300-generic'
CC [M] /var/tmp/ixgbe-4.1.5/src/ixgbe_main.o
In file included from /var/tmp/ixgbe-4.1.5/src/ixgbe_osdep.h:38:0,
from /var/tmp/ixgbe-4.1.5/src/ixgbe_type.h:66,
from /var/tmp/ixgbe-4.1.5/src/ixgbe_dcb.h:28,
from /var/tmp/ixgbe-4.1.5/src/ixgbe.h:49,
from /var/tmp/ixgbe-4.1.5/src/ixgbe_main.c:51:
/var/tmp/ixgbe-4.1.5/src/kcompat.h:756:2: error: #error UTS_UBUNTU_RELEASE_ABI is too large...
#error UTS_UBUNTU_RELEASE_ABI is too large...
^
make[2]: *** [/var/tmp/ixgbe-4.1.5/src/ixgbe_main.o] Error 1
make[1]: *** [_module_/var/tmp/ixgbe-4.1.5/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-4.3.0-040300-generic'
make: *** [default] Error 2
any hints on how to solve this?
I am running:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
uname -r
4.3.0-040300-generic
Thanks
[EDIT] ok so maybe this is due to the fact that on ixgbe 4.1.5 release notes it tells us:
"This is the most current release of the ixgbe driver for Linux, which supports kernel versions 2.6.18 up through 4.2.1."
And my ubuntu is on 4.3.0 stable kernel.
Taking in account also this output:
jfeteira@ubuntukvm:~$ modinfo ixgbe
filename: /lib/modules/4.3.0-040300-generic/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
version: 4.0.1-k
I am guessing that my ixgbe driver is still on 4.0.1, so to upgrade to 4.1.5 I have to downgrade my kernel to 4.2.1 correct?
The reason I want to have this latest kernel and ixgbe version is due to the support for SR-IOV and VXLAN.
[EDIT2] just tried with kernel 4.2.5, 4.2.3 and 4.2.1 and same error while compiling :s
Thanks