From a2833dd03052a83d4230b543ae5491925d65f847 Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Mon, 18 Feb 2019 14:40:30 +0800 Subject: ixgbevf: upgrade 4.3.6 -> 4.5.2 For changes, please see: https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/4.5.2/ License checksum changed because of formatting related changes. Signed-off-by: Naveen Saini Signed-off-by: Anuj Mittal --- ...Makefile-check-for-CONFIG_IXGBEVF-instead.patch | 27 ------------- recipes-kernel/intel-ethernet/ixgbevf_4.3.6.bb | 44 ---------------------- recipes-kernel/intel-ethernet/ixgbevf_4.5.2.bb | 43 +++++++++++++++++++++ 3 files changed, 43 insertions(+), 71 deletions(-) delete mode 100644 recipes-kernel/intel-ethernet/ixgbevf/0001-Makefile-check-for-CONFIG_IXGBEVF-instead.patch delete mode 100644 recipes-kernel/intel-ethernet/ixgbevf_4.3.6.bb create mode 100644 recipes-kernel/intel-ethernet/ixgbevf_4.5.2.bb (limited to 'recipes-kernel/intel-ethernet') diff --git a/recipes-kernel/intel-ethernet/ixgbevf/0001-Makefile-check-for-CONFIG_IXGBEVF-instead.patch b/recipes-kernel/intel-ethernet/ixgbevf/0001-Makefile-check-for-CONFIG_IXGBEVF-instead.patch deleted file mode 100644 index 49a59496..00000000 --- a/recipes-kernel/intel-ethernet/ixgbevf/0001-Makefile-check-for-CONFIG_IXGBEVF-instead.patch +++ /dev/null @@ -1,27 +0,0 @@ -From b1d7f46442e50458311573443a5c78637874f62b Mon Sep 17 00:00:00 2001 -From: Anuj Mittal -Date: Thu, 12 Apr 2018 11:46:15 +0800 -Subject: [PATCH] Makefile: check for CONFIG_IXGBEVF instead - -Check for the correct config, otherwise it won't build with kbuild. - -Upstream-Status: Pending - -Signed-off-by: Anuj Mittal ---- - src/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 968ef5e..e3cb81b 100644 ---- a/Makefile -+++ b/Makefile -@@ -28,7 +28,7 @@ ifneq ($(KERNELRELEASE),) - # Makefile for the Intel(R) 10GbE PCI Express Virtual Function Driver - # - --obj-$(CONFIG_IXGBE) += ixgbevf.o -+obj-$(CONFIG_IXGBEVF) += ixgbevf.o - - define ixgbevf-y - ixgbevf_main.o diff --git a/recipes-kernel/intel-ethernet/ixgbevf_4.3.6.bb b/recipes-kernel/intel-ethernet/ixgbevf_4.3.6.bb deleted file mode 100644 index 824c371e..00000000 --- a/recipes-kernel/intel-ethernet/ixgbevf_4.3.6.bb +++ /dev/null @@ -1,44 +0,0 @@ -SUMMARY="ixgbevf kernel driver for Intel Magnolia Park 10GbE" -DESCRIPTION="This virtual function driver supports kernel versions 2.6.x and newer \ -This driver supports 82599, X540, X550, and X552-based virtual function devices \ -that can only be activated on kernels that support SR-IOV. \ -SR-IOV requires the correct platform and OS support. \ -The guest OS loading this driver must support MSI-X interrupts." - -HOMEPAGE = "https://sourceforge.net/projects/e1000/" -SECTION = "kernel/network" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \ - file://0001-ixgbevf-skip-host-depmod.patch \ - file://0001-Makefile-check-for-CONFIG_IXGBEVF-instead.patch \ - " - -SRC_URI[md5sum] = "fc53be00bf5e71939a9a39e9802d5b77" -SRC_URI[sha256sum] = "61ac4e93808fa4316b044bae40f2a1dc40e4d9ae9a1785a753cdfc79b515d695" - -UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/" -UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P\d+(\.\d+)+)/" - -S = "${WORKDIR}/${BP}/src" -MODULES_INSTALL_TARGET = "install" - -EXTRA_OEMAKE='KSRC="${STAGING_KERNEL_BUILDDIR}" KVER="${KERNEL_VERSION}" INSTALL_MOD_PATH="${D}"' - -KERNEL_MODULE_AUTOLOAD_append_intel-core2-32 = " ixgbevf" -KERNEL_MODULE_AUTOLOAD_append_intel-corei7-64 = " ixgbevf" - -inherit module - -do_install_append () { - # Install scripts/set_irq_affinity - install -d ${D}${sysconfdir}/network - install -m 0755 ${S}/../scripts/set_irq_affinity ${D}${sysconfdir}/network - - rm -rf ${D}${prefix}/man -} - -PACKAGES += "${PN}-script" - -FILES_${PN}-script += "${sysconfdir}/network/set_irq_affinity" diff --git a/recipes-kernel/intel-ethernet/ixgbevf_4.5.2.bb b/recipes-kernel/intel-ethernet/ixgbevf_4.5.2.bb new file mode 100644 index 00000000..ee55aa3e --- /dev/null +++ b/recipes-kernel/intel-ethernet/ixgbevf_4.5.2.bb @@ -0,0 +1,43 @@ +SUMMARY="ixgbevf kernel driver for Intel Magnolia Park 10GbE" +DESCRIPTION="This virtual function driver supports kernel versions 2.6.x and newer \ +This driver supports 82599, X540, X550, and X552-based virtual function devices \ +that can only be activated on kernels that support SR-IOV. \ +SR-IOV requires the correct platform and OS support. \ +The guest OS loading this driver must support MSI-X interrupts." + +HOMEPAGE = "https://sourceforge.net/projects/e1000/" +SECTION = "kernel/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" + +SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \ + file://0001-ixgbevf-skip-host-depmod.patch \ + " + +SRC_URI[md5sum] = "5f6d8fd847ccd00a9a8be9a1f989a56b" +SRC_URI[sha256sum] = "5b1d5b6b511b2d2c337b02d0f058fed8036ccbe5097460e60d367808d42bc304" + +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/" +UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P\d+(\.\d+)+)/" + +S = "${WORKDIR}/${BP}/src" +MODULES_INSTALL_TARGET = "install" + +EXTRA_OEMAKE='KSRC="${STAGING_KERNEL_BUILDDIR}" KVER="${KERNEL_VERSION}" INSTALL_MOD_PATH="${D}"' + +KERNEL_MODULE_AUTOLOAD_append_intel-core2-32 = " ixgbevf" +KERNEL_MODULE_AUTOLOAD_append_intel-corei7-64 = " ixgbevf" + +inherit module + +do_install_append () { + # Install scripts/set_irq_affinity + install -d ${D}${sysconfdir}/network + install -m 0755 ${S}/../scripts/set_irq_affinity ${D}${sysconfdir}/network + + rm -rf ${D}${prefix}/man +} + +PACKAGES += "${PN}-script" + +FILES_${PN}-script += "${sysconfdir}/network/set_irq_affinity" -- cgit v1.2.3-54-g00ecf