summaryrefslogtreecommitdiffstats
path: root/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* dpdk/22.07.0: add recipeNaveen Saini2022-10-252-0/+134
| | | | | | | https://git.dpdk.org/dpdk/ Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: inherit pkgconfigNaveen Saini2022-10-131-1/+1
| | | | | | | 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>
* dpdk-module/21.11: ignore CVE-2021-3839 and CVE-2022-0669Yogesh Tyagi2022-09-191-0/+9
| | | | | | | 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>
* dpdk: ignore CVE-2022-0669Yogesh Tyagi2022-09-081-0/+3
| | | | | | | | 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>
* dpdk-module/21.11 : update version to 21.11.2Yogesh Tyagi2022-09-062-32/+1
| | | | | | | | 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>
* dpdk/21.11 : update version to 21.11.2Yogesh Tyagi2022-09-062-173/+1
| | | | | | | | 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>
* dpdk-module/20.11 : update version to 20.11.6Yogesh Tyagi2022-09-062-46/+1
| | | | | | | | 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>
* dpdk/20.11: update to v20.11.6Yogesh Tyagi2022-09-061-1/+1
| | | | | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: ignore CVE-2021-3839Yogesh Tyagi2022-09-051-0/+6
| | | | | | | 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>
* dpdk/21.11: fix illegal instruction on non-AVX CPUYongxin Liu2022-07-132-0/+172
| | | | | | | | | | | 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>
* dpdk-module: use netif_rx() instead of netif_rx_ni()Mingli Yu2022-05-192-0/+31
| | | | | | | | | | | | | | 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>
* dpdk/20.11: update to v20.11.5Naveen Saini2022-05-063-38/+2
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/21.11: update to v21.11.1Naveen Saini2022-05-062-2/+2
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Update LICENSE variable to use SPDX license identifiersYongxin Liu2022-03-222-2/+2
| | | | | | | | | | | | | | | | 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>
* dpdk-module: Set its COMPATIBLE_MACHINE and COMPATIBLE_HOST to align with dpdkHe Zhe2022-01-262-0/+8
| | | | | | | | | 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>
* dpdk: use += with FILES when packaging PNAnuj Mittal2021-12-131-1/+1
| | | | | | | | 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>
* dpdk/19.11: drop recipeNaveen Saini2021-12-103-274/+0
| | | | | | | 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>
* dpdk/21.11: add recipeNaveen Saini2021-12-103-0/+151
| | | | | | | | 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>
* dpdk-module: replace random_ether_addr() with eth_random_addr()Yongxin Liu2021-12-082-0/+45
| | | | | | | | | | 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>
* dpdk/19.11: upgrade 19.11.5 -> 19.11.9honisterAnuj Mittal2021-08-284-169/+2
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-kmods: use https protocolNaveen Saini2021-08-201-1/+1
| | | | | | | Fetch src over https url. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-kmods: add recipe for igb_uio kernel moduleNaveen Saini2021-08-131-0/+26
| | | | | | | | | 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>
* Convert to using new override syntaxAnuj Mittal2021-08-033-22/+22
| | | | | | Use the script convert-overrides.py to convert to new syntax. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: fix finding librtMohamad Noor Alim Hussin2021-06-252-0/+36
| | | | | | | | | | | | | | 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>
* dpdk: fix build with GCC 11Mingli Yu2021-06-102-1/+58
| | | | | | | | | | Fixes: | In function 'memset', | inlined from 'test_table_stub' at test_table_tables.c:151:4: | /buildarea/tmp/work/intel_x86_64-wrs-linux/dpdk/19.11.5-r0/recipe-sysroot/usr/include/bits/string_fortified.h:59:10: error: '__builtin_memset' offset [0, 31] is out of the bounds [0, 0] [-Werror=array-bounds] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/20.11: disable afxdp PACKAGECONFIG by defaulthardknottAnuj Mittal2021-05-071-1/+1
| | | | | | libbpf is in meta-oe and dpdk layer doesn't depend on oe layer. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/20.11: Enable libbpf PACKAGECONFIG for AF_XDP driverMohamad Noor Alim Hussin2021-05-071-0/+2
| | | | | | | | AF_XDP driver depend of libbpf. Enable it so that AF_XDP driver can be compiled. Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/20.11: add libvirt PACKAGECONFIGZqiang2021-04-261-0/+2
| | | | | | | | | Fix follow warning "WARNING: dpdk-20.11.1-r0 do_configure: QA Issue: dpdk: invalid PACKAGECONFIG: libvirt [invalid-packageconfig]" Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-module: add recipeNaveen Saini2021-04-162-0/+119
| | | | | | | This recipe builds rte_kni.ko module Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/20.11: add recipeNaveen Saini2021-04-162-0/+102
| | | | | | | | | | kernel module is provided using seperate dpdk-module recipe. Release notes: https://doc.dpdk.org/guides-20.11/rel_notes/release_20_11.html Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/18.11: drop recipeNaveen Saini2021-04-163-213/+189
| | | | | | | Re-structured .inc and .bb Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/19.11: fix binding for built-in kernel driversYongxin Liu2020-12-082-1/+56
| | | | | | | | | | | | | Since commit 681a67288655 ("usertools: check if module is loaded before binding") in dpdk, usertools/dpdk-devbind.py only checks dynamic kernel drivers in /sys/module. So built-in kernel driver cannot be bound. Add "usertools-devbind-fix-binding-for-built-in-kernel-dr.patch" to fix this issue. Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: update to 19.11.5Lee Chee Yang2020-10-141-1/+1
| | | | | | | | | | | | | | | updates also fixed these CVE's - CVE-2020-14374 - CVE-2020-14375 - CVE-2020-14376 - CVE-2020-14377 - CVE-2020-14378 see: http://inbox.dpdk.org/announce/73386a14-6e5a-83e4-051d-125b5c5fe5d9@intel.com/T/#u Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: update to 18.11.10Lee Chee Yang2020-10-141-1/+1
| | | | | | | | | | | | | | | updates also fixed these CVE's - CVE-2020-14374 - CVE-2020-14375 - CVE-2020-14376 - CVE-2020-14377 - CVE-2020-14378 see: http://inbox.dpdk.org/announce/73386a14-6e5a-83e4-051d-125b5c5fe5d9@intel.com/T/#u Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: Backport to fix build failure for kernel v5.9He Zhe2020-09-242-0/+56
| | | | | | | | | kernel/linux/kni/kni_dev.h:104:8: error: too many arguments to function 'get_user_pages_remote' 104 | ret = get_user_pages_remote(tsk, tsk->mm, iova, 1, | ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 19.11.2 -> 19.11.3Anuj Mittal2020-09-021-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: replace the "mater" with "main"Yanfei Xu2020-09-011-1/+1
| | | | | | | | Upstream renamed branch name 'master' to 'main', so let's change it. Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 18.11.7 -> 18.11.8Anuj Mittal2020-05-211-1/+1
| | | | | | | | | | | | Fixes: - CVE-2020-10722 - CVE-2020-10723 - CVE-2020-10724 - CVE-2020-10725 - CVE-2020-10726 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 19.11.1 -> 19.11.2Anuj Mittal2020-05-211-1/+1
| | | | | | | | | | | | Fixes: - CVE-2020-10722 - CVE-2020-10723 - CVE-2020-10724 - CVE-2020-10725 - CVE-2020-10726 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: fix compile failure on gcc10Hongxu Jia2020-05-211-0/+3
| | | | | | | | | | | | | | | Since oe-core upgraded gcc to 10.1, there is a failure ... |path_to_dpdk/19.11.1-r0/git/examples/ipsec-secgw/ipsec_process.c:131:34: error: 'grp.m' may be used uninitialized in this function [-Werror=maybe-uninitialized] | 131 | grp[n].cnt = pkts + i - grp[n].m; ... Add option `-Wno-error=maybe-uninitialized' to workaround Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: RDEPENDS on pciutilsÉloi Bail2020-05-011-1/+1
| | | | | | | | dpdk-devbind tool relies on lspci tool with specific options which are not provided by lspci from busybox. Signed-off-by: Eloi Bail <eloi.bail@savoirfairelinux.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/19.11: upgrade 19.11.0 -> 19.11.1Anuj Mittal2020-04-202-60/+3
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/18.11: upgrade 18.11.5 -> 18.11.7Anuj Mittal2020-04-201-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: Backport to fix build failure for kernel v5.6He Zhe2020-03-252-0/+59
| | | | | | | | | | | kernel/linux/kni/kni_net.c:786:20: error: initialization of 'void (*)(struct net_device *, unsigned int)' from incompatible pointer type 'void (*)(struct net_device *)' [-Werror=incompatible-pointer-types] 786 | .ndo_tx_timeout = kni_net_tx_timeout, | ^~~~~~~~~~~~~~~~~~ Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: fix do_install error for test programsYi Zhao2020-02-251-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | The commit 8c2fb513234a599edb481f74f74cafe09561a4ee introduces an error when installing test programs: /buildarea//build/tmp/work/intel_corei7_64-poky-linux/dpdk/19.11.0-r0/git/x86_64-native-linuxapp-gcc/lib/librte_eal.a(eal_memory.o): In function `eal_legacy_hugepage_init': eal_memory.c:(.text+0x1f71): undefined reference to `memfd_create' /buildarea/build/tmp/work/intel_corei7_64-poky-linux/dpdk/19.11.0-r0/git/x86_64-native-linuxapp-gcc/lib/librte_eal.a(eal_memalloc.o): In function `get_seg_fd.constprop.0': eal_memalloc.c:(.text+0x61f): undefined reference to `memfd_create' eal_memalloc.c:(.text+0x696): undefined reference to `memfd_create' /buildarea/build/tmp/work/intel_corei7_64-poky-linux/dpdk/19.11.0-r0/git/x86_64-native-linuxapp-gcc/lib/librte_eal.a(eal_memalloc.o): In function `eal_memalloc_init': eal_memalloc.c:(.text+0x21ad): undefined reference to `memfd_create' /buildarea/build/tmp/work/intel_corei7_64-poky-linux/dpdk/19.11.0-r0/git/x86_64-native-linuxapp-gcc/lib/librte_pmd_memif.a(rte_eth_memif.o):rte_eth_memif.c:(.text+0xbc3): more undefined references to `memfd_create' follow collect2: error: ld returned 1 exit status The test programs have been complied and install to ${S}/test/app directory. We just need to ship them to ${D} directory. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Revert "dpdk: Add check against necessary kernel options"He Zhe2020-02-241-5/+0
| | | | | | | | | | | | This reverts commit c29b7a480ad3e5308a1ecffa8225eeec624f68bc. Unfortunely, the reverted commit does not work in every cases. If KERNEL_FEATURES was set in somewhere else other than a global configuration, for example in kernel's bbappend, there would be no way for dpdk recipe to detect if the wanted feature has been enabled. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>