summaryrefslogtreecommitdiffstats
path: root/build/external/packages/dpdk.mk
AgeCommit message (Collapse)AuthorFilesLines
2019-09-30build: build-root/Makefile rm of install treeBurt Silverman1-0/+1
Type: fix The scenario is touch of a dpdk source file in places like <TOP>/build-root/build-vpp-native/external/dpdk-19.08/. The subsequent build will trigger an rm -rf $(PACKAGE_INSTALL_DIR) by build-root/Makefile at around line 709. Because the package in question, "external", consists of various "sub" packages, all of which are controlled with files like .quicly.install.ok located in build-root/build-vpp[_debug]-native/external, we end up not handling the .*.install.ok files to reflect the removal of that PACKAGE_INSTALL_DIR. This fix will correct that, at least for the case of touching/changing dpdk files. A better long term solution would be to change the "sub" packages to be full fledged build system packages, as Dave Barach points out. Signed-off-by: Burt Silverman <burtms@gmail.com> Change-Id: Ia94ccaa2795cbf354b5921c3001a7141313b66be
2019-08-21dpdk: bump DPDK version to 19.08Damjan Marion1-3/+2
Type: feature Change-Id: I16b8cdf0b6af6715a5f01ad84365a8c8a1b76237 Signed-off-by: Damjan Marion <damarion@cisco.com>
2019-05-30dpdk: remove bonding codeDamjan Marion1-1/+1
We have native implementation and we should not maintain both.... Change-Id: Ic09ebffda52cdc733b3cfeff06690e0d3cc08084 Signed-off-by: Damjan Marion <damarion@cisco.com>
2019-05-30dpdk: bump to 19.05Damjan Marion1-1/+3
Change-Id: I738ff20a1ebb1cc70fb6ddb40791b6747cada372 Signed-off-by: Damjan Marion <damarion@cisco.com>
2019-05-14Build packages for generic Arm architectureLijian.Zhang1-1/+8
The current aarch64 version of VPP package distro in cloud repository (https://packagecloud.io/fdio/master/ubuntu), is built on a ThunderX server, using some arch-specific options, for example, 128Byte cache line size, T=arm64-thunderx-linuxapp-gcc, RTE_MACHINE=thunderx The patch is trying to build package distro with aarch64 generic features, for both binary type targets, e.g., build/build-release, and package type targets, e.g., pkg-deb/pkg-rpm, with the generic options, e.g., 128Byte cache line size, T=arm64-armv8a-linuxapp-gcc, RTE_MACHINE=armv8a If end users want to build arch specific optimized image, TARGET_PLATFORM variable could be used, as below example, $ make build-release/pkg-deb TARGET_PLATFORM=thunderx Change-Id: If78bca8709fe83db6a95e8c26346f206bf5ea71d Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com> Reviewed-by: Sirshak Das <Sirshak.Das@arm.com> Reviewed-by: Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>
2019-04-08rdma: fix DPDK MLX driver conflictBenoît Ganne1-2/+1
VPP rdma driver relies on an internal rdma-core not compatible with DPDK MLX driver. Force the use of external rdma-core through RTE_IBVERBS_LINK_DLOPEN DPDK build option and make sure internal rdma-core symbols are not leaked outside of the rdma plugin. Change-Id: I5b2281259f517c4e109d388d172b72eadd69986f Signed-off-by: Benoît Ganne <bganne@cisco.com>
2019-03-28Add RDMA ibverb driver pluginBenoît Ganne1-32/+28
RDMA ibverb is a userspace API to efficiently rx/tx packets. This is an initial, unoptimized driver targeting Mellanox cards. Next steps should include batching, multiqueue and additional cards. Change-Id: I0309c7a543f75f2f9317eaf63ca502ac7a093ef9 Signed-off-by: Benoît Ganne <bganne@cisco.com>
2019-03-01dpdk: update mlx[45] linking optionsMatthew Smith1-3/+2
Upstream DPDK changed the names of the options to use dlopen() with libibverbs and libmlx[45] from RTE_LIBRTE_MLX[45]_DLOPEN_DEPS to RTE_IBVERBS_LINK_DLOPEN (handles both mlx4 and mlx5). VPP's build option to enable this configuration when building DPDK no longer worked starting when VPP moved to DPDK 19.02. Update VPP's build options to enable the correct option name. Change-Id: I8e34e1d3fc4ee8aac4fd6f2a7d27177f2b0dea50 Signed-off-by: Matthew Smith <mgsmith@netgate.com>
2019-02-02dpdk: bump to dpdk 19.02Damjan Marion1-2/+2
HQoS requires fixes to work with dpdk 19.02 so code is disabled and pending deprecation unless active maintainer is found. Change-Id: I3569c4287b6dfdd2c29e02375eb53bf01fa6ae84 Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-11-29dpdk: bump to DPDK 18.11Damjan Marion1-2/+2
Change-Id: Ib6458e56f546bb5b11c23aa5e1afe0f4b5011c08 Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-11-05dpdk: enable gso when the tap PMD is enabledMatthew Smith1-1/+1
Setting DPDK_PMD_TAP=y when building will enable the tap PMD in the build configuration that is generated for DPDK. Enabling this currently results in a failure during compilation because rte_gso.h is not found. RTE_LIBRTE_GSO needs to be set to y for this to work. Use the setting for the tap PMD to determine the value for RTE_LIBRTE_GSO. Change-Id: Ie395417b1c62369a95320856081ad52c674ce9f2 Signed-off-by: Matthew Smith <mgsmith@netgate.com>
2018-10-24dpdk: disable unused rxtx callbacks in ethdevStephen Hemminger1-0/+1
Save a few cycles on every rx and tx burst call by not compiling in support for DPDK Rx and Tx callbacks. This feature is optional and unused by current VPP code. Change-Id: I1916bc8822e2bd405c1ac3909e85467a01023862 Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2018-10-20dpdk: turn off unused DPDK componentsStephen Hemminger1-0/+17
DPDK has added a lot more drivers and config options that are not used by current VPP code. Change-Id: I385f8b5df02b95a31ca9abe506c79cf52e99a24c Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2018-10-15dpdk: drop no longer used config optionsStephen Hemminger1-6/+0
DPDK has switched to dynamic logging for initialization (since 18.05). Don't generate config for unused options. Change-Id: I3f1a5b3b8bee38abc9d0654737b59368646ed0fa Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2018-10-01dpdk: updated makefile to enable QAT cryptodevRadu Nicolau1-0/+1
Change-Id: I2d70f2f29f3af10b6e43dde235fdf90a4596eb35 Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
2018-09-27dpdk_plugin: fix mlx5 build and runtime issuesSirshak Das1-1/+2
There are issues with VPP finding and linking the mlx5 shared glue library which was built by default if mlx5 was enabled. Runtime Errors this patch fixes: net_mlx5: cannot load glue library: librte_pmd_mlx5_glue.so.18.05.0: cannot open shared object file: No such file or directory net_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5) This patch introduces additional config parameter to disable glue library building and instead statically link ibverbs and mlx5 libraries to the PMD and dpdk_plugin. Change-Id: I0b2f67652a57854c778e991780903fb15706ace8 Signed-off-by: Sirshak Das <sirshak.das@arm.com> Reviewed-by: Lijian Zhang <Lijian.Zhang@arm.com>
2018-09-21add: nasm and ipsec-mb into vpp-ext-deps packagingDamjan Marion1-0/+282
Change-Id: Ie5d85af84ae0d8b15edf5962213ed1b1953bee2f Signed-off-by: Damjan Marion <damarion@cisco.com>