aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-03-19layer.conf: update LAYERSERIES_COMPAT for scarthgapHEADscarthgapmasterCory Keitz
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>
2024-01-08dpdk: Make sure -march existMingli Yu
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>
2023-12-08dpdk: 23.07 -> 23.11 (LTS)Lee Chee Yang
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>
2023-10-06xdp-tools: update to 1.2.10Lee Chee Yang
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-10-03dpdk.inc: switch to using https protocolAnuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-10-03layer.conf: update LAYERSERIES_COMPATLee Chee Yang
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>
2023-10-03dpdk/23: update to 23.07Lee Chee Yang
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>
2023-10-03dpdk/21.11: update to 21.11.5Lee Chee Yang
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-07-07dpdk-module/21.11: upgrade 21.11.3 -> 21.11.4Yogesh Tyagi
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-07-07dpdk/21.11: upgrade 21.11.3 -> 21.11.4Yogesh Tyagi
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-11dpdk-module/21.11: upgrade 21.11.2 -> 21.11.3Yogesh Tyagi
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-11dpdk/21.11: upgrade 21.11.2 -> 21.11.3Yogesh Tyagi
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-10dpdk-kmods: upgrade to commit hash e721c733cd24206399bebb8f0751b0387c4c1595Yogesh Tyagi
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-10dpdk-module: upgrade 22.07.0 -> 23.03Yogesh Tyagi
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>
2023-05-10dpdk: upgrade 22.07.0 -> 23.03Yogesh Tyagi
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-02-07xdp-tools: build static libraryNaveen Saini
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>
2023-01-31xdp-tools: fix multilib buildAnuj Mittal
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>
2023-01-04layer.conf: add mickledore to LAYERSERIES_COMPATAnuj Mittal
OE-Core has switched to mickledore: https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-11-15dpdk-kmods: update to latest commitNaveen Saini
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>
2022-10-31dpdk/21.11.2: add libxdp library in PACKAGECONFIGNaveen Saini
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>
2022-10-31xdp-tools: add recipeNaveen Saini
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>
2022-10-31dpdk/22.07.0: fix SRC_URIKai Kang
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>
2022-10-25dpdk/20.11: drop recipeNaveen Saini
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>
2022-10-25dpdk/22.07.0: add recipeNaveen Saini
https://git.dpdk.org/dpdk/ Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-10-13dpdk: inherit pkgconfigNaveen Saini
meson build using pkg-config method when searching for the dependency. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-09-30conf/layer.conf: add langdale to LAYERSERIES_COMPATAnuj Mittal
Make sure we're compatible with upcoming release. Also remove compatibility with old releases. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-09-19dpdk-module/21.11: ignore CVE-2021-3839 and CVE-2022-0669Yogesh Tyagi
These are fixed in 21.11.1 but the CPE data in NVD is incomplete. Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-09-08dpdk: ignore CVE-2022-0669Yogesh Tyagi
This is fixed in 21.11.1 but the CPE data in NVD is incomplete. [ upstream commit link https://git.dpdk.org/dpdk-stable/commit/?h=21.11&id=6cb68162e4b598b7c0747372fa3fcec9cddd19b8 ] Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-09-06dpdk-module/21.11 : update version to 21.11.2Yogesh Tyagi
Drops upstreamed patch: * 0001-kni_net.c-use-netif_rx-instead-of-netif_rx_ni.patch Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-09-06dpdk/21.11 : update version to 21.11.2Yogesh Tyagi
Drops upstreamed patch: * 0002-dma-idxd-fix-AVX2-in-non-datapath-functions.patch Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-09-06dpdk-module/20.11 : update version to 20.11.6Yogesh Tyagi
Drops upstreamed patch * 0002-kni-update-kernel-API-to-set-random-MAC-address.patch Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-09-06dpdk/20.11: update to v20.11.6Yogesh Tyagi
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-09-05dpdk: ignore CVE-2021-3839Yogesh Tyagi
This is fixed in 21.11.1 but the CPE data in NVD is incomplete. Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-07-13dpdk/21.11: fix illegal instruction on non-AVX CPUYongxin Liu
Backport a patch from main branch to fix illegal instruction issue on CPU which has no AVX instructions. Reference: https://bugs.dpdk.org/show_bug.cgi?id=1038 Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-05-19dpdk-module: use netif_rx() instead of netif_rx_ni()Mingli Yu
The netif_rx_ni is removed in below commit after kernel upgraded to 5.18, so use netif_rx() instead of netif_rx_ni() to fix the gap. 2655926aea9b net: Remove netif_rx_any_context() and netif_rx_ni(). Fixes: | TOPDIR/tmp-glibc/work/intel_x86_64-wrs-linux/dpdk-module/21.11.0-r0/git/kernel/linux/kni/kni_net.c: In function 'kni_net_rx_normal': | TOPDIR/tmp-glibc/work/intel_x86_64-wrs-linux/dpdk-module/21.11.0-r0/git/kernel/linux/kni/kni_net.c:444:17: error: implicit declaration of function 'netif_rx_ni'; did you mean 'netif_rx'? [-Werror=implicit-function-declaration] 444 | netif_rx_ni(skb); Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-05-06dpdk/20.11: update to v20.11.5Naveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-05-06dpdk/21.11: update to v21.11.1Naveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-03-22Update LICENSE variable to use SPDX license identifiersYongxin Liu
In oe-core commit ceda3238cdbf ("meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers"), all LICENSE variables were updated to only use SPDX license identifiers. Fix the following warnings: WARNING: dpdk-21.11.0-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses LGPLv2.1 GPLv2 [obsolete-license] WARNING: dpdk-kmods-1.0-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPL-2 [obsolete-license] Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-03-02layer.conf: add kirkstone to LAYERSERIES_COMPATAnuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-01-26dpdk-module: Set its COMPATIBLE_MACHINE and COMPATIBLE_HOST to align with dpdkHe Zhe
dpdk-module can now be built against qemux86 and etc. that do not support it at all. To avoid confusing the users with compile-time errors, let's align it with dpdk. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-12-13dpdk: use += with FILES when packaging PNAnuj Mittal
The packaging rules are too restrictive and lead to errors when a binary is generated that is not currently captured by the rules. Use += so it at least is packaged and doesn't cause errors. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-12-10dpdk/19.11: drop recipeNaveen Saini
dpdk 21.11 support 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>
2021-12-10dpdk/21.11: add recipeNaveen Saini
Release notes: https://doc.dpdk.org/guides-21.11/rel_notes/release_21_11.html Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-12-08dpdk-module: replace random_ether_addr() with eth_random_addr()Yongxin Liu
random_ether_addr() is finally removed in kernel commit ba530fea8ca1 ("ethernet: remove random_ether_addr()"). Backport commit e6cbfd9bf30b ("kni: update kernel API to set random MAC address") from dpdk repo to use eth_random_addr() instead. Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-28dpdk/19.11: upgrade 19.11.5 -> 19.11.9honisterAnuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-20dpdk-kmods: use https protocolNaveen Saini
Fetch src over https url. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-13dpdk-kmods: add recipe for igb_uio kernel moduleNaveen Saini
It provides UIO kernek driver for Intel IGB PCI cards. http://git.dpdk.org/dpdk-kmods/ Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-03layer.conf: add honister to LAYERSERIES_COMPATAnuj Mittal
Mark the layer as compatible with honister and remove gatesgarth. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-03Convert to using new override syntaxAnuj Mittal
Use the script convert-overrides.py to convert to new syntax. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-06-25dpdk: fix finding librtMohamad Noor Alim Hussin
The generated pkg-config libdpdk.pc file has the output with full path of librt such as <builddir>/recipe-sysroot/usr/lib/librt.so instead of -lrt. This will cause an issue when compile DPDK app with static library as the librt is not found with the hardcode path in the libdpdk.pc file. Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>