add PMDs as recommend for dpdk runtime. 09/3209/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Thu, 29 Sep 2016 16:25:34 +0000 (18:25 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Thu, 29 Sep 2016 16:31:29 +0000 (18:31 +0200)
Once people pull in dpdk runtime they likely want to use it.
These days PMDs are usually not covered by depends (other libraries
are linked if used).
To avoid the issue of systems that would work if just those packages
would be installed recommend them.
It is no real "dependency" things can work, therefore no depends. But it
is as much recommends as recommendations can go.
This got a bit amplified by removing libdpdk-dev from the depends which
formerly pulled all in.

Change-Id: I03cc329412de9d37c4fd203d09c8e27812bc9e5b
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
debian/control

index 5807c06..348e15f 100644 (file)
@@ -36,7 +36,25 @@ Depends: lsb-base (>= 3.2-14),
          ${misc:Depends},
          ${python:Depends},
          ${shlibs:Depends}
-Recommends: dpdk-igb-uio-dkms (= ${binary:Version}) [arm64], dpdk-rte-kni-dkms (= ${binary:Version}) [arm64]
+Recommends: dpdk-igb-uio-dkms (= ${binary:Version}) [arm64], dpdk-rte-kni-dkms (= ${binary:Version}) [arm64],
+         librte-pmd-af-packet1 (= ${binary:Version}),
+         librte-pmd-bnxt1 (= ${binary:Version}),
+         librte-pmd-bond1 (= ${binary:Version}),
+         librte-pmd-cxgbe1 (= ${binary:Version}),
+         librte-pmd-e1000-1 (= ${binary:Version}),
+         librte-pmd-ena1 (= ${binary:Version}),
+         librte-pmd-enic1 (= ${binary:Version}) [amd64 arm64 i386],
+         librte-pmd-fm10k1 (= ${binary:Version}) [amd64 i386],
+         librte-pmd-i40e1 (= ${binary:Version}) [amd64 i386],
+         librte-pmd-ixgbe1 (= ${binary:Version}) [amd64 arm64 i386],
+         librte-pmd-null-crypto1 (= ${binary:Version}),
+         librte-pmd-null1 (= ${binary:Version}),
+         librte-pmd-pcap1 (= ${binary:Version}),
+         librte-pmd-ring2 (= ${binary:Version}),
+         librte-pmd-vhost1 (= ${binary:Version}),
+         librte-pmd-virtio1 (= ${binary:Version}),
+         librte-pmd-vmxnet3-uio1 (= ${binary:Version}) [amd64 arm64 i386],
+         librte-pmd-xenvirt1 (= ${binary:Version}) [amd64 arm64 i386],
 Suggests: linux-image-generic, dpdk-igb-uio-dkms (= ${binary:Version}), dpdk-rte-kni-dkms (= ${binary:Version})
 Description: Data Plane Development Kit (runtime)
  DPDK is a set of libraries for fast packet processing. Applications run