diff options
Diffstat (limited to 'recipes-kernel/intel-ethernet/ixgbevf_4.16.5.bb')
-rw-r--r-- | recipes-kernel/intel-ethernet/ixgbevf_4.16.5.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes-kernel/intel-ethernet/ixgbevf_4.16.5.bb b/recipes-kernel/intel-ethernet/ixgbevf_4.16.5.bb new file mode 100644 index 00000000..0c6c1301 --- /dev/null +++ b/recipes-kernel/intel-ethernet/ixgbevf_4.16.5.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | SUMMARY="ixgbevf kernel driver for Intel Magnolia Park 10GbE" | ||
2 | DESCRIPTION="This virtual function driver supports kernel versions 2.6.x and newer \ | ||
3 | This driver supports 82599, X540, X550, and X552-based virtual function devices \ | ||
4 | that can only be activated on kernels that support SR-IOV. \ | ||
5 | SR-IOV requires the correct platform and OS support. \ | ||
6 | The guest OS loading this driver must support MSI-X interrupts." | ||
7 | |||
8 | HOMEPAGE = "https://sourceforge.net/projects/e1000/" | ||
9 | SECTION = "kernel/network" | ||
10 | LICENSE = "GPL-2.0-only" | ||
11 | LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" | ||
12 | |||
13 | SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \ | ||
14 | " | ||
15 | |||
16 | SRC_URI[sha256sum] = "6c72bf8fb85c289c61e0f563540e07d5bcb19157b21786d25f974f08eefaa4df" | ||
17 | |||
18 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/" | ||
19 | UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P<pver>\d+(\.\d+)+)/" | ||
20 | |||
21 | CVE_PRODUCT = "linux:linux_kernel_ixgbe" | ||
22 | |||
23 | S = "${WORKDIR}/${BP}/src" | ||
24 | |||
25 | EXTRA_OEMAKE='KSRC="${STAGING_KERNEL_BUILDDIR}" KVER="${KERNEL_VERSION}" INSTALL_MOD_PATH="${D}"' | ||
26 | |||
27 | KERNEL_MODULE_AUTOLOAD:append:intel-core2-32 = " ixgbevf" | ||
28 | KERNEL_MODULE_AUTOLOAD:append:intel-corei7-64 = " ixgbevf" | ||
29 | |||
30 | inherit module | ||
31 | |||
32 | do_install:append () { | ||
33 | # Install scripts/set_irq_affinity | ||
34 | install -d ${D}${sysconfdir}/network | ||
35 | install -m 0755 ${S}/../scripts/set_irq_affinity ${D}${sysconfdir}/network | ||
36 | |||
37 | rm -rf ${D}${prefix}/man | ||
38 | } | ||
39 | |||
40 | PACKAGES += "${PN}-script" | ||
41 | |||
42 | FILES:${PN}-script += "${sysconfdir}/network/set_irq_affinity" | ||
43 | |||
44 | # This was fixed in kernel v4.4 | ||
45 | CVE_CHECK_IGNORE += "CVE-2015-1142857" | ||
46 | |||
47 | EXCLUDE_FROM_WORLD = "1" | ||