summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYogesh Tyagi <yogesh.tyagi@intel.com>2026-02-10 00:04:08 +0800
committerYogesh Tyagi <yogesh.tyagi@intel.com>2026-02-10 00:04:08 +0800
commit5d153e35b4e752505efeae368f188fac5e31cf33 (patch)
tree9b72c07aab8b74460249d5382c8193bbc62928f9
parent34e351b5e8faf63bb4c9905e35c1b381d833ade2 (diff)
downloadmeta-intel-scarthgap.tar.gz
ixgbevf : upgrade 4.18.7 -> 4.19.10scarthgap
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
-rw-r--r--recipes-kernel/intel-ethernet/ixgbevf/0001-Fix-XDP-compilation-for-kernels-without-XDP-support.patch30
-rw-r--r--recipes-kernel/intel-ethernet/ixgbevf_4.19.10.bb (renamed from recipes-kernel/intel-ethernet/ixgbevf_4.18.7.bb)3
2 files changed, 32 insertions, 1 deletions
diff --git a/recipes-kernel/intel-ethernet/ixgbevf/0001-Fix-XDP-compilation-for-kernels-without-XDP-support.patch b/recipes-kernel/intel-ethernet/ixgbevf/0001-Fix-XDP-compilation-for-kernels-without-XDP-support.patch
new file mode 100644
index 00000000..87f112e2
--- /dev/null
+++ b/recipes-kernel/intel-ethernet/ixgbevf/0001-Fix-XDP-compilation-for-kernels-without-XDP-support.patch
@@ -0,0 +1,30 @@
1From: Yocto Builder <builder@yoctoproject.org>
2Date: Sun, 9 Feb 2025 12:00:00 +0000
3Subject: [PATCH] ixgbevf: Fix XDP compilation for kernels without XDP support
4
5The driver assumes XDP support is available based on kernel version alone
6(>= 4.16.0), but some kernels like RT kernels may not have XDP enabled
7in their configuration. This causes compilation failures with
8"field 'xdp_rxq' has incomplete type".
9
10Add a proper check for XDP support existence before enabling XDP features.
11
12Upstream-Status: Pending
13
14Signed-off-by: Yocto Builder <builder@yoctoproject.org>
15
16---
17--- a/kcompat_std_defs.h
18+++ b/kcompat_std_defs.h
19@@ -77,8 +77,10 @@
20 #if (LINUX_VERSION_CODE < KERNEL_VERSION(4,16,0))
21 #define NEED_TC_CLS_CAN_OFFLOAD_AND_CHAIN0
22 #else /* >= 4,16,0 */
23+#if IS_ENABLED(CONFIG_XDP_SOCKETS)
24 #define HAVE_XDP_BUFF_RXQ
25 #define HAVE_XDP_RXQ_INFO_REG_3_PARAMS
26+#endif
27 #endif /* 4,16,0 */
28
29 /*****************************************************************************/
30
diff --git a/recipes-kernel/intel-ethernet/ixgbevf_4.18.7.bb b/recipes-kernel/intel-ethernet/ixgbevf_4.19.10.bb
index b21796c6..c89e55db 100644
--- a/recipes-kernel/intel-ethernet/ixgbevf_4.18.7.bb
+++ b/recipes-kernel/intel-ethernet/ixgbevf_4.19.10.bb
@@ -11,9 +11,10 @@ LICENSE = "GPL-2.0-only"
11LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" 11LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417"
12 12
13SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \ 13SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \
14 file://0001-Fix-XDP-compilation-for-kernels-without-XDP-support.patch \
14 " 15 "
15 16
16SRC_URI[sha256sum] = "90f6cd614008839b6fc748ae0f4ad3503435f8b788318d4f40cfc83c7029025e" 17SRC_URI[sha256sum] = "73c6a27be324a48b069dbda0d1d07212a2214c71f54df57bca7177fc92b04881"
17 18
18UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/" 19UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/"
19UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P<pver>\d+(\.\d+)+)/" 20UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P<pver>\d+(\.\d+)+)/"