aboutsummaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2025-01-21dpdk: bump to DPDK 24.11.1Vladimir Smirnov2-4/+6
Bump DPDK version to 24.11.1. Reason behind going for 24.11.1 is that 24.11 was affected by CVE-2024-11614 which was fixed in the point release. Type: feature Change-Id: Ic49a35fe7ac782679df39145e3adfd06f047b031 Signed-off-by: Vladimir Smirnov <civil.over@gmail.com>
2025-01-17af_xdp: revert "af_xdp: fix af_xdp compile waring for clang compiler"Benoît Ganne3-55/+26
This reverts commit 38097970c038de6c3c67cb8e1c7209f1df1f24d0. Type: fix Change-Id: I2401eff6d1558f0f95b8b0c88b6b5d174acbb0ef Signed-off-by: Benoît Ganne <bganne@cisco.com>
2025-01-17af_xdp: fix af_xdp compile waring for clang compilerfenglei3-26/+55
Type: fix - add check variable undefine init flags for gcc and clang compiler - disable compile xdp-dump Change-Id: Icd2b81ec5cd5dc66db395a69f8af889635f664e0 Signed-off-by: fenglei <1579628578@qq.com>
2025-01-17dpdk: update rdma-core to 55.0Vladimir Smirnov2-3/+3
Newer version of RDMA contains some bugfixes. Type: feature Change-Id: I4cd6bc7608bbadd99cdddc7b97646df1583b6ce6 Signed-off-by: Vladimir Smirnov <civil.over@gmail.com>
2025-01-15octeon: update octeon roc versionMonendra Singh Kushwaha1-2/+2
Type: feature Change-Id: I9f3044aec29a611d4735001ff1943772b7035711 Signed-off-by: Monendra Singh Kushwaha <kmonendra@marvell.com>
2025-01-08build: allow to redefine max_lcores for DPDKVladimir Smirnov1-1/+9
In current versions of DPDK (at least as of 24.11), max amount of cores available determined at compile_time. Unless machine type 'native' is used, it is statically set per platform and for most of them equals to 128. Add a new option to allow user to redefine max amount of lcores available to DPDK. Type: make Change-Id: Ic4356e12ca75a5c84aeb3bee72de432a23aa6f8a Signed-off-by: Vladimir Smirnov <civil.over@gmail.com>
2024-12-18build: archive install-*-deps logs when run in ciDave Wallace1-1/+4
Type: make Change-Id: Id779d7c90a920926d40d241afb89bcb9312bcfc1 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-12-05build: upgrade to openssl 3.4.0 in vpp-opts-deps packageDave Wallace1-2/+2
Type: make Change-Id: I8f801057f9f4b10d50f6ace5541e726f75f262e8 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-26build: add SHA256 checksums for downloaded dependenciesAndrew Yourtchenko8-31/+17
- Replace md5sum with sha256sum for verification of downloaded external and optional dependencies. Type: improvement Change-Id: I52c96098d3cfd4c1eaf599da44a7b859ad24f1a4 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-22build: separate package suffixes for vpp-ext-deps and vpp-opt-depsDave Wallace3-1/+4
Type: make Change-Id: Icc8b4937ed98474da9d27668318a2a9e3d4a3ae5 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-20build: add vpp-opt-deps packageDave Wallace10-43/+302
- Build an optional vpp package for optional dynamically linked dependencies for vpp plugins. Initial package contents include openssl 3.3.2. - Refactor $WS_ROOT/build makefile structure - Remove vpp-ext-deps debian control replacement of vpp-dpdk-dev package Type: make Change-Id: I1af0eff4a0c009c9d9061362f79e2013d8bf1a93 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-19quic: update to quicly version 0.1.5Dave Wallace3-2/+62
Type: improvement Change-Id: I7c9c91a9c4d3ac2499e42eedda0a5d395bdf5912 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-07crypto-ipsecmb: bump to ipsecmb v2.0Marcel Cornu1-1/+2
Type: feature This patch bumps ipsecmb library version from 1.5 to 2.0 Signed-off-by: Marcel Cornu <marcel.d.cornu@intel.com> Change-Id: Iceb546cbb00cbd92cab7edeb85f9545284fcbd4c
2024-10-01build: fix dpdk mellanox driver build settingDave Wallace2-1/+4
- dpdk mellanox driver setting requires rdma-core.mk is included before dpdk.mk makefile. Include check for rdma-core_version variable definition in dpdk.mk to prevent a re-occurance of this issue. Type: fix Fixes: 70522a1dc Change-Id: I297cbd734ac7abe970eac7fb317d06b7acfc5a40 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-09-25dpdk: Enable dpdk build on FreeBSDTom Jones1-4/+4
Type: improvement Change-Id: If897f3bdfc131f8d7c01718057b54087eff02d7a Signed-off-by: Tom Jones <thj@freebsd.org>
2024-09-20build: archive make install-ext-deps build logs in ciDave Wallace2-3/+9
- also add build/external artifacts to .gitignore file Type: make Change-Id: I9c8f4a312bbfddfa8024531e7246518c8c3589a4 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-09-16dpdk: bump to DPDK 24.07 and RDMA 52.0Kai Ji3-2/+5
This patch bumps DPDK version to 24.07 and RDMA version per dpdk 24.07 release notes (rdma-core >= 52.0) Type: feature Change-Id: I07c6f27becdbcd3696b821bbfd145610775cf51e Signed-off-by: Kai Ji <kai.ji@intel.com>
2024-06-10build: Fix makefile syntaxRenato Botelho do Couto2-2/+2
Type: fix Change-Id: I29f679ffbc14242d9e7e5284b698b86a70fbbef6 Signed-off-by: Renato Botelho do Couto <renato@netgate.com>
2024-06-10build: Use $(MAKE) instead of direct call to makeRenato Botelho do Couto3-6/+6
No functional changes, just make it to respect original make binary name used to start building Type: improvement Change-Id: Ic8568237fbb39c6a0d3b7405a9670e9410aeb752 Signed-off-by: Renato Botelho do Couto <renato@netgate.com>
2024-06-10build: bump octeon-roc version to 0.5Monendra Singh Kushwaha1-4/+4
This patch enables vf device promiscuous mode feature in octeon-roc except SDP vf and LBK devices. Type: feature Change-Id: I221f64ba0bb768191e2228dab132166a8a3326c3 Signed-off-by: Monendra Singh Kushwaha <kmonendra@marvell.com>
2024-05-28octeon: add support for Marvell Octeon9 SoCMonendra Singh Kushwaha1-2/+2
Type: feature Signed-off-by: Monendra Singh Kushwaha <kmonendra@marvell.com> Change-Id: I5db58b8ec41b45596bc03b4a336a184c17871294
2024-05-06dpdk: Don't depend on rdma-core on FreeBSDTom Jones1-1/+4
Type: improvement Change-Id: Icad058df22d3f9d65b086215cc17b1ab32d59eb8 Signed-off-by: Tom Jones <thj@freebsd.org>
2024-05-06dpdk: Use gnu sed on FreeBSD for header fix upsTom Jones1-3/+8
FreeBSD sed isn't compatible with gnu seds in place option. On FreeBSD explicitly use gsed, on Linux and other platforms this is available just as 'sed'. Type: improvement Change-Id: I6e4fcaf11d4d22cd3e4cd0c3327b16393542845f Signed-off-by: Tom Jones <thj@freebsd.org>
2024-04-24dpdk: bump rdma-core to 51.0Dave Wallace2-3/+3
- Per dpdk 24.03 release notes (rdma-core >= 50.0) Type: feature Change-Id: Ieed077dc9b54cc1c59c75ebdbccfc683c7636222 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-04-24dpdk: bump to DPDK 24.03Kai Ji1-1/+2
This patch bumps DPDK version to 24.03 Type: feature Change-Id: I4d7d1348f905579ece3cbe4ab89873abd212c636 Signed-off-by: Kai Ji <kai.ji@intel.com>
2024-04-24dpdk: Disable building FreeBSD kernel modulesTom Jones1-0/+1
Disable building the FreeBSD kernel modules, while these are required to run, this dpdk step will fails inside the vpp build. If the build succeeded this step would try to install the kernel modules as root in the vpp build which also isn't desirable. For packaging the kernel modules should be provided in a seperate package rather than through the vpp build process. Type: improvement Change-Id: I01f1ae2845445e2babad380b675054b80d4b325b Signed-off-by: Tom Jones <thj@freebsd.org>
2024-03-26build: Detect number of CPUs for build processes on FreeBSDTom Jones1-0/+4
Type: improvement Change-Id: Ia3a00266f47f0c3e567efa143ef08bf4e8cffe35 Signed-off-by: Tom Jones <thj@freebsd.org>
2024-02-19build: bump octeon-roc version to 0.3Monendra Singh Kushwaha1-2/+2
This patch updates cache line size in octeon-roc library. Type: fix Signed-off-by: Monendra Singh Kushwaha <kmonendra@marvell.com> Change-Id: Ifbb6e7d2a5436a88ef10d22c414112edc23e0b35
2024-02-13build: Limit external libraries on FreeBSDTom Jones1-0/+10
Limit the libraries we build on FreeBSD. This change intends to get us closer to building on FreeBSD, DPDK will require a larger set of changes so remove it until those changes are ready to integrate. Type: improvement Change-Id: I0f672a2b5bc30f2228020049fa71a81a2569ef54 Signed-off-by: Tom Jones <thj@freebsd.org>
2024-01-21build: Explicitly use gmakeTom Jones1-4/+3
VPP requires GNU Make to build, on GNU systems (such as Debian), GNU Make is installed as 'make', typically with a symlink from 'gmake'. On other systems (such as FreeBSD), 'make' is a BSD Make derriviative and GNU Make is installed a 'gmake'. Use $(MAKE) variable for make calls from within Makefiles. This variable is set to the path of the calling make program, i.e., /usr/local/bin/gmake on a bsd system. This is the recommended way to call make from Makefiles in the GNU Make documentation. Type: improvement Change-Id: Id9162a34a0f8358f22090718087918dae31c0fce Signed-off-by: Tom Jones <thj@freebsd.org>
2024-01-19build: Explicitly use bash for shell scriptsTom Jones1-1/+1
VPP requires bash for all shell scripts. Align shebang lines in build and test scripts to look up the location of bash rather than hard coding '/bin/bash'. Look up the location of bash for makefiles. Type: improvement Change-Id: I23b705d81d60389fa8af61c680cf0abd74f0ea24 Signed-off-by: Tom Jones <thj@freebsd.org>
2024-01-19af_xdp: Backport xdp-tools fix transposed calloc() argumentsnucleo1-0/+54
Fixes compilation error with GCC 14 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument Type: fix Change-Id: Ie328ecc711976547df2cffe17325b786bc7a8849 Signed-off-by: nucleo <alekcejk@googlemail.com>
2024-01-17octeon: native driver for Marvell Octeon SoCDamjan Marion2-1/+29
Type: feature Change-Id: I6898625c4e8854f777407dac3159e4c639a54860 Signed-off-by: Monendra Singh Kushwaha <kmonendra@marvell.com> Signed-off-by: Damjan Marion <damarion@cisco.com>
2024-01-11crypto: align host and VPP IPsec-mb libRanjan Raj1-0/+18
Ensure alignment between the Intel IPsec-mb library on the host and VPP targets.If the version of Intel ipsec-mb on the host is misaligned with the targets,terminate the compilation process to prevent potential library linkage issues. Type: fix Change-Id: I38864115d59ae09fb5556ad4a29e884ebace8155 Signed-off-by: Ranjan Raj <ranjanx.raj@intel.com>
2023-12-12dpdk: bump rdma-core to 49.0Dave Wallace2-4/+3
- Per dpdk 23.11 release notes (rdma-core >= 48.0) Type: feature Change-Id: I6f73fdfd2226c501d22cd16e5c47500ff05fbff3 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2023-12-07crypto-ipsecmb: bump intel-ipsec-mb version to 1.5Ranjan Raj1-1/+2
This patch update the Intel IPsec-MB lib to v1.5 Type: feature Change-Id: Ib2b5d28866f52d428d9400318cffcae11f935c3f Signed-off-by: Ranjan Raj <ranjanx.raj@intel.com>
2023-12-07dpdk: bump to DPDK 23.11Kai Ji1-1/+2
This patch bumps DPDK version to 23.11 Type: feature Change-Id: Id19fa6e2789ffa3264614a011656dfe2303173ab Signed-off-by: Kai Ji <kai.ji@intel.com>
2023-10-26build: allow for reproducible buildsAndrew Yourtchenko1-1/+2
Setting and using the SOURCE_DATE_EPOCH variable takes care of most of the magic necessary. https://reproducible-builds.org/docs/source-date-epoch/ vpp-ext-deps packages after this change is being built with that date set to date of the last modification of the subtree (similar logic to deriving the "number" for the package version) For the rest of the packages, pinning the following three variables should result in bit-identical artifacts across multiple runs: export SOURCE_DATE_EPOCH=$(date +%s) export VPP_BUILD_HOST="buildhost" export VPP_BUILD_USER="builduser" Add a blurb in the docs describing this new functionality. Type: improvement Change-Id: I71b085f0577b2358aa98f01dafd8e392239420a6 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
2023-10-24dpdk: fix variable type in pattern parsingTing Xu1-0/+63
In current pattern parsing function in DPDK, some of the variables of packet length are defined as uint8_t, which are too small for some large-size packets, such as srv6. Change the type to uint16_t. Type: fix Signed-off-by: Ting Xu <ting.xu@intel.com> Change-Id: I06819e9716da098ca456c0405f0e6fd9a8eb0bc9
2023-09-26crypto-ipsecmb: bump intel-ipsec-mb version to 1.4Ranjan Raj1-3/+2
Type: feature This patch update the Intel IPsec-MB lib to v1.4 Remove v0.54 and v0.55 support, as the compatible IMB APIs are deprecated in v1.4 Signed-off-by: Ranjan Raj <ranjanx.raj@intel.com> Change-Id: I01f71134c6bd17a68ec20b7bb4b0b0ff43fc644b
2023-08-17dpdk: Newer meson 0.55.3nucleo1-2/+2
Fixes error with python 3.12 No module named 'pkg_resources' 'import pkg_resources' removed in 0.55.3 Type: fix Change-Id: I15c8cf195fd07a0eb2f3b58f895ef4b26cc17b90 Signed-off-by: nucleo <alekcejk@googlemail.com>
2023-08-14dpdk: bump rdma-core to 46.1Dave Wallace2-5/+3
- Per dpdk 23.07 release notes (rdma-core >= 46.0) Type: feature Change-Id: I7c15e15e1cf4b6f652711f9446d9f8324f6c4092 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2023-08-14dpdk: bump to DPDK 23.07Kai Ji1-1/+2
This patch bumps DPDK version from 23.03 to 23.07. Type: feature Change-Id: I15140cecd008bfafb358f6348a1cb8fc08f70f02 Signed-off-by: Kai Ji <kai.ji@intel.com>
2023-05-09rdma: bump version to 45.0Dave Wallace2-1/+13
- Update rdma-core library to 45.0 to work with DPDK 23.03 Type: feature Change-Id: I6bd54c509b93de905e1b0194dce414e4a6e11990 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2023-05-09dpdk: bump to DPDK 23.03Xinyao Cai1-2/+2
This patch bumps DPDK version from 22.11 to 23.03. Type: feature Signed-off-by: Xinyao Cai <xinyao.cai@intel.com> Change-Id: I10203a6408ceb5a40fe392924130652b91ebc993
2023-05-09dpdk: code preparation for bumping to DPDK 23.03Xinyao Cai1-0/+54
This patch prepares code for bumping DPDK version to 23.03, but the DPDK version of this patch keeps at 22.11 for compatibility. the "no-dsa" parameter in DPDK configuration is removed, the "blacklist" parameter can be used to block the related DSA devices. Type: feature Signed-off-by: Xinyao Cai <xinyao.cai@intel.com> Change-Id: I589afba165e85138437e731531414a033f64f8d3
2023-05-04dpdk: correct build to include rdma driverDave Wallace1-1/+1
Type: fix Change-Id: I23ef347adc97d7d806acf98c3dcdbe80f2a03441 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2023-05-01rdma: bump to 43.0Alexander Kozyrev2-2/+4
Update rdma-core library to 43.0 to work with DPDK 22.11. Type: feature Change-Id: Iad8bb9c7745dd5bc5f8c0935a31362fd92447ff6 Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
2023-04-27dpdk: bump to DPDK 22.11Xinyao Cai1-2/+3
This patch bumps DPDK version from 22.07 to 22.11. Type: feature Signed-off-by: Xinyao Cai <xinyao.cai@intel.com> Change-Id: I82df2c0678e1cc1b3739a5b0677f0c4a4180a489
2023-04-25dpdk: code preparation for bumping to DPDK 22.11Xinyao Cai1-0/+54
This patch prepares code for bumping DPDK version to 22.11, but the DPDK version of this patch keeps at 22.07 for compatibility. the "no-dsa" parameter in DPDK configuration is removed, the "blacklist" parameter can be used to block the related DSA devices. Type: feature Signed-off-by: Xinyao Cai <xinyao.cai@intel.com> Change-Id: I08787c6584bba66383fc0a784963f33171196910