aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2018-03-13 12:36:57 +0100
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2018-06-18 13:44:46 +0200
commita5ed197b47559b9c889c44a7a5663eef19bf5f6f (patch)
tree6b7e2d48fed81b58be7a0642dcb2fa4c8d382db2
parentf0ddc9159ec22c5346f2a3085944b4cb854faab3 (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/control26
-rwxr-xr-xdebian/rules2
2 files changed, 28 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index dcc88a03..787f4000 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,
python3,
@@ -1080,3 +1081,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 20780c96..0a408339 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)/",' \
$(DPDK_STATIC_DIR)/.config
endif