From b1f11d71cb2e0483225572ae2703d6634a04933e Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Fri, 15 May 2020 10:50:20 +0800 Subject: ixgbevf: upgrade 4.6.3 -> 4.7.1 Use modules_install target and remove the depmod patch that shouldn't be required now. Signed-off-by: Anuj Mittal --- recipes-kernel/intel-ethernet/ixgbevf_4.7.1.bb | 42 ++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 recipes-kernel/intel-ethernet/ixgbevf_4.7.1.bb (limited to 'recipes-kernel/intel-ethernet/ixgbevf_4.7.1.bb') diff --git a/recipes-kernel/intel-ethernet/ixgbevf_4.7.1.bb b/recipes-kernel/intel-ethernet/ixgbevf_4.7.1.bb new file mode 100644 index 00000000..ecd974fe --- /dev/null +++ b/recipes-kernel/intel-ethernet/ixgbevf_4.7.1.bb @@ -0,0 +1,42 @@ +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 \ + " + +SRC_URI[sha256sum] = "82d71eb04da5556171b4d776c5de61466801068738363847ef68d964c3d4735d" + +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/" +UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P\d+(\.\d+)+)/" + +CVE_PRODUCT = "linux:linux_kernel_ixgbe" + +S = "${WORKDIR}/${BP}/src" + +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