[pve-devel] [PATCH kernel 10/17] update ixgbe to 5.0.4

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Mar 6 10:31:31 CET 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 Makefile           |   6 ++----
 ixgbe-4.4.6.tar.gz | Bin 434678 -> 0 bytes
 ixgbe-5.0.4.tar.gz | Bin 0 -> 454820 bytes
 3 files changed, 2 insertions(+), 4 deletions(-)
 delete mode 100644 ixgbe-4.4.6.tar.gz
 create mode 100644 ixgbe-5.0.4.tar.gz

diff --git a/Makefile b/Makefile
index e72e496..31501ab 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ E1000ESRC=${E1000EDIR}.tar.gz
 IGBDIR=igb-5.3.5.3
 IGBSRC=${IGBDIR}.tar.gz
 
-IXGBEDIR=ixgbe-4.4.6
+IXGBEDIR=ixgbe-5.0.4
 IXGBESRC=${IXGBEDIR}.tar.gz
 
 # does not compile with kernel 3.19.8
@@ -298,9 +298,7 @@ ixgbe.ko ixgbe: .compile_mark ${IXGBESRC}
 	rm -rf ${IXGBEDIR}
 	tar xf ${IXGBESRC}
 	[ ! -e /lib/modules/${KVNAME}/build ] || rm /lib/modules/${KVNAME}/build
-	# HACK: for kernel < 4.6, we need to set UTS_UBUNTU_RELEASE_ABI manually
-	# to make it compile
-	cd ${IXGBEDIR}/src; make CFLAGS_EXTRA="-DIXGBE_NO_LRO -DUTS_UBUNTU_RELEASE_ABI=22" BUILD_KERNEL=${KVNAME} KSRC=${TOP}/${KERNEL_SRC}
+	cd ${IXGBEDIR}/src; make CFLAGS_EXTRA="-DIXGBE_NO_LRO" BUILD_KERNEL=${KVNAME} KSRC=${TOP}/${KERNEL_SRC}
 	cp ${IXGBEDIR}/src/ixgbe.ko ixgbe.ko
 
 i40e.ko i40e: .compile_mark ${I40ESRC}
diff --git a/ixgbe-4.4.6.tar.gz b/ixgbe-4.4.6.tar.gz
deleted file mode 100644
index cf504ca..0000000
Binary files a/ixgbe-4.4.6.tar.gz and /dev/null differ
diff --git a/ixgbe-5.0.4.tar.gz b/ixgbe-5.0.4.tar.gz
new file mode 100644
index 0000000..41f5f2d
Binary files /dev/null and b/ixgbe-5.0.4.tar.gz differ
-- 
2.1.4





More information about the pve-devel mailing list