diff options
| author | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2026-02-10 00:04:08 +0800 |
|---|---|---|
| committer | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2026-02-10 00:04:08 +0800 |
| commit | 5d153e35b4e752505efeae368f188fac5e31cf33 (patch) | |
| tree | 9b72c07aab8b74460249d5382c8193bbc62928f9 | |
| parent | 34e351b5e8faf63bb4c9905e35c1b381d833ade2 (diff) | |
| download | meta-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.patch | 30 | ||||
| -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 @@ | |||
| 1 | From: Yocto Builder <builder@yoctoproject.org> | ||
| 2 | Date: Sun, 9 Feb 2025 12:00:00 +0000 | ||
| 3 | Subject: [PATCH] ixgbevf: Fix XDP compilation for kernels without XDP support | ||
| 4 | |||
| 5 | The 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 | ||
| 7 | in their configuration. This causes compilation failures with | ||
| 8 | "field 'xdp_rxq' has incomplete type". | ||
| 9 | |||
| 10 | Add a proper check for XDP support existence before enabling XDP features. | ||
| 11 | |||
| 12 | Upstream-Status: Pending | ||
| 13 | |||
| 14 | Signed-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" | |||
| 11 | LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" | 11 | LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" |
| 12 | 12 | ||
| 13 | SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \ | 13 | SRC_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 | ||
| 16 | SRC_URI[sha256sum] = "90f6cd614008839b6fc748ae0f4ad3503435f8b788318d4f40cfc83c7029025e" | 17 | SRC_URI[sha256sum] = "73c6a27be324a48b069dbda0d1d07212a2214c71f54df57bca7177fc92b04881" |
| 17 | 18 | ||
| 18 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/" | 19 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/" |
| 19 | UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P<pver>\d+(\.\d+)+)/" | 20 | UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P<pver>\d+(\.\d+)+)/" |
