summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dpdk: fix builds for ARM machinesHEADmasterAnuj Mittal2026-04-281-1/+1
| | | | | | | | | | | cpu_instruction_set variable is neither recommended nor effective for ARM builds. DPDK recommends setting the platform to SoC to properly tailor the build instead. Ensure that we set the platform value for aarch64 and cpu_instruction_set for all others. Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* dpdk: add a PACKAGECONFIG for examplesAnuj Mittal2026-04-281-2/+3
| | | | | | | Building examples may not be always be required so allow their build to be controlled via a PACKAGECONFIG. Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* dpdk/23.11: upgrade 23.11.5 -> 23.11.6Anuj Mittal2026-04-241-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* dpdk/25.11: upgrade 25.11.0 -> 25.11.1Anuj Mittal2026-04-241-2/+1
| | | | | | | Remove the SRC_URI override with hardcoded tag value as the version matches tag name exactly now. Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* dpdk: add PACKAGECONFIG to build shared librariesAnuj Mittal2026-04-241-0/+1
| | | | | | | | | | | | By default, DPDK performs static linking for applications and examples [1]. This behaviour can cause the build directory to exceed 100 GiB. Provide a PACKAGECONFIG to allow building with shared libraries only. [1] dpdk commit 93b1f90ae174 ("build: change default library type to static") Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* dpdk: move common code to incAnuj Mittal2026-04-243-94/+50
| | | | | | | Move the common code from both dpdk versions to inc so it's not duplicated. Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* dpdk: dont set COMPATIBLE_MACHINE to nullAnuj Mittal2026-04-132-2/+0
| | | | | | | | | | OE-core now defaults to using higher tune values (v3) for qemux86-64 which dpdk can compile with. Remove the COMPATIBLE_MACHINE setting to allow it to be compiled without having to set it elsewhere for OE-core machine values. Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* dpdk: set platform to generic for cross-compilationMohd Ayaan Anwar2026-04-131-0/+10
| | | | | | | | | | | Meson resolves the platform property from the build host during cross-compilation for ARM builds. Generate a meson cross-file that sets platform to 'generic' and pass it to meson for class-target builds. Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* layer.conf: update to be compatible with wrynoseAnuj Mittal2026-03-191-1/+1
| | | | | | | OE-core has switched to using wrynose release name. Adjust LAYERSERIES_COMPAT accordingly. Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* dpdk: use v25.11 tag for 25.11.0 recipeRuiqiang Hao2025-12-301-0/+1
| | | | | | | | Override SRC_URI to use tag=v25.11 instead of tag=v${PV} to match upstream tag format while maintaining version 25.11.0. Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* dpdk: upgrade 23.11.1 -> 23.11.5Anuj Mittal2025-12-264-164/+2
| | | | | | | Upgrade to latest version for 23.11 LTS. Drop the patches that have already been merged. Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* dpdk: upgrade 22.11.7 -> 25.11.0Ruiqiang Hao2025-12-234-172/+13
| | | | | | | | | | | | | | | Upgrade to DPDK 25.11 LTS release. - Update SRCREV and branch references - Update library path to pmds-26.0 - Remove dpdk-module - Remove patches that are no longer needed in 25.11.0: * 0001-Makefile-add-makefile.patch * 0001-meson.build-march-and-mcpu-already-passed-by-Yocto-21.11.patch - Set the cpu_instruction_set through EXTRA_OEMESON Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* README: change mailing list for patch contributionAnuj Mittal2025-12-161-3/+3
| | | | | | | | | yocto-patches is a more appropriate list for meta-dpdk since this is not Intel specific. Also, include my new email address. Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* layer.conf: update LAYERSERIES_COMPAT to use whinlatterYogesh Tyagi2025-07-081-1/+1
| | | | | | | Drop scarthgap and styhead from LAYERSERIES_COMPAT Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Adapt to S/UNPACKDIR changesChangqing Li2025-07-085-5/+1
| | | | | | | | Remove or update S definitions as required to work with oe-core S/UNPACKDIR changes. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: fix lib32-dpdk compile failureChangqing Li2025-06-052-1/+116
| | | | | | | | | | | | | Fix the following compile error: "../git/lib/ethdev/ethdev_trace.h: In function 'rte_eth_trace_timesync_write_time': ../git/lib/eal/include/rte_common.h:498:55: error: size of unnamed array is negative 498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))" Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-module : Drop obsolete CVE ignores as they are not relevant for current ↵Yogesh Tyagi2025-05-261-8/+0
| | | | | | | | | | version The CPE data in the NVD database is now complete, so these ignores are no longer needed. Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk : Drop obsolete CVE ignores as they are not relevant for current versionYogesh Tyagi2025-05-261-9/+0
| | | | | | | | The CPE data in the NVD database is now complete, so these ignores are no longer needed. Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-module : add whitespace around assignments to fix build warningsYogesh Tyagi2025-05-261-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* layer.conf: update to include compatibility with walnascarYogesh Tyagi2025-04-081-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: backport patches to fix buildXiangyu Chen2025-02-133-1/+163
| | | | | | | | | | | | | | | | | | Currently, a number of integer types are typedef'd to their corresponding userspace or RTE values. This can be problematic if these types are already defined somewhere else, as it would cause type collisions. The error like this: gve_osdep.h:45:20: error: conflicting types for '__le64'; have 'rte_le64_t' {aka 'long unsigned int'} | 45 | typedef rte_le64_t __le64; | | ^~~~~~ | .... recipe-sysroot/usr/include/linux/types.h:35:25: note: previous declaration of '__le64' with type '__le64' {aka 'long long unsigned int'} | 35 | typedef __u64 __bitwise __le64; The upstream has already fixed, backport them to 23.11.x. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 22.11.7 -> 22.11.7Anuj Mittal2024-12-042-2/+2
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* layer.conf: update to include compatibility with styheadAnuj Mittal2024-09-121-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-module/22.11: upgrade 22.11.5 -> 22.11.6Yogesh Tyagi2024-08-221-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 22.11.5 -> 22.11.6Yogesh Tyagi2024-08-221-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 21.11 -> 22.11Mun Chun Yep2024-05-272-5/+5
| | | | | Signed-off-by: Mun Chun Yep <mun.chun.yep@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: update 23.11 -> 23.11.1Mun Chun Yep2024-05-271-2/+2
| | | | | Signed-off-by: Mun Chun Yep <mun.chun.yep@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* layer.conf: update LAYERSERIES_COMPAT for scarthgapCory Keitz2024-03-191-1/+1
| | | | | | | | | | | openembedded-core has moved to scarthgap: 0e42326d ("layer.conf: Prepare for release, drop nanbield LAYERSERIES") Add scarthgap to LAYERSERIES_COMPAT and drop EOL mickeldore. Signed-off-by: Cory Keitz <ckeitz@amazon.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: Make sure -march existMingli Yu2024-01-081-2/+5
| | | | | | | | | | | | | | | | | | Fixes: ERROR: ExpansionError during parsing /build/layers/meta-dpdk/recipes-extended/dpdk/dpdk_23.11.bb Traceback (most recent call last): File "Var <EXTRA_OEMESON>", line 1, in <module> File "/build/layers/meta-dpdk/recipes-extended/dpdk/dpdk_23.11.bb", line 12, in get_cpu_instruction_set(bb=<module 'bb' from '/build/layers/oe-core/bitbake/lib/bb/__init__.py'>, d=<bb.data_smart.DataSmart object at 0x7f63569bb070>): import re > march = re.search(r'-march=([^\s]*)', d.getVar('CC')).group(1) return march bb.data_smart.ExpansionError: Failure expanding variable EXTRA_OEMESON, expression was -Dexamples=all -Dcpu_instruction_set=${@get_cpu_instruction_set(bb, d)} which triggered exception AttributeError: 'NoneType' object has no attribute 'group' The variable dependency chain for the failure is: EXTRA_OEMESON -> meson_do_configure ERROR: Parsing halted due to errors, see error messages above Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: 23.07 -> 23.11 (LTS)Lee Chee Yang2023-12-083-59/+42
| | | | | | | | | | | | drop the dpdk-module, kni driver now dropped. https://github.com/DPDK/dpdk/commit/f78c100bc87119c6a94130a6689d773afdaa9d98 EXTRA_OEMESON remove enable_kmods. set the cpu_instruction_set through EXTRA_OEMESON. Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* xdp-tools: update to 1.2.10Lee Chee Yang2023-10-062-11/+9
| | | | | Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk.inc: switch to using https protocolAnuj Mittal2023-10-031-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* layer.conf: update LAYERSERIES_COMPATLee Chee Yang2023-10-031-1/+1
| | | | | | | LAYERSERIES_COMPAT add nanbield and drop EOL langdale. Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/23: update to 23.07Lee Chee Yang2023-10-032-19/+2
| | | | | | | | Drop CVE IGNORE as both CVE-2021-3839 and CVE-2022-0669 were fixed in 22.03. Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/21.11: update to 21.11.5Lee Chee Yang2023-10-032-2/+2
| | | | | Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-module/21.11: upgrade 21.11.3 -> 21.11.4Yogesh Tyagi2023-07-071-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/21.11: upgrade 21.11.3 -> 21.11.4Yogesh Tyagi2023-07-071-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-module/21.11: upgrade 21.11.2 -> 21.11.3Yogesh Tyagi2023-05-111-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/21.11: upgrade 21.11.2 -> 21.11.3Yogesh Tyagi2023-05-111-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-kmods: upgrade to commit hash e721c733cd24206399bebb8f0751b0387c4c1595Yogesh Tyagi2023-05-101-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-module: upgrade 22.07.0 -> 23.03Yogesh Tyagi2023-05-102-1/+2
| | | | | | | | Refresh patch to fix following build error in dpdk-module: ~build/tmp-glibc/work/intel_skylake_64-oe-linux/dpdk-module/23.03-r0/git/kernel/linux/kni/kni_net.c:22:10: fatal error: rte_kni_common.h: No such file or directory Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 22.07.0 -> 23.03Yogesh Tyagi2023-05-101-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* xdp-tools: build static libraryNaveen Saini2023-02-071-5/+3
| | | | | | | | | | | | | | | | | | The problem with shared library is that generated object files are also required additionally by libxdp. So build the static library instead of installing .o files as well (which would need us to disable stripping etc.) Error log while building libxdp: | libxdp: Couldn't find a BPF file with name xsk_def_xdp_prog.o | xsk_configure(): Failed to create xsk socket Enable production option too. Also see: https://github.com/xdp-project/xdp-tools/issues/180 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* xdp-tools: fix multilib buildAnuj Mittal2023-01-311-1/+1
| | | | | | | | | | The project sets libdir path to /usr/lib [1] which is not always correct and results in failures when $libdir, as an example, is /usr/lib64. Set the correct value of LIBDIR. [1] https://github.com/xdp-project/xdp-tools/blob/v1.2/lib/defines.mk#L11 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* layer.conf: add mickledore to LAYERSERIES_COMPATAnuj Mittal2023-01-041-1/+1
| | | | | | | OE-Core has switched to mickledore: https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-kmods: update to latest commitNaveen Saini2022-11-152-1/+46
| | | | | | | | | | | | | Carry a patch which allows to support 5.18+ kernel ABI. https://git.launchpad.net/ubuntu/+source/dpdk-kmods/tree/debian/patches/0001-support-linux-5.18.patch?id=9d628c02c169d8190bc2cb6afd81e4d364c382cd Build error with 5.19 kernel: igb_uio.c:515:15: error: implicit declaration of function 'pci_set_dma_mask'; did you mean 'ipi_send_mask'? [-Werror=implicit-function-declaration] Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/21.11.2: add libxdp library in PACKAGECONFIGNaveen Saini2022-10-311-1/+1
| | | | | | | | | | | | | With latest libbpf version (>=0.7.0), additional libxdp library also require to build net/af_xdp libs. xdp-tools provides libxdp library. Ref: https://git.dpdk.org/dpdk-stable/commit/drivers/net/af_xdp?h=21.11&id=6721fb14eb1f91a0afc629c61eb99e63b247c1f3 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* xdp-tools: add recipeNaveen Saini2022-10-316-0/+199
| | | | | | | | | | | xdp-tools - Library and utilities for use with XDP. It also provides libxdp library. https://github.com/xdp-project/xdp-tools Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/22.07.0: fix SRC_URIKai Kang2022-10-312-2/+2
| | | | | | | | | | | | The SRC_URI should be "https://dpdk.org/git/dpdk" for https protocol. Otherwise it fails to fetch with git and fetch a tarball from premirror instead: WARNING: dpdk-module-22.07.0-r0 do_fetch: Failed to fetch URL git://dpdk.org/dpdk;branch=releases;protocol=https, attempting MIRRORS if available Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/20.11: drop recipeNaveen Saini2022-10-253-155/+0
| | | | | | | Recipe for dpdk 22.07 already has been added. So time to drop it. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>