diff options
Diffstat (limited to 'recipes-kernel/intel-ethernet')
7 files changed, 89 insertions, 167 deletions
diff --git a/recipes-kernel/intel-ethernet/ixgbe/0001-ixgbe-skip-host-depmod.patch b/recipes-kernel/intel-ethernet/ixgbe/0001-ixgbe-skip-host-depmod.patch deleted file mode 100644 index 0041af57..00000000 --- a/recipes-kernel/intel-ethernet/ixgbe/0001-ixgbe-skip-host-depmod.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 5f87ef7ed60bc9762467184ed0a6d000b80713d9 Mon Sep 17 00:00:00 2001 | ||
2 | From: sweeaun <swee.aun.khor@intel.com> | ||
3 | Date: Sun, 8 Apr 2018 17:21:52 +0800 | ||
4 | Subject: [PATCH] ixgbe: skip host depmod | ||
5 | |||
6 | Upstream-Status: Inappropriate [Cross-Compile] | ||
7 | |||
8 | Depmod during do_install is irrelevant when cross-compiling. | ||
9 | Remove the depmod steps during do_install. | ||
10 | |||
11 | Signed-off-by: sweeaun <swee.aun.khor@intel.com> | ||
12 | --- | ||
13 | Makefile | 2 -- | ||
14 | 1 file changed, 2 deletions(-) | ||
15 | |||
16 | diff --git a/Makefile b/Makefile | ||
17 | index 545489a..07e422f 100644 | ||
18 | --- a/Makefile | ||
19 | +++ b/Makefile | ||
20 | @@ -141,8 +141,6 @@ install: default manfile | ||
21 | @install -D -m 644 ${DRIVER}.${MANSECTION}.gz ${INSTALL_MOD_PATH}${MANDIR}/man${MANSECTION}/${DRIVER}.${MANSECTION}.gz | ||
22 | @echo "Installing modules..." | ||
23 | @+$(call devkernelbuild,modules_install) | ||
24 | - @echo "Running depmod..." | ||
25 | - @$(call cmd_depmod) | ||
26 | |||
27 | uninstall: | ||
28 | rm -f ${INSTALL_MOD_PATH}/lib/modules/${KVER}/${INSTALL_MOD_DIR}/${DRIVER}.ko; | ||
29 | -- | ||
30 | 2.7.4 | ||
31 | |||
diff --git a/recipes-kernel/intel-ethernet/ixgbe_5.20.10.bb b/recipes-kernel/intel-ethernet/ixgbe_5.20.10.bb new file mode 100644 index 00000000..696c5c26 --- /dev/null +++ b/recipes-kernel/intel-ethernet/ixgbe_5.20.10.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | SUMMARY = "ixgbe kernel driver for Intel Magnolia Park 10GbE" | ||
2 | DESCRIPTION = "The ixgbe driver supports 82598- and 82599-based \ | ||
3 | PCI Express* 10 Gigabit Network Connections." | ||
4 | |||
5 | HOMEPAGE = "https://sourceforge.net/projects/e1000/" | ||
6 | SECTION = "kernel/network" | ||
7 | LICENSE = "GPL-2.0-only" | ||
8 | LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" | ||
9 | |||
10 | SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbe%20stable/${PV}/${BP}.tar.gz \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[sha256sum] = "da7e7b62ffb85a820d7541623fbef5c4abef8d1df7ac0af3f1acc3b3d76c9822" | ||
14 | |||
15 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbe%20stable/" | ||
16 | UPSTREAM_CHECK_REGEX = "ixgbe%20stable/(?P<pver>\d+(\.\d+)+)/" | ||
17 | |||
18 | CVE_PRODUCT = "linux:linux_kernel_ixgbe" | ||
19 | |||
20 | S = "${WORKDIR}/${BP}/src" | ||
21 | |||
22 | EXTRA_OEMAKE = ' KSRC="${STAGING_KERNEL_DIR}" KOBJ="${STAGING_KERNEL_BUILDDIR}" KVER="${KERNEL_VERSION}" INSTALL_MOD_PATH="${D}"' | ||
23 | |||
24 | KERNEL_MODULE_AUTOLOAD:append:intel-core2-32 = " ixgbe" | ||
25 | KERNEL_MODULE_AUTOLOAD:append:intel-corei7-64 = " ixgbe" | ||
26 | |||
27 | inherit module | ||
28 | |||
29 | do_install:append () { | ||
30 | # Install scripts/set_irq_affinity | ||
31 | install -d ${D}${sysconfdir}/network | ||
32 | install -m 0755 ${S}/../scripts/set_irq_affinity ${D}${sysconfdir}/network | ||
33 | |||
34 | rm -rf ${D}${prefix}/man | ||
35 | } | ||
36 | |||
37 | PACKAGES += "${PN}-script" | ||
38 | |||
39 | FILES:${PN}-script += "${sysconfdir}/network/set_irq_affinity" | ||
40 | |||
41 | EXCLUDE_FROM_WORLD = "1" | ||
42 | |||
43 | CVE_STATUS[CVE-2015-1142857] = "fixed-version: Fixed from version 4.4-rc1" | ||
diff --git a/recipes-kernel/intel-ethernet/ixgbe_5.5.2.bb b/recipes-kernel/intel-ethernet/ixgbe_5.5.2.bb deleted file mode 100644 index 28d5e980..00000000 --- a/recipes-kernel/intel-ethernet/ixgbe_5.5.2.bb +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | SUMMARY="ixgbe kernel driver for Intel Magnolia Park 10GbE" | ||
2 | DESCRIPTION="The ixgbe driver supports 82598- and 82599-based \ | ||
3 | PCI Express* 10 Gigabit Network Connections." | ||
4 | |||
5 | HOMEPAGE = "https://sourceforge.net/projects/e1000/" | ||
6 | SECTION = "kernel/network" | ||
7 | LICENSE = "GPLv2" | ||
8 | LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" | ||
9 | |||
10 | SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbe%20stable/${PV}/${BP}.tar.gz \ | ||
11 | file://0001-ixgbe-skip-host-depmod.patch \ | ||
12 | " | ||
13 | |||
14 | SRC_URI[md5sum] = "678514cb0e24f1c11d53d156a9845e64" | ||
15 | SRC_URI[sha256sum] = "1c1386e4eb0b4526d2edeb04cac657e1d74c2e5cef3f2d00a26a23926744ef1a" | ||
16 | |||
17 | S = "${WORKDIR}/${BP}/src" | ||
18 | MODULES_INSTALL_TARGET = "install" | ||
19 | |||
20 | EXTRA_OEMAKE='KSRC="${STAGING_KERNEL_BUILDDIR}" KVER="${KERNEL_VERSION}" INSTALL_MOD_PATH="${D}"' | ||
21 | |||
22 | KERNEL_MODULE_AUTOLOAD_append_intel-core2-32 = " ixgbe" | ||
23 | KERNEL_MODULE_AUTOLOAD_append_intel-corei7-64 = " ixgbe" | ||
24 | |||
25 | inherit module | ||
26 | |||
27 | do_install_append () { | ||
28 | # Install scripts/set_irq_affinity | ||
29 | install -d ${D}${sysconfdir}/network | ||
30 | install -m 0755 ${S}/../scripts/set_irq_affinity ${D}${sysconfdir}/network | ||
31 | |||
32 | rm -rf ${D}${prefix}/man | ||
33 | } | ||
34 | |||
35 | PACKAGES += "${PN}-script" | ||
36 | |||
37 | FILES_${PN}-script += "${sysconfdir}/network/set_irq_affinity" | ||
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 @@ | |||
1 | From b1d7f46442e50458311573443a5c78637874f62b Mon Sep 17 00:00:00 2001 | ||
2 | From: Anuj Mittal <anuj.mittal@intel.com> | ||
3 | Date: Thu, 12 Apr 2018 11:46:15 +0800 | ||
4 | Subject: [PATCH] Makefile: check for CONFIG_IXGBEVF instead | ||
5 | |||
6 | Check for the correct config, otherwise it won't build with kbuild. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
11 | --- | ||
12 | src/Makefile | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/Makefile b/Makefile | ||
16 | index 968ef5e..e3cb81b 100644 | ||
17 | --- a/Makefile | ||
18 | +++ b/Makefile | ||
19 | @@ -28,7 +28,7 @@ ifneq ($(KERNELRELEASE),) | ||
20 | # Makefile for the Intel(R) 10GbE PCI Express Virtual Function Driver | ||
21 | # | ||
22 | |||
23 | -obj-$(CONFIG_IXGBE) += ixgbevf.o | ||
24 | +obj-$(CONFIG_IXGBEVF) += ixgbevf.o | ||
25 | |||
26 | define ixgbevf-y | ||
27 | ixgbevf_main.o | ||
diff --git a/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch b/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch deleted file mode 100644 index 656a897d..00000000 --- a/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 9677d09f5c3984997ac8e7d90b5d4b11fb9ce277 Mon Sep 17 00:00:00 2001 | ||
2 | From: sweeaun <swee.aun.khor@intel.com> | ||
3 | Date: Sat, 7 Oct 2017 20:56:35 -0700 | ||
4 | Subject: [PATCH] ixgbevf: skip host depmod | ||
5 | |||
6 | Upstream-Status: Inappropriate [Cross-Compile] | ||
7 | |||
8 | Depmod during do_install is irrelevant when cross-compiling. | ||
9 | Remove the depmod steps during do_install. | ||
10 | |||
11 | Signed-off-by: sweeaun <swee.aun.khor@intel.com> | ||
12 | --- | ||
13 | Makefile | 2 -- | ||
14 | 1 file changed, 2 deletions(-) | ||
15 | |||
16 | diff --git a/Makefile b/Makefile | ||
17 | index 91df705..1dcf350 100644 | ||
18 | --- a/Makefile | ||
19 | +++ b/Makefile | ||
20 | @@ -104,8 +104,6 @@ modules_install: default manfile | ||
21 | @install -D -m 644 ${DRIVER}.${MANSECTION}.gz ${INSTALL_MOD_PATH}${MANDIR}/man${MANSECTION}/${DRIVER}.${MANSECTION}.gz | ||
22 | @echo "Installing modules..." | ||
23 | @+$(call kernelbuild,modules_install) | ||
24 | - @echo "Running depmod..." | ||
25 | - @$(call cmd_depmod) | ||
26 | |||
27 | uninstall: | ||
28 | rm -f ${INSTALL_MOD_PATH}/lib/modules/${KVER}/${INSTALL_MOD_DIR}/${DRIVER}.ko; | ||
29 | -- | ||
30 | 2.7.4 | ||
31 | |||
diff --git a/recipes-kernel/intel-ethernet/ixgbevf_4.19.10.bb b/recipes-kernel/intel-ethernet/ixgbevf_4.19.10.bb new file mode 100644 index 00000000..92e25739 --- /dev/null +++ b/recipes-kernel/intel-ethernet/ixgbevf_4.19.10.bb | |||
@@ -0,0 +1,46 @@ | |||
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] = "73c6a27be324a48b069dbda0d1d07212a2214c71f54df57bca7177fc92b04881" | ||
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_DIR}" KOBJ="${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 | CVE_STATUS[CVE-2015-1142857] = "fixed-version: Fixed from version 4.4-rc1" | ||
45 | |||
46 | EXCLUDE_FROM_WORLD = "1" | ||
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 2a793508..00000000 --- a/recipes-kernel/intel-ethernet/ixgbevf_4.3.6.bb +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
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 = "GPLv2" | ||
11 | LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
12 | |||
13 | SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \ | ||
14 | file://0001-ixgbevf-skip-host-depmod.patch \ | ||
15 | file://0001-Makefile-check-for-CONFIG_IXGBEVF-instead.patch \ | ||
16 | " | ||
17 | |||
18 | SRC_URI[md5sum] = "fc53be00bf5e71939a9a39e9802d5b77" | ||
19 | SRC_URI[sha256sum] = "61ac4e93808fa4316b044bae40f2a1dc40e4d9ae9a1785a753cdfc79b515d695" | ||
20 | |||
21 | S = "${WORKDIR}/${BP}/src" | ||
22 | MODULES_INSTALL_TARGET = "install" | ||
23 | |||
24 | EXTRA_OEMAKE='KSRC="${STAGING_KERNEL_BUILDDIR}" KVER="${KERNEL_VERSION}" INSTALL_MOD_PATH="${D}"' | ||
25 | |||
26 | KERNEL_MODULE_AUTOLOAD_append_intel-core2-32 = " ixgbevf" | ||
27 | KERNEL_MODULE_AUTOLOAD_append_intel-corei7-64 = " ixgbevf" | ||
28 | |||
29 | inherit module | ||
30 | |||
31 | do_install_append () { | ||
32 | # Install scripts/set_irq_affinity | ||
33 | install -d ${D}${sysconfdir}/network | ||
34 | install -m 0755 ${S}/../scripts/set_irq_affinity ${D}${sysconfdir}/network | ||
35 | |||
36 | rm -rf ${D}${prefix}/man | ||
37 | } | ||
38 | |||
39 | PACKAGES += "${PN}-script" | ||
40 | |||
41 | FILES_${PN}-script += "${sysconfdir}/network/set_irq_affinity" | ||