summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2022-01-12dpdk: bump to DPDK v21.11Damjan Marion1-1/+2
Type: feature This patch bumps dpdk version from 21.08 to 21.11 Change-Id: Id37fdba75f1ea4f4eac3c92226f3b1c539e1daca Signed-off-by: Dastin Wilski <dastin.wilski@gmail.com> Signed-off-by: Damjan Marion <damarion@cisco.com>
2021-12-16af_xdp: bump libbpf version to 0.5Benoît Ganne1-2/+2
Type: improvement Change-Id: Ia089a82a460b69e0edf69c8b8d3dc2814fa54c35 Signed-off-by: Benoît Ganne <bganne@cisco.com>
2021-11-30rdma: bump to rdma-core 38.0Benoît Ganne1-2/+2
Type: improvement Change-Id: Ibe3e6f342f3713fa814b684e04a066a3248669d8 Signed-off-by: Benoît Ganne <bganne@cisco.com>
2021-11-30rdma: fix rdma-core installBenoît Ganne1-3/+3
We should not install symlinks to local build directory. Type: fix Change-Id: I81e624dd5775ec9c5dd8c58f578ee51c5acfef73 Signed-off-by: Benoît Ganne <bganne@cisco.com>
2021-09-16dpdk: fix the outer ipv4 checksumMohsin Kazmi2-0/+110
Type: fix Change-Id: Ibc476b807ba0310f0cc926b0e386831ef0cbcc25 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2021-09-13build: verbose dpdk build requiring meson 0.55Nick Brown1-3/+7
allow verbose dpdk build to be enabled. Useful for tools, like debian blhc, that want to inspect build logs. The '--verbose' option to 'meson compile' requires at least version 0.55. Type: make Change-Id: I54e91298f632e2b91247680d9295701b05353abe Signed-off-by: Nick Brown <nickbroon@gmail.com>
2021-08-31dpdk: bump to 21.08Fan Zhang1-1/+2
Type: feature This patch bumps dpdk version from 21.05 to 21.08 Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: I8f655dae1489c11e7fb2ff86f8a91b597383bd99
2021-08-16dpdk: patch i40e PMD to disable source pruningMatthew Smith1-0/+43
Type: improvement X710/XL710 devices have source pruning enabled by default and DPDK provides no option to disable it. This prevents VRRP from working properly. Disable source pruning while setting up the main VSI. Change-Id: Iaf89f7dae8992e3bd0b9fae83878daa27a5bb931 Signed-off-by: Matthew Smith <mgsmith@netgate.com>
2021-07-28dpdk: fix cryptodev raw data path dequeueFan Zhang1-0/+40
This patch fixes the dpdk cryptodev raw data path dequeue problem. The fix involves DPDK QAT PMD changes and is to be upstreamed as a patch. The patch is also sent to DPDK mailing list. Type: fix Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: I1a9253c8a7fbc2aa43f19f90da45e64e2840356a
2021-06-22build: vpp-ext-deps rpm version check may fail if system language is not Englishjiangxiaoming1-1/+1
Type: fix Signed-off-by: Xiaoming Jiang <jiangxiaoming@outlook.com> Change-Id: Ib691d8f66b0d6047d23a0bdc4f3d15e6380f31eb
2021-05-27dpdk: bump to 21.05Fan Zhang1-3/+3
Type: feature This patch bumps DPDK version to 21.05 and updated VPP to accomodate the changes in DPDK latest version. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: If217441f70c9ab531196dca7ec7a486ec9931cff
2021-05-12quic: remove cmake --targetNathan Skrzypczak1-2/+1
Type: fix This isnt needed as we pass CMAKE_SKIP_INSTALL_ALL_DEPENDENCY Change-Id: I1406d84192efb9baedf7df680aca0b96bb0eef01 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2021-05-10rdma: bump to rdma-core v35.0Benoît Ganne1-17/+15
Type: improvement Change-Id: I5f7ff309aacbfd7a5a8a973bcc7ba04ba44923c5 Signed-off-by: Benoît Ganne <bganne@cisco.com>
2021-05-07build: bump ipsecmb version to 1.0Damjan Marion1-4/+2
Type: improvement Change-Id: If2c0db46805c0a8c995a76938f049568f57f7560 Signed-off-by: Damjan Marion <damarion@cisco.com>
2021-04-22quic: update quicly to v0.1.3Mathias Raoul5-5/+81
This bumps quicly version to v0.1.3 ( sha d44c089364067dbcdfbad7fb2c821900fb4aef5e in https://github.com/h2o/quicly ) Also simplifies the build to only make needed dependancies, and silence compiletime warnings Type: feature Change-Id: Ie00ec7e408d234464871b68ddc79bb33dc4179ed Signed-off-by: Mathias Raoul <mathias.raoul@gmail.com> Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2021-04-01dpdk: Update version to 21.02Kepka, Krzysztof1-4/+4
Update of DPDK to latest stable release. As this introduces new build dependency, it also adds install of pyelftools to the build step. (note however that flush of pip downloads cache dir is required) https://doc.dpdk.org/guides-21.02/rel_notes/release_21_02.html Type: improvement Signed-off-by: Kepka, Krzysztof <krzysztof.kepka@intel.com> Change-Id: I7ed2ca965f01c1062f5abc25ea428e8c1a016366
2021-01-22quic: quicly v0.1.2 updateMathias Raoul2-3/+63
- update quic plugin with new quicly/picotls API - remove packet allocator - remove crypto batching - update picotls plugin - add cli for quicly congestion control configuration Type: feature Change-Id: If76ef31c43b430eea2f7674539b2112aee0f351e Signed-off-by: Mathias Raoul <mathias.raoul@gmail.com>
2021-01-21dpdk: dpdk i40e patch cherry-pickChenmin Sun1-0/+134
This patch fixes flex payload flow creation failure issue Type: fix Signed-off-by: Chenmin Sun <chenmin.sun@intel.com> Change-Id: I3ac0a168dadd033a668d7bd6f5e78798aedb61a5
2021-01-20crypto: improve ipsecmb build timePiotrX Kleski1-1/+1
Type: improvement This change disables building of ipsecmb test and perf targets to reduce the build time. IpsecMB test and perf targets are not neeeded and not used by VPP. Signed-off-by: PiotrX Kleski <piotrx.kleski@intel.com> Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: I7c3449f7f4ce9a2e70ca21a00fd510691dab87d0
2021-01-20rdma: fix pkg_config fileMohammed Hawari1-0/+3
When building DPDK with rdma linkage, this patch avoids linking against useless verb providers. It also hard-codes the library directory to lib to fix CentOS behavior. Change-Id: I3acd94adf1b7e59e023346b3c254bd4bba6157df Type: fix Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
2020-12-11dpdk: bump to dpdk 20.11Fan Zhang1-2/+2
Type: feature This patch bumps DPDK to 20.11. In addtion a few changes are made: - Changed dynamic rx offload flag display. - Updated deprecating options. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: I6e4399d551a7eb8e1a9fc9ef6e39e74266450ad4
2020-12-07dpdk: support mlx drivers linked with rdma-coreMohammed Hawari3-7/+22
Change-Id: I8b8e4420f7643df95c27f4a4764809e8ddd2d12e Signed-off-by: Mohammed Hawari <mohammed@hawari.fr> Type: improvement
2020-11-26crypto: improve ipsecmb engine performanceFan Zhang1-0/+3
Type: improvement This patch improves ipsecmb engine performance by disabling safety features: SAFE_DATA, SAFE_PARAM, and SAFE_LOOKUP. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: I756edc54d6bc35a1b0e9383e94cba0f73cf663cb
2020-11-25dpdk: patch broken virtio macroMatthew Smith1-0/+42
Type: fix In DPDK 20.08, the macro ASSIGN_UNLESS_EQUAL(), which is defined in the virtio PMD code, is broken. It does not actually set the variable that is passed in to the value that is passed in. It just assigns the value to a local variable that it declares. This results in virtqueue_clear_net_hdr() failing to clear the fields in the virtio net header. This can cause packets which were sent over an IPsec tunnel and are subsequently transmitted on a virtio interface to have garbage in the virtio net header. Apply a post-20.08 patch from upstream to fix it. Change-Id: Ic53e89d859db628e26a3c1988e53b626fede94d7 Signed-off-by: Matthew Smith <mgsmith@netgate.com>
2020-11-23crypto-ipsecmb: bump to intel-ipsec-mb version 0.55Dariusz Kazimierski2-3/+18
Type: feature This patch bumps the intel-ipsec-mb engine version from 0.54 to 0.55, to avail performance improvement brought by the library. Signed-off-by: DariuszX Kazimierski <dariuszx.kazimierski@intel.com> Signed-off-by: PiotrX Kleski <piotrx.kleski@intel.com> Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: Iea114acc6e8e55020e7409ab2d1d00f4c2081e9c
2020-11-19build: bump libbpf to v0.2Benoît Ganne1-1/+2
Type: improvement Change-Id: Ic97ed8c8ef8ba3b1bf3727810e7312456c52d808 Signed-off-by: Benoît Ganne <bganne@cisco.com>
2020-11-19build: bump rdma-core to 31.1Benoît Ganne1-2/+2
Type: improvement Change-Id: I434d2013763e32bedf2188aea5b0c519ea0e06bb Signed-off-by: Benoît Ganne <bganne@cisco.com>
2020-11-04build: better detection of libbpf dependenciesBenoît Ganne1-4/+6
Type: fix Change-Id: Ib496e6eb0a76e6268aea09d5f4495f3ecd921ec2 Signed-off-by: Benoît Ganne <bganne@cisco.com>
2020-10-26dpdk: allow offline build by caching build-depsMohammed Hawari1-4/+6
Change-Id: I40262c640be24f4ca48a2e1461fbc2eb2b0c4c96 Type: fix Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
2020-10-23build: fix typo in dpdk-20.08 patch #0003Dave Wallace1-2/+2
Type: fix Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: Id0b3264e723f1df161a606e4dbdcd70c36d448a4 (cherry picked from commit ee3ea114961610476bac544a979fdee8278d2b9e)
2020-10-17build: backport dpdk usertools support python3 only patchDave Wallace2-1/+213
- On Centos-8, 'make install-ext-deps' fails due to the bpr-mangle-shebangs script failing the dpdk usertools python scripts containing '#!/usr/bin/env python'. Backport usertools section of the DPDK patch which fixes this issue: http://git.dpdk.org/dpdk/commit/?id=3f6f83626cf4967a99382a6518a614a1bf3d2c20 - Also fix README to reflect name change of dpdk master branch to 'main'. Type: fix Change-Id: I487b1ff2da786a4a3fd8fb0f859436b0e1885f1b Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2020-10-16misc: bump debian compatibility level to 10Damjan Marion1-1/+1
Level 9 is deprecated in new ubuntu release. Type: improvement Change-Id: I9376b5f7a1aa0860e35475c5d32f3626257d2f01 Signed-off-by: Damjan Marion <damarion@cisco.com>
2020-10-14crypto: fixed ipsec_mb lib dependenciesPiotrX Kleski4-4/+24
Type: fix This patch re-enables libIPSec_MB build for the ipsecmb crypto engine plugin. Also since DPDK meson build relies on system installed libIPSec_MB.so that may be inconsistent with VPP compiled one (system installed version vs VPP locally compiled version for example), this patch also disables all libIPSec_MB dependant PMDs from DPDK build. Also ipsec-mb version is incresed to 0.54. Signed-off-by: PiotrX Kleski <piotrx.kleski@intel.com> Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: I2ff9e7cd0c35cff9fa642895301a26a5350ea94e
2020-09-29dpdk: fix compileFan Zhang1-1/+3
Type: fix Since DPDK is now compiled by meson but some compiles in VPP is missing. This patch fixes that. - Fixes QAT PMD not compiled. QAT meson compile, even for sym crypto PMD, is happened in drive/compress/qat. Originally all PMDs in compressdev is disabled by default. This patch fixes that. - Fixes DPDK plugin version detection. DPDK meson build generates rte_build_config.h, which containing all version information in build-dpdk instead of rte_config.h in make. This patch uses the file to detect version data. - Removed SW crypto PMD auto-creation in cryptodev engine. In case the AESNI-MB PMD required shared library is missing. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: I7cd91abb5de303ff5e4c55cd05e011b57f883524
2020-09-18dpdk: prevent linking dpdk against libbsdMohammed Hawari1-1/+16
If libbsd is detected by the DPDK build system, DPDK does not provide implementations for strlcpy and dynamically link against the one provided by libbsd. When the DPDK plugin is loaded by VPP, a crash occurs because libbsd is not loaded by VPP. Type: fix Change-Id: Ib691bbe27edcf0f6f0a3d39952e439027cef72cb Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
2020-09-18dpdk: call the meson-based build instead of MakefilesMohammed Hawari2-271/+220
Type: feature Signed-off-by: Mohammed Hawari <mohammed@hawari.fr> Change-Id: I576d92605da6d43e9b9f12238b18a518a0d69385
2020-09-09crypto: change cryptodev with new cryptodev APIFan Zhang1-0/+1606
Type: feature This patch updateds cryptodev engine uses new DPDK Cryptodev API planned to be upstreamed in DPDK 20.11. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Signed-off-by: Piotr Bronowski <piotrX.bronowski@intel.com> Change-Id: I8dd1a8ac643f1e952deb787e466b76ea7aa5f420
2020-08-31af_xdp: AF_XDP input pluginBenoît Ganne2-1/+57
Type: feature Change-Id: I85aa4ad6b68c1aa0e51938002dc691a4b11c545c Signed-off-by: Damjan Marion <damarion@cisco.com> Signed-off-by: Benoît Ganne <bganne@cisco.com>
2020-08-26dpdk: bump to DPDK 20.08Damjan Marion1-2/+3
Type: improvement Change-Id: Id864c80ac0c9e6f3514a99e516fed82a998effff Signed-off-by: Damjan Marion <damarion@cisco.com>
2020-08-25rdma: bump rdma-core version to v31.0Benoît Ganne1-3/+2
Type: improvement Change-Id: If02deabea1fe47bbe82c53182e24a97cff68f8ec Signed-off-by: Benoît Ganne <bganne@cisco.com>
2020-05-27dpdk: bump to DPDK v20.05Damjan Marion1-2/+6
Type: improvement Change-Id: I5f89fc3d994bd85d2c5138069ea2c58661814228 Signed-off-by: Damjan Marion <damarion@cisco.com>
2020-05-13dpdk: DPDK 20.05 iavf fdir bug-fix patch cherry pickChenmin Sun1-0/+70
After VF reset, FDIR rule still takes effect. To solve the issue, this patch adds to flush all flows before flow uninit. VIRTCHNL sends message to PF by Admin Queue, so flow flush should be implemented before Admin Queue shut down. Type: fix Signed-off-by: Chenmin Sun <chenmin.sun@intel.com> Change-Id: I8ba0db7cd7646eaabd5745f74952016b0b968bbb
2020-05-08dpdk: fix compiling issue with clangLijian.Zhang1-1/+2
When building vpp image with below command, clang reports warnings/errors on the unused option '-L', as it's not linking stage, and does not require linking libraries. In dpdk.mk, the linking library path should be attached to DPDK_EXTRA_LDFLAGS, instead of DPDK_EXTRA_CFLAGS $ make build-release CC=clang V=1 clang -Wp,-MD,./.ark_ddm.o.d.tmp -fPIE -fPIC -pthread -I/root/origin/build-root/build-vpp-native/external/dpdk-20.02/lib/librte_eal/linux/eal/include -march=armv8-a+crc -DRTE_MACHINE_CPUFLAG_NEON -DRTE_MACHINE_CPUFLAG_CRC32 -I/root/origin/build-root/build-vpp-native/external/dpdk-20.02/arm64-armv8a-linuxapp-clang/include -DRTE_USE_FUNCTION_VERSIONING -include /root/origin/build-root/build-vpp-native/external/dpdk-20.02/arm64-armv8a-linuxapp-clang/include/rte_config.h -D_GNU_SOURCE -O3 -I./ -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -Wdeprecated -Wno-missing-field-initializers -Wno-address-of-packed-member -Werror -g -mtune=generic -L/root/origin/build-root/install-vpp-native/external/lib -I/root/origin/build-root/install-vpp-native/external/include -o ark_ddm.o -c /root/origin/build-root/build-vpp-native/external/dpdk-20.02/drivers/net/ark/ark_ddm.c == Build drivers/vdpa/ifc clang: warning: argument unused during compilation: '-L/root/origin/build-root/install-vpp-native/external/lib' [-Wunused-command-line-argument] clang: error: argument unused during compilation: '-L/root/origin/build-root/install-vpp-native/external/lib' [-Werror,-Wunused-command-line-argument] Type: fix Change-Id: If8fd9b19d0aff9d3c27d77e78cd3064bb1ad6565 Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com> Reviewed-by: Jieqiang Wang <Jieqiang.Wang@arm.com> Reviewed-by: Govindarajan Mohandoss <Govindarajan.Mohandoss@arm.com>
2020-04-22dpdk: DPDK 20.05 iavf flow director backporting to DPDK 20.02Chenmin Sun17-0/+6436
0001 ~ 0014 patches are for virtual channel and PMD 0015 is the iavf fdir framework 0016 ~ 0017 are for the iavf fidr driver Type: feature Signed-off-by: Chenmin Sun <chenmin.sun@intel.com> Change-Id: I38e69ca0065a71cc6ba0b44ef7c7db51193a0899
2020-03-27quic: Check quicly version tag at compile timeMathiasRaoul13-534/+23
- updates the quicly version to 0.1.0-vpp - adds workaround for quicly_send()/assert_consistency() failure Type: feature Change-Id: I4c7e0ffc720ad9a685b89046a83646d59febd6cd Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com> Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2020-03-22dpdk: false link down issue with ixgbe NICLijian.Zhang1-0/+66
This issue is observed with X520-2 NICs on FD.io lab Taishan server. After VPP booting up and bringing up the interfaces with command "set interface state <interface> up", it still shows link down status from the command "show hardware-interfaces". However, the hardware link status is actually up. dpdk_process() cannot get the hardware link status correctly via rte_eth_link_get_nowait(). In ixgbe_dev_link_update_share(), if the media type is fiber and the link is down, a flag (IXGBE_FLAG_NEED_LINK_CONFIG) is set. A callback to ixgbe_dev_setup_link_alarm_handler() is scheduled trying to set up the link and clear the flag afterwards. If the device is started or stopped before the flag is cleared, the scheduled callback is canceled. This causes the flag to remain set and subsequent calls to ixgbe_dev_link_update_share() return without trying to retrieve the link state because the flag is set. When the callback is canceled by either interface start or stop operation, in ixgbe_dev_cancel_link_thread(), after cancelling the callback/thread, unset the flag on the device to avoid this condition. Type: fix Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com> Reviewed-by: Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com> Reviewed-by: Jieqiang Wang <Jieqiang.Wang@arm.com> Change-Id: I04de377dc048307a78a5b7109ebdfaf376d5e029
2020-03-12rdma: cleanup rdma-core buildBenoît Ganne1-12/+9
Type: improvement Change-Id: I298bbb81c753d60288ac63bebf2bdfea323af68b Signed-off-by: Benoît Ganne <bganne@cisco.com>
2020-02-26rdma: bunp rdma-core version to v28.0Damjan Marion1-1/+2
Type: feature Change-Id: I85deba9572585745a3f8f8d2f1fe9b62055727b8 Signed-off-by: Damjan Marion <damarion@cisco.com>
2020-02-26dpdk: bump dpdk version to 20.02Damjan Marion1-2/+2
Type: feature Change-Id: I44c7a4e4dc91daa517296257bfc1f6a7f7cd360b Signed-off-by: Damjan Marion <damarion@cisco.com>
2020-02-04dpdk: patch ixgbe driver to solve race conditionMatthew Smith1-0/+49
Type: fix Some fiber ports that are managed by the ixgbe PMD have the possibility to get into a state where link can never be brought up. This patch should fix it and will be submitted to upstream DPDK. Change-Id: Ia4d0df2e70d098b2151e513b96e8bd742151e8ce Signed-off-by: Matthew Smith <mgsmith@netgate.com>