summaryrefslogtreecommitdiffstats
path: root/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* dpdk: Fix dpdk18 build with CONFIG_NAMEHe Zhe2020-02-182-1/+4
| | | | | | | | 5eba511c5e0b ("dpdk: add recipe for 19.11") introduces CONFIG_NAME and TEST_DIR for dpdk19 but not for dpdk18. Fix it. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: Add check against necessary kernel optionsHe Zhe2020-02-181-0/+5
| | | | | | | | | dpdk requires kernel option features/intel-dpdk/intel-dpdk.scc to build. We'd better warn users in advance before they meet some confusing errors at compile-time. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: set CVE_PRODUCTAnuj Mittal2020-02-041-0/+2
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: add recipe for 19.11Anuj Mittal2020-01-302-9/+28
| | | | | | | | | | | | Introduce recipe to build 19.11 LTS. This version changes the location of test directory to be under app and also changes the name of config file to common_linux. Introduce variables in shared inc to control these two differences. These are set to values used by earlier versions by default. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk/17.11: removeAnuj Mittal2020-01-303-107/+0
| | | | | | | | 17.11 LTS will be end of life in Jan 2020. https://core.dpdk.org/roadmap/ Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: simplify test installationAnuj Mittal2020-01-291-10/+1
| | | | | | | Use Makefile target to install tests instead of the current error prone method. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 17.11.8 -> 17.11.9Anuj Mittal2020-01-291-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 18.11.4 -> 18.11.5Anuj Mittal2020-01-291-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: RDEPENDS on python3 instead of python2Anuj Mittal2020-01-291-1/+5
| | | | | | Also make sure that scripts use python3. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 18.11.2 -> 18.11.4Anuj Mittal2019-11-131-1/+1
| | | | | | Also includes fix for CVE-2019-14818. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 17.11.6 -> 17.11.8Anuj Mittal2019-11-131-1/+1
| | | | | | Also includes fix for CVE-2019-14818. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: support usrmergeChangqing Li2019-09-041-1/+1
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: Fix exmples and test _FORTIFY_SOURCE build failureHe Zhe2019-07-191-2/+2
| | | | | | | | | | | | | | | When building examples and tests with GCC9, the following errors come up, error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] 382 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc1: all warnings being treated as errors dpdk itself already appends -O3 the EXTRA_CFLAGS for some of those cases, but dpdk.inc overwrites EXTRA_CFLAGS when evoking make. This patches adds it back. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: Remove 18.05He Zhe2019-07-054-167/+0
| | | | | | | | We have already had 18.11 and 18.05 is not a stable version. This patch also removes the patches no longer needed. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 18.11.1 -> 18.11.2Anuj Mittal2019-06-131-5/+1
| | | | | | And remove backported patch from recipe. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade 17.11.3 -> 17.11.6Anuj Mittal2019-06-122-85/+6
| | | | | | | Also remove upstreamed patches and prevent the host app from getting installed. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: mk: disable warning for packed member pointerHe Zhe2019-06-113-0/+53
| | | | | | | | | | | | | Backport a patch from upstream to fix the following build failure. x86_64-native-linuxapp-gcc/include/rte_ether.h:178:2: error: converting a packed 'const struct ether_addr' pointer (alignment 1) to a 'unaligned_uint16_t' {aka 'const short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Werror=address-of-packed-member] | 178 | const unaligned_uint16_t *ea_words = (const unaligned_uint16_t *)ea; | | ^~~~~ Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Introduce the v18.11.1 bbwarriorKevin Hao2019-05-271-0/+15
| | | | | | | This is the latest LTS version. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Move two patches to the version specific bbKevin Hao2019-05-273-3/+7
| | | | | | | | These two patches can't be applied to the new version DPDK, so move them to the version specific bb. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk_18.05: Make the LICENSE more accurateKevin Hao2019-05-271-1/+1
| | | | | | | Adjust the LICENSE according to the license files. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: package helper makefilesAnuj Mittal2019-03-291-0/+3
| | | | | | | | | Install helper makefiles [1] that might be helpful when compiling apps with SDK or on target. [1] https://doc.dpdk.org/guides/prog_guide/dev_kit_build_system.html#makefile-description Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: support build with external & multilib toolchainsArsalan H. Awan2018-10-031-4/+4
| | | | | | | | | | | | | | | This fixes dpdk build when using an external toolchain by adding the HOST_CC_ARCH & TOOLCHAIN_OPTIONS to EXTRA_CFLAGS the way standard Yocto does it to gather all the necessary flags for compilation. The TOOLCHAIN_OPTIONS variable also provides the sysroot flag, so no need to explicitly provide the sysroot. This commit also fixes the build when using a multilib toolchain by adding the LDEMULATION flags to the LDFLAGS via TUNE_LDARGS which are required while linking with a multilib toolchain. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
* dpdk: Install the examples&test app in a dpdk specific directoryKevin Hao2018-09-211-1/+5
| | | | | | | | | | | | | | Currently the examples&test applications would be installed into directories like: /usr/share/examples /usr/share/test These directories just seem too general, so change them to: /usr/share/dpdk/examples /usr/share/dpdk/test Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-dev-libibverbs: removeAnuj Mittal2018-09-077-292/+2
| | | | | | | | | | The upstream repo has been taken down and the role of libibverbs has been taken over by rdma-core instead [1][2]. [1] https://www.openfabrics.org/downloads/verbs/README.html [2] https://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git/tree/README Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk-dev-libibverbs: fix do_fetch errorChangqing Li2018-09-031-1/+1
| | | | | | | | | | | | | | original URI have been deleted(don't know why). Here I just use yocto source mirror to fix fetch error. But it should be replace by offcial libibverbs here: "https://github.com/linux-rdma/ rdma-core/tree/master/libibverbs". Since I don't have condition to test dpdk function, I can only go far to build success, and seems there is big change between source on yocto mirror and the offcial libibverbs, so for now, just use the mirror. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: Upgrade to 17.11.3He Zhe2018-08-172-1/+85
| | | | | | | And add strncpy warning/error fixes for GCC8 Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: upgrade to 18.05Tan, Raymond2018-06-191-1/+1
| | | | | | | This patch upgrades DPDK to the latest release of v18.05. Signed-off-by: Tan, Raymond <raymond.tan@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dpdk: Set the correct RTE_TARGET for x86 machinesKevin Hao2018-04-301-1/+1
| | | | | | | | | The TARGET_ARCH may be different for different x86 machines, for example i586(qemux86) and i686(genericx86). So choose the "x86" override to set the correct RTE_TARGET for these machines. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
* dpdk: Fix the self reference error when building with unsupported archKevin Hao2018-04-301-4/+4
| | | | | | | | | Fix the following parse error when building with unsupported arch, such as arm: bb.data_smart.ExpansionError: Failure expanding variable RTE_TARGET, expression was ${RTE_TARGET} which triggered exception Exception: variable RTE_TARGET references itself! Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>