From 3edf9e51c8d4a7b057a8cfdb4d740ffbf4f2fe19 Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Tue, 13 Mar 2018 12:36:57 +0100 Subject: Add package and build-dependency MLX4 and MLX5 PMDs. Change-Id: I144c22af88bac0ccc7e33e2e6709265f0741b284 Signed-off-by: Christian Ehrhardt --- debian/control | 26 ++++++++++++++++++++++++++ debian/rules | 2 ++ 2 files changed, 28 insertions(+) diff --git a/debian/control b/debian/control index 282fb16f..ae2cf0a2 100644 --- a/debian/control +++ b/debian/control @@ -12,6 +12,7 @@ Build-Depends: debhelper (>= 9), graphviz , inkscape , libcap-dev, + libibverbs-dev, libpcap-dev, libnuma-dev, libssl-dev, @@ -1144,3 +1145,28 @@ Description: Data Plane Development Kit (librte_pmd_thunderx_nicvf runtime libra . This package contains the runtime libraries for librte_pmd_thunderx_nicvf. +Package: librte-pmd-mlx4-17.11 +Architecture: amd64 arm64 i386 ppc64el +Multi-Arch: same +Homepage: https://dpdk.org/doc/guides/nics/mlx4.html +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Conflicts: libdpdk0 +Description: Data Plane Development Kit (librte-pmd-mlx4 runtime library) + DPDK is a set of libraries for fast packet processing. Applications run + in user-space and communicate directly with dedicated network interfaces. + . + This package contains the runtime libraries for librte-pmd-mlx4. + +Package: librte-pmd-mlx5-17.11 +Architecture: amd64 arm64 i386 ppc64el +Multi-Arch: same +Homepage: https://dpdk.org/doc/guides/nics/mlx5.html +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Conflicts: libdpdk0 +Description: Data Plane Development Kit (librte-pmd-mlx5 runtime library) + DPDK is a set of libraries for fast packet processing. Applications run + in user-space and communicate directly with dedicated network interfaces. + . + This package contains the runtime libraries for librte-pmd-mlx5. diff --git a/debian/rules b/debian/rules index 945a634b..19096e35 100755 --- a/debian/rules +++ b/debian/rules @@ -182,6 +182,8 @@ ifeq (,$(filter dpdk_config=%,$(DEB_BUILD_OPTIONS))) -e 's,(CONFIG_RTE_EAL_IGB_UIO=).*,\1$(DPDK_CONFIG_BUILD_KMOD),' \ -e 's,(CONFIG_RTE_KNI_KMOD=).*,\1$(DPDK_CONFIG_BUILD_KMOD),' \ -e 's,(LIBRTE_PMD_PCAP=).*,\1y,' \ + -e 's,(CONFIG_RTE_LIBRTE_MLX4_PMD=).*,\1y,' \ + -e 's,(CONFIG_RTE_LIBRTE_MLX5_PMD=).*,\1y,' \ -e 's,(CONFIG_RTE_EAL_PMD_PATH=).*,\1"/usr/lib/$(DEB_HOST_MULTIARCH)/$(DPDK_DRIVER_DIR)/",' \ -e 's,(LIBRTE_PMD_OPENSSL=).*,\1y,' \ $(DPDK_STATIC_DIR)/.config -- cgit 1.2.3-korg