diff options
author | 2018-03-13 12:36:57 +0100 | |
---|---|---|
committer | 2018-03-13 12:36:57 +0100 | |
commit | 3edf9e51c8d4a7b057a8cfdb4d740ffbf4f2fe19 (patch) | |
tree | bc482df53cf33bf14c69ad4f7a1eb64763904af8 | |
parent | 58238ae5e2af87ec6468a945fbe28b033dd9e1ea (diff) |
Add package and build-dependency MLX4 and MLX5 PMDs.
Change-Id: I144c22af88bac0ccc7e33e2e6709265f0741b284
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
-rw-r--r-- | debian/control | 26 | ||||
-rwxr-xr-x | debian/rules | 2 |
2 files changed, 28 insertions, 0 deletions
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 <!nodoc>, inkscape <!nodoc>, 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 |