Add package and build-dependency MLX4 and MLX5 PMDs. 13/11113/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Tue, 13 Mar 2018 11:36:57 +0000 (12:36 +0100)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Tue, 13 Mar 2018 11:36:57 +0000 (12:36 +0100)
Change-Id: I144c22af88bac0ccc7e33e2e6709265f0741b284
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
debian/control
debian/rules

index 282fb16..ae2cf0a 100644 (file)
@@ -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.
index 945a634..19096e3 100755 (executable)
@@ -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