Merge 17.05.1 into 17.05.x 93/7393/1
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 3 Jul 2017 14:13:28 +0000 (15:13 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 3 Jul 2017 14:14:25 +0000 (15:14 +0100)
Change-Id: I65fdca844ad178ec6e2c086d45b901df93b55e58
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
113 files changed:
debian/.gitignore [new file with mode: 0644]
debian/README.source [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/control.modules.in [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dh-dbgsym-metapkg [new file with mode: 0755]
debian/dpdk-dev.lintian-overrides [new file with mode: 0644]
debian/dpdk-doc.README.Debian [new file with mode: 0644]
debian/dpdk-doc.lintian-overrides [new file with mode: 0644]
debian/dpdk-igb-uio-dkms.dkms [new file with mode: 0644]
debian/dpdk-init [new file with mode: 0755]
debian/dpdk-rte-kni-dkms.dkms [new file with mode: 0644]
debian/dpdk-sdk-env.sh.in [new file with mode: 0755]
debian/dpdk.conf [new file with mode: 0644]
debian/dpdk.init [new file with mode: 0644]
debian/dpdk.install [new file with mode: 0644]
debian/dpdk.interfaces [new file with mode: 0644]
debian/dpdk.service [new file with mode: 0644]
debian/kernel-version [new file with mode: 0755]
debian/libdpdk.pc.in [new file with mode: 0644]
debian/librte-acl17.05.symbols [new file with mode: 0644]
debian/librte-bitratestats17.05.symbols [new file with mode: 0644]
debian/librte-cfgfile17.05.symbols [new file with mode: 0644]
debian/librte-cmdline17.05.symbols [new file with mode: 0644]
debian/librte-cryptodev17.05.symbols [new file with mode: 0644]
debian/librte-distributor17.05.symbols [new file with mode: 0644]
debian/librte-eal17.05.symbols [new file with mode: 0644]
debian/librte-efd17.05.symbols [new file with mode: 0644]
debian/librte-ethdev17.05.symbols [new file with mode: 0644]
debian/librte-eventdev17.05.symbols [new file with mode: 0644]
debian/librte-hash17.05.symbols [new file with mode: 0644]
debian/librte-ip-frag17.05.symbols [new file with mode: 0644]
debian/librte-jobstats17.05.symbols [new file with mode: 0644]
debian/librte-kni17.05.symbols [new file with mode: 0644]
debian/librte-kvargs17.05.symbols [new file with mode: 0644]
debian/librte-latencystats17.05.symbols [new file with mode: 0644]
debian/librte-lpm17.05.symbols [new file with mode: 0644]
debian/librte-mbuf17.05.symbols [new file with mode: 0644]
debian/librte-mempool-ring17.05.symbols [new file with mode: 0644]
debian/librte-mempool-stack17.05.symbols [new file with mode: 0644]
debian/librte-mempool17.05.symbols [new file with mode: 0644]
debian/librte-meter17.05.symbols [new file with mode: 0644]
debian/librte-metrics17.05.symbols [new file with mode: 0644]
debian/librte-net17.05.symbols [new file with mode: 0644]
debian/librte-pdump17.05.symbols [new file with mode: 0644]
debian/librte-pipeline17.05.symbols [new file with mode: 0644]
debian/librte-pmd-af-packet17.05.symbols [new file with mode: 0644]
debian/librte-pmd-ark17.05.symbols [new file with mode: 0644]
debian/librte-pmd-avp17.05.symbols [new file with mode: 0644]
debian/librte-pmd-bnxt17.05.symbols [new file with mode: 0644]
debian/librte-pmd-bond17.05.symbols [new file with mode: 0644]
debian/librte-pmd-crypto-scheduler17.05.symbols [new file with mode: 0644]
debian/librte-pmd-cxgbe17.05.symbols [new file with mode: 0644]
debian/librte-pmd-e1000-17.05.symbols [new file with mode: 0644]
debian/librte-pmd-ena17.05.symbols [new file with mode: 0644]
debian/librte-pmd-enic17.05.symbols [new file with mode: 0644]
debian/librte-pmd-fm10k17.05.symbols [new file with mode: 0644]
debian/librte-pmd-i40e17.05.symbols [new file with mode: 0644]
debian/librte-pmd-ixgbe17.05.symbols [new file with mode: 0644]
debian/librte-pmd-kni17.05.symbols [new file with mode: 0644]
debian/librte-pmd-lio17.05.symbols [new file with mode: 0644]
debian/librte-pmd-nfp17.05.symbols [new file with mode: 0644]
debian/librte-pmd-null-crypto17.05.symbols [new file with mode: 0644]
debian/librte-pmd-null17.05.symbols [new file with mode: 0644]
debian/librte-pmd-octeontx-ssovf17.05.symbols [new file with mode: 0644]
debian/librte-pmd-pcap17.05.symbols [new file with mode: 0644]
debian/librte-pmd-qede17.05.symbols [new file with mode: 0644]
debian/librte-pmd-ring17.05.symbols [new file with mode: 0644]
debian/librte-pmd-sfc-efx17.05.symbols [new file with mode: 0644]
debian/librte-pmd-skeleton-event17.05.symbols [new file with mode: 0644]
debian/librte-pmd-sw-event17.05.symbols [new file with mode: 0644]
debian/librte-pmd-tap17.05.symbols [new file with mode: 0644]
debian/librte-pmd-thunderx-nicvf1.symbols [new file with mode: 0644]
debian/librte-pmd-thunderx-nicvf17.05.symbols [new file with mode: 0644]
debian/librte-pmd-vhost17.05.symbols [new file with mode: 0644]
debian/librte-pmd-virtio17.05.symbols [new file with mode: 0644]
debian/librte-pmd-vmxnet3-uio17.05.symbols [new file with mode: 0644]
debian/librte-pmd-xenvirt17.05.symbols [new file with mode: 0644]
debian/librte-port17.05.symbols [new file with mode: 0644]
debian/librte-power17.05.symbols [new file with mode: 0644]
debian/librte-reorder17.05.symbols [new file with mode: 0644]
debian/librte-ring17.05.symbols [new file with mode: 0644]
debian/librte-sched17.05.symbols [new file with mode: 0644]
debian/librte-table17.05.symbols [new file with mode: 0644]
debian/librte-timer17.05.symbols [new file with mode: 0644]
debian/librte-vhost17.05.symbols [new file with mode: 0644]
debian/patches/fix-power-default-config.patch [new file with mode: 0644]
debian/patches/fix-vhost-user-socket-permission.patch [new file with mode: 0644]
debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch [new file with mode: 0644]
debian/patches/mk-order-CFLAGS-so-that-ISCDIR-comes-before-IRTE_OUT.patch [new file with mode: 0644]
debian/patches/mk-sort-headers-before-wildcard-inclusion.patch [new file with mode: 0644]
debian/patches/mk-sort-list-of-files-in-examples.dox.patch [new file with mode: 0644]
debian/patches/mk-sort-list-of-shared-objects-in-linker-script.patch [new file with mode: 0644]
debian/patches/mk-sort-object-files-when-building-deps-lists.patch [new file with mode: 0644]
debian/patches/mk-sort-source-files-before-passing-them-to-the-comp.patch [new file with mode: 0644]
debian/patches/mk-use-make-silent-flag-to-print-HTML-doc-version.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/prep-modules [new file with mode: 0755]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/source/options [new file with mode: 0644]
debian/tests/check-dpdk-supported-arch.sh [new file with mode: 0644]
debian/tests/control [new file with mode: 0644]
debian/tests/test-autotest [new file with mode: 0644]
debian/tests/test-dkms [new file with mode: 0644]
debian/tests/test-initscripts [new file with mode: 0644]
debian/tests/test-linkage [new file with mode: 0644]
debian/update-control.py [new file with mode: 0644]
debian/update-helper-control.py [new file with mode: 0755]
debian/update-helper-symbols.sh [new file with mode: 0755]
debian/watch [new file with mode: 0644]

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644 (file)
index 0000000..0bd9950
--- /dev/null
@@ -0,0 +1,20 @@
+*.debhelper.log
+*.substvars
+*.postinst.debhelper
+*.postrm.debhelper
+*.prerm.debhelper
+*.dkms.debhelper
+build/
+control.modules
+debhelper-build-stamp
+dpdk-dev/
+dpdk-doc/
+dpdk-igb-uio-dkms/
+dpdk-modules-*/
+dpdk-rte-kni-dkms/
+dpdk/
+files
+libdpdk-dev/
+librte*/
+libethdev*/
+VERSION
diff --git a/debian/README.source b/debian/README.source
new file mode 100644 (file)
index 0000000..a21f5ee
--- /dev/null
@@ -0,0 +1,42 @@
+How to build the package - for CI systems, etc
+
+1 - install all the build-dependencies as listed in the debian/control file.
+    From the repo top-level directory:
+
+apt-get install `dpkg-checkbuilddeps |& sed "s/.*://g" |& sed "s/(...[0-9]*)//g"`
+
+2 - run debuild (the flags will avoid signing the built packages):
+    From the repo top-level directory:
+
+debuild -uc -us
+
+***************
+
+quilt patches format
+
+Note that we use the dquilt format for patches as outlined on Debian's wiki:
+https://www.debian.org/doc/manuals/maint-guide/modify.en.html#quiltrc
+
+Please consider using the same format to avoid excessive churn when adding or
+refreshing patches.
+
+Add the following to your ~/.bashrc (or equivalent):
+
+alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg"
+complete -F _quilt_completion $_quilt_complete_opt dquilt
+
+And then create a new ~/.quiltrc-dpkg file with content:
+
+d=. ; while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; done
+if [ -d $d/debian ] && [ -z $QUILT_PATCHES ]; then
+    # if in Debian packaging tree with unset $QUILT_PATCHES
+    QUILT_PATCHES="debian/patches"
+    QUILT_PATCH_OPTS="--reject-format=unified"
+    QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto"
+    QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
+    QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33"
+    if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi
+fi
+
+Open a new terminal or souce ~/.bashrc, and then you will be able to use
+dquilt.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..38b5f0c
--- /dev/null
@@ -0,0 +1,689 @@
+dpdk (17.05-1~git1) UNRELEASED; urgency=medium
+
+  [ Christian Ehrhardt ]
+  * New Upstream release 17.05; For a full list of changes (LP: #1691661)
+    see http://dpdk.org/doc/guides/rel_notes/release_17_05.html
+    - adapt to use MAJOR_ABI configuration to avoid the sub-lib abi
+      version breakage of the past.
+    - add d/update-helper* to update d/control and d/*.symbols for new versions
+    - adapt to new build trigger and location of tests; provide further
+      test tools (testacl, testpipeline) together with the already
+      provided "test" tool in /usr/share/dpdk/test/ of dpdk-dev.
+      Note: testpmd is installed "officially" by install-sdk and therefore
+      stays separate from other test tools.
+    - updated library arch availability/dependency: librte-kni is
+      available on ppc64el; librte-pmd-i40e on all arches;
+      librte-pmd-fm10k gone on ppc64el
+    - package the 19 new sub-libs / pmds that are now built by default
+    - rename and update symbols files to match the update to DPDK 17.05
+
+  [ Luca Boccassi ]
+  * Rename libraries after ABI major version rather than source version.
+  * Always set CONFIG_RTE_MAJOR_ABI, even for custom config files as all the
+    packaging is tuned around it.
+  * Drop patches merged upstream and refresh
+    fix-vhost-user-socket-permission.patch
+  * Add patches to make the documentation and linker script builds fully
+    reproducible.
+  * Add patches to make the libraries and PMDs builds fully reproducible,
+    by making the listing order of headers, source files and objects in
+    the makefiles stable (via sorting).
+  * Install headers with arch-specific content in /usr/include/<multiarch>/dpdk
+    to make libdpdk-dev multiarch-compliant.
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Tue, 16 May 2017 15:38:17 +0200
+
+dpdk (16.11.2-1~git1) UNRELEASED; urgency=medium
+
+  [ Christian Ehrhardt ]
+  * Merge stable update to 16.11.2; For a list of changes
+    see http://dpdk.org/ml/archives/announce/2017-May/000131.html
+  * Dropped changes - patches that were included in 16.11.2 stable:
+    - d/p/kni-fix-build-with-kernel-4.11.patch
+    - d/p/nicvf-0002-net-thunderx-fix-32-bit-build.patch
+    - d/p/nicvf-0006-mk-fix-lib-filtering-when-linking-app.patch
+    - d/p/nicvf-0008-net-thunderx-fix-stats-access-out-of-bounds.patch
+    - d/p/nicvf-0010-net-thunderx-fix-deadlock-in-Rx-path.patch
+
+  [ Luca Boccassi ]
+  * Optionally generate libdpdk-dbgsym metapackage that depends on every
+    librte/PMD binary package's dbgsym. Keep it disabled by default, and
+    let users choose to enable it by passing dbgsym_meta via DEB_BUILD_OPTIONS.
+    Thanks Jan Blunck for the patch!
+  * Generate dependency list of libdpdk-dev to all librte and PMDs packages
+    dynamically at build time.
+  * Generate list of recommends for dpdk dynamically at build time.
+  * dpdk-modules-$KVERS: depend on same kernel version used to build rather than
+    just recommend - in-kernel API/ABI is not stable.
+  * Support for building packages for the new mempool framework has been added.
+    In 17.05 and newer a mempool framework was added, that has to be loaded
+    like a PMD. So any "plugin" will be linked in RTE_EAL_PMD_PATH just like
+    the PMDs. No mempool plugins are built for now, so it is currently a no-op.
+  * Drop libethdev4, librte-cryptodev1 and librte-eal2 transitional packages,
+    no longer needed.
+  * Fix some upstream documentation links in the packages metadata.
+    Thanks Chas Williams!
+  * Fix building debugging symbols for -dbgsym packages. Thanks Chas Williams!
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Thu, 08 Jun 2017 10:05:44 -0600
+
+dpdk (16.11.1-1~git1) UNRELEASED; urgency=medium
+
+  [ Christian Ehrhardt ]
+  * Merge stable update to 16.11.1; For a list of changes
+    see http://dpdk.org/ml/archives/dev/2017-March/058930.html
+  * dpdk.conf: add info about unwanted effects of multiple hugepage
+    mountpoints
+  * d/p/dpdk-dev-v3-eal-sPAPR-IOMMU-support-in-pci-probing-for-vfio-pci-
+    in-ppc64le.patch: sPAPR IOMMU based pci probing enabled for vfio-pci
+    devices.
+  * enable librte-pmd-i40e1 for ppc64el
+    - debian/control: enable arch onpackage
+    - d/p/dpdk-dev-v4-i40e-implement-vector-PMD-for-altivec.patch: add i40e
+      PMD / vector PMD implementation and enable by default on ppc64el
+  * fix library availability/dependency
+    - librte-kni is built on ppc64el, fix dependency from libdpdk-dev
+    - librte-pmd-fm10k1 is not built on ppc64el (empty pkg atm) adapt arch
+    - librte-pmd-i40e is built on all architectures now
+  * Fix up thunderx to make arm support useful on more devices (LP: #1691659)
+    - d/p/nicvf-00[01-10]* backports of 17.02/17.05 fixes for thunderx
+    - d/control: dependencies and package for librte-pmd-thunderx-nicvf
+    - d/librte-pmd-thunderx-nicvf1.symbols: tracking library symbols
+  * fix dpdk-rte-kni dkms issues with kernel 4.11 (LP: #1691830)
+    - d/p/kni-fix-build-with-kernel-4.11.patch: fix pci_enable_msix usage
+    - d/p/kni-fix-ethtool-build-with-kernel-4.11.patch: Use new signal header
+  * ensure man pages are bundled with executables on all architectures
+  * d/p/fix-vhost-user-socket-permission.patch: updated to work with newer
+    openvswitch versions
+
+  [ Luca Boccassi ]
+  * Simplify debian/rules by using upstream's install target
+    and Debian's multiarch dir. Thanks Jan Blunck!
+  * Clarify that only the kni and igb_uio kernel modules are
+    distributed exclusively under the GPL2 in debian/copyright
+  * Add new DEB_BUILD_OPTIONS "nodoc" to allow users to avoid
+    building the DPDK documentation
+  * Add new DEB_BUILD_OPTIONS "nostatic" to allow users to avoid
+    building the DPDK static libraries
+  * Add try-restart to dpdk.init script
+  * Update Standards-Version to 4.0.0
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Thu, 08 Dec 2016 16:58:37 +0100
+
+dpdk (16.11-1~git1) UNRELEASED; urgency=medium
+
+  [ Christian Ehrhardt ]
+  * Merge stable release 16.11 and adapt patches
+    - imported latest stable release from dpdk-16.11.tar.gz
+      stable release changelog at
+      http://dpdk.org/doc/guides-16.11/rel_notes/release_16_11.html
+    - Delete patches that are upstream:
+      - d/p/dpdk-dev-ppc-enable-*
+      - d/p/dpdk-dev-v2-*-4*
+      - d/p/rte-devel-build-env.patch
+      - d/p/rte-compile-pre-cppflags.patch
+      - d/p/make-load-devel-config-not-to-appear-as-executable.patch
+      - d/p/dpdk-dev-doc-fix-old-dpdk-nic-bind.py-references.patch
+      - d/p/fix-double-license-info.patch
+  * Added changes
+    - add qede pmd now built by default
+    - add new librte-net library
+    - update symbols files to match the new release
+    - make autotest dep8 test always pass (failed fatally on e.g. LP).
+      We want to stabilize and get more logs of different environments before
+      we can enable it as a gating test.
+    - Make dpdk-dev's ${RTE_SDK}/${RTE_TARGET}/lib symlink multiarch aware
+    - d/control: apply wrap and sort
+    - d/control: Make the python-pyelftools only a Suggests
+    - d/t/test-linkage: fix issues on non-x86 architectures
+    - provide older ABI levels via backward compatibility of new DPDK libraries
+      - d/control: add compat packages for old ABI versions
+      - d/rules: generate and use multiarch aware link files for the soname
+        mapping
+
+  [ Luca Boccassi ]
+  * Make dpdk suggest dpdk-doc (Closes: #847626)
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Thu, 08 Dec 2016 16:58:37 +0100
+
+dpdk (16.07.2-1~git1) UNRELEASED; urgency=medium
+
+  * Merge stable release 16.07.2 and adapt patches
+    - imported latest stable release from dpdk-16.07.2.tar.gz
+      stable release changelog at
+      http://dpdk.org/doc/guides-16.07/rel_notes/release_16_07.html
+    - Deleted:
+      - d/p/dpdk-dev-v2-kni-fix-build-with-kernel-4.8.patch
+      - d/p/fix-unusual-interpreter.patch
+      - d/p/dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch
+      - d/p/dpdk-dev-kni-fix-build-with-kernel-4.9.patch
+      - d/p/dpdk-dev-ppc-enable-7-7-examples-ip_pipeline-fix-lcore-mapping-for-
+        ppc64.patch
+    - Refreshed (only offset changes)
+      - d/p/dpdk-dev-ppc-enable-1-7-lpm-add-AltiVec-for-ppc64.patch
+      - d/p/dpdk-dev-ppc-enable-2-7-acl-add-AltiVec-for-ppc64.patch
+      - d/p/dpdk-dev-ppc-enable-4-7-sched-enable-on-ppc64le.patch
+      - d/p/dpdk-dev-ppc-enable-6-7-config-enable-packet-framework-on-
+        ppc64le.patch
+      - d/p/dpdk-dev-v2-2-4-doc-rendering-and-installation-of-man-pages.patch
+      - d/p/dpdk-dev-v2-3-4-doc-add-basic-invocation-info-for-dpdk-pmdinfo.patch
+      - d/p/dpdk-dev-v2-4-4-doc-add-basic-invocation-info-for-dpdk-devbind.patch
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Mon, 05 Dec 2016 07:08:01 +0100
+
+dpdk (16.07-2~git1) UNRELEASED; urgency=medium
+
+  * Team upload.
+
+  [ Christian Ehrhardt ]
+  * Fix d/p/fix-vhost-user-socket-permission.patch for dpdk 16.07
+    server/client sockets.
+  * d/control add python-elftools and hwdata dependencies to dpdk for the tool
+    dpdk-pmdinfo.
+  * d/rules utilize RTE_EAL_PMD_PATH to autoload pmd drivers
+    - d/dpdk-doc.README.Debian document usage of RTE_EAL_PMD_PATH
+    - d/control let the runtime of dpdk recommend the pmd drivers to make them
+      available for auto-probing devices.
+  * d/rules support DEB_BUILD_OPTIONS parallel
+  * d/rules bundle autotest as it is ready after build into dpdk-dev
+    to make it available for autopkgtest and likewise developers.
+  * enable dpdk autotests
+    - d/t/test-autotest enable autotests as dep8 test. These fail in many
+      build environments, so put them in an adt where required characteristics
+      can be specified
+
+  [ Gowrishankar Muthukrishnan ]
+  * d/p/dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch to make
+    ip_pipeline work properly with -d eal parameter
+  * Update to d/p/dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch
+    fixing dl_open issues.
+
+  [ Santiago R.R. ]
+  * debian/rules: Only export hardening related building HOST_/EXTRA flags
+    when dpkg-dev < 1.18.11. On newer dpkg-dev versions, dpkg-buildflags
+    handle them directly and are injected by gcc (6.x). Closes: #843685.
+
+  [ Luca Boccassi ]
+  * Fix DKMS build to use the requested kernel version rather than the running
+    one. (Closes: #843864)
+  * Fix kernel modules build failures due to the new -fPIE default by passing
+    -fno-PIE.
+  * Backport dpdk-dev-kni-fix-build-with-kernel-4.9.patch to fix kernel modules
+    build failures on Linux 4.9.
+  * Mark dpdk-doc as Multi-Arch: foreign
+
+ -- Santiago Ruano Rincón <santiagorr@riseup.net>  Wed, 09 Nov 2016 16:04:15 +0100
+
+dpdk (16.07-1) unstable; urgency=medium
+
+  [ Christian Ehrhardt ]
+  * Merge with upstream DPDK 16.07 release
+  * Cleanup Lintian Warnings
+    - d/p/fix-unusual-interpreter.patch fixes "W: dpdk-doc:
+      unusual-interpreter"
+    - d/p/fix-double-license-info.patch fixes "W: dpdk-rte-kni-dkms:
+      extra-license-file"
+  * Renamed d/p/ubuntu-fix-vhost-user-socket-permission.patch to
+    d/p/fix-vhost-user-socket-permission.patch
+  * Add lintian-overrides for: E: dpdk-dev: arch-dependent-file-in-usr-share
+    These binaries are part of the sdk and meant to be shipped with the sdk.
+  * d/p/dpdk-dev-doc-fix-old-dpdk-nic-bind.py-references.patch to fix the
+    docs in regard to 16.07 changes renaming dpdk_nic_bind
+  * d/p/make-load-devel-config-not-to-appear-as-executable.patch to avoid
+    accidentally executing as script and to fix unusual-interpreter lintian
+    warning.
+  * fix d/t/test-initscripts on more recent systemd environments
+  * enable dpdk for ppc64el
+    - add ppc64el arch to valid dpdk pmds and rte libraries
+    - select power config and machine for dpdk build system
+    - disable xen pmd for ppc64el
+    - d/tests: make tests compatible with ppc64el
+    - d/dpdk.conf, d/dpdk-init add 16M huge page support
+    - d/p/fix-power-default-config.patch enable bond PMD on ppc64el
+  * add man pages for installed binaries
+    - add backport of patches from upstream
+    - call generation of man pages in d/rules
+  * d/t/test-dkms retain dkms logs for debugging
+  * fix rte_kni dkms build with kernel >= 4.8
+    - d/p/dpdk-dev-v2-kni-fix-build-with-kernel-4.8.patch replaced macro with
+      its value in kni ethtool drivers.
+
+  [ Anders Roxell ]
+  * debian/control: add pciutils to the dpdk depends list, since lspci is used
+    by the devbind script
+
+  [ Luca Boccassi ]
+  * Add ${shlib:Depends} to dpdk-dev dependencies
+  * Install api and guides in dpdk-doc
+  * Convert debian/rules to new style DH targets
+  * Add Recommends: python to dpdk-doc since it ships python scripts among the
+    examples, fixes Lintian warning about missing python dependencies
+  * Fix typo in dpdk-doc.README.Debian, fixes "W: dpdk-doc:
+    spelling-error-in-readme-debian to to (duplicate word) to"
+  * Fix upstream rc versions by using "~" instead of "-". 16.07-rc1 evaluates
+    as newer than 16.07 which causes issues with Debian tools and Lintian
+    errors and warnings:
+    - W: libethdev4: latest-debian-changelog-entry-without-new-version
+    - E: libethdev4: symbols-file-contains-current-version-with-debian-revision
+      on symbol DPDK_16.04@DPDK_16.04 and 114 others
+  * Add lintian-overrides for: "W: dpdk-doc: embedded-javascript-library"
+  * Add optional binary kernel modules package, disabled by default (build with
+    DEB_BUILD_OPTIONS=kernel_modules to enable). If enabled will build kernel
+    modules against the local, current kernel version (override by adding
+    ksrc=<path/to/kernel/sources> to DEB_BUILD_OPTIONS) into a
+    dpdk-modules-<kernel version> package
+  * Set HOST_/EXTRA/CPP/C/LDFLAGS in d/rules so that all built objects pick up
+    all flags set by the dpkg environment, like hardening flags
+  * Add rte-compile-pre-cppflags.patch to make all DPDK objects pick up the
+    user specified or environment specified CPP/C/LDFLAGS.
+    Fixes Lintian warning:
+    - W: dpdk-dev: hardening-no-relro
+         usr/share/dpdk/x86_64-default-linuxapp-gcc/app/dpdk-pmdinfogen
+  * Add a brief HOWTO to debian/README.source with instructions to build the
+    packages, for CI systems and the like.
+  * Build with RTE_DEVEL_BUILD=n to avoid building test pmds with an rpath
+    hardcoded to the package build PATH. Fixes Lintian Error:
+    - E: dpdk: binary-or-shlib-defines-rpath usr/bin/dpdk-pdump
+         /home/lboccass/git/dpdk_deb/debian/build/shared-root/lib
+  * Fix d/watch file to point to fast.dpdk.org/rel
+  * Allow DPDK_CONFIG, RTE_MACHINE, RTE_TARGET overrides via DEB_BUILD_OPTIONS
+  * Initial Debian release. (Closes: #815760)
+  * Use ?= to allow env var overrides in d/rules
+  * Finalize changelog for upload to unstable.
+
+  [ Santiago RR ]
+  * improve debian/copyright
+  * remove duplicate entries from d/control
+  * debian/control:
+    - dpdk: recommends dkms packages (dpdk-igb-uio-dkms, dpdk-rte-kni-dkms) on
+      arm64 and suggest for other architectures.
+
+  [ Gowrishankar Muthukrishnan ]
+  * enable formerly disabled libraries in ppc64le config
+  * d/control provide now supported packages for ppc64le
+  * d/p/dpdk-dev-ppc-enable-* backports from dpdk to enable more features
+    for ppc64le
+
+ -- Luca Boccassi <luca.boccassi@gmail.com>  Tue, 27 Sep 2016 16:40:31 +0100
+
+dpdk (16.07~rc5-1) UNRELEASED; urgency=medium
+
+  [ Ricardo Salveti de Araujo ]
+  * Merge with upstream DPDK 16.07-rc5 release
+
+  [ Luca Boccassi ]
+  * Generate pkgconfig and ship it in libdpdk-dev
+  * Document use of dquilt for patches in debian/README.source
+
+ -- Ricardo Salveti de Araujo <rsalveti@rsalveti.net>  Tue, 26 Jul 2016 14:13:38 -0300
+
+dpdk (16.07~rc4-1) UNRELEASED; urgency=medium
+
+  * Merge with upstream DPDK 16.07-rc4 release
+    - Tools renamed, dpdk_nic_bind is now dpdk-devbind
+  * Adapt d/p/ubuntu-fix-vhost-user-socket-permission.patch for dpdk 16.07-rc4
+
+ -- Ricardo Salveti de Araujo <rsalveti@rsalveti.net>  Mon, 25 Jul 2016 13:38:13 -0300
+
+dpdk (16.07~rc3-1) UNRELEASED; urgency=medium
+
+  [ Christian Ehrhardt ]
+  * Merge with upstream DPDK 16.07-rc3 release
+  * droping patches/backports that are already upstream in DPDK 16.07-rc3
+    - d/p/ubuntu-fix-bond-symbol-export.patch
+    - d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch
+  * adapt d/p/ubuntu-fix-vhost-user-socket-permission.patch for dpdk 16.07-rc3
+  * update symbols
+
+  [ Ricardo Salveti de Araujo ]
+  * debian/rules:
+    - Allow all make commands to be verbose
+    - Fix libdpdk-dev headers path
+  * Renaming package librte-pmd-e10001 to librte-pmd-e1000-1, to avoid mixing
+    package name with soversion (lintian package-name-doesnt-match-sonames)
+  * Adding package librte-pmd-bnxt1
+  * Merging symbols files, handling the arch differences inline instead
+
+  [ Anders Roxell ]
+  * debian/control: add libpcap-dev to libdpdk-dev's Depends list
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Tue, 19 Jul 2016 08:32:06 +0200
+
+dpdk (16.07~rc1-1) UNRELEASED; urgency=medium
+
+  [ Christian Ehrhardt ]
+  * Merge with upstream DPDK 16.07-rc1 release
+  * droping patches/backports that are already upstream in DPDK 16.07
+    - d/p/ubuntu-backport-39-lpm-fix-freeing-in-compatibility-mode.patch
+      This was formerly part of a combined patch that we dropped because the
+      majority is upstream (d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch).
+    - d/p/ubuntu-backport-40-linking-fixes-stage-[1-4]-4.patch
+      d/p/ubuntu-backport-44-linking-cleanup.patch
+      Fixing underlinking and overlinking issues in apps and libraries.
+    - d/p/ubuntu-backport-41-fix-install-tar-1.29.patch
+      Fix issues with tar >=1.29 (Yakkety)
+    - d/p/ubuntu-backport-42-increase-default-logging-level.patch
+      avoid default debug messages causing a perf degradation
+    - d/p/ubuntu-backport-43-fix-level-type-retrieving.patch
+      Fix type retrieving which was broken in standard threads
+    - d/p/ubuntu-fix-xenvirt-support-dynamic-page-size.patch: fix build
+      failure on arm64
+  * droping patches/backports that are no more applicable
+    - d/p/ubuntu-backport-38-* was never accepted despite looking good.
+      Upstream discussion around proper successor started.
+  * keeping patches:
+    - d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch
+      Was never accepted, Upstream discussion around proper successor started.
+  * adapt debian/* to upstream changes
+    - update symbols and ABI versions
+    - add librte-pdump1
+  * adding changes
+   - fix exported symbols of librte_pmd_bond (sent upstream, can be dropped
+     later)
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 06 Jul 2016 09:40:49 +0200
+
+dpdk (16.04-1) UNRELEASED; urgency=medium
+
+  [ Christian Ehrhardt ]
+  * Merge with upstream DPDK 16.04 release
+  * droping patches/backports that are already upstream in DPDK 16.04
+    - d/p/ubuntu-fix-doc-installpath.patch
+    - d/p/ubuntu-fix-testpmd-without-xen.patch
+    - d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch
+    - d/p/ubuntu-backport-[01-32,34-35] backports for stability
+    - d/p/ubuntu-backport-[36-37] but keep doc and example changes in d/*
+  * droping patches for soname / linking fixups.
+    - Upstream now goes with proper soname/abi/api handling per sublib plus a
+      linker script.
+    - dropped d/p/ubuntu-combined-shared-lib-abiversion.patch
+    - dropped d/p/ubuntu-fix-library-linkage.patch
+  * keeping patches:
+    - d/p/ubuntu-backport-38-* fix for memory leak
+      this now applies as is, so changed from a modified backport to match the
+      post 16.04 upstream commit now.
+    - d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch
+    - doc and example changes that were related to d/p/ubuntu-backport-[36-37]
+    - d/p/ubuntu-fix-vhost-user-socket-permission.patch adapted for dpdk-16.04:
+      In the new build system with sublibs the exposed function needs to be
+      listed in lib/librte_eal/linuxapp/eal/rte_eal_version.map
+  * adding upstream backports - can be dropped when merging DPDK 16.07.
+    - d/p/ubuntu-backport-39-lpm-fix-freeing-in-compatibility-mode.patch
+      This was formerly part of a combined patch that we dropped because the
+      majority is upstream (d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch).
+    - d/p/ubuntu-backport-40-linking-fixes-stage-[1-4]-4.patch
+      d/p/ubuntu-backport-44-linking-cleanup.patch
+      Fixing underlinking and overlinking issues in apps and libraries.
+    - d/p/ubuntu-backport-41-fix-install-tar-1.29.patch
+      Fix issues with tar >=1.29 (Yakkety)
+    - d/p/ubuntu-backport-42-increase-default-logging-level.patch
+      avoid default debug messages causing a perf degradation
+    - d/p/ubuntu-backport-43-fix-level-type-retrieving.patch
+      Fix type retrieving which was broken in standard threads
+  * adapt to new build system
+    - drop enabling the following build config symbols as they no more exist
+        CONFIG_RTE_BUILD_COMBINE_LIBS
+    - Sub-Libraries are now packaged in a versioned package per library. That
+      allows consumers of dpdk to just depend on what they need. As well as
+      installation of multiple .so versions concurrently.
+    - added the hidden dependency of librte_eal to librte_mempool
+    - use dpkg-buildflags and properly enable hardening
+  * Adding DKMS package for rte_kni (LP: #1592786)
+
+  [ Ricardo Salveti ]
+  * Adding support for ARM64:
+    - debian/control: adding arm64 to the supported architecture list
+    - debian/rules: supporting dpdk config and machine for arm64
+    - d/p/ubuntu-fix-xenvirt-support-dynamic-page-size.patch: fix build
+      failure on arm64
+    - debian/dpdk-sdk-env.sh: generating the right RTE_TARGET during build
+      time, so we can also make it compatible with ARM64
+    - debian/tests: also making tests compatible with ARM64
+  * Adding DKMS package for igb_uio
+  * Build static dpdk with -fPIC so it can be used by shared libraries
+  * debian/copyright: fixing Canonical's copyright entry
+  * Renaming symbol files so they can match the right package
+  * Drop the arch specific symbol files, as they are identical
+
+  [ Anders Roxell ]
+  * debian/dpdk.init: add remote_fs (lintian)
+  * debian/control: fixing week-library-dev-dependency (lintian)
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Tue, 17 May 2016 14:23:21 +0200
+
+dpdk (2.2.0-0ubuntu9) yakkety; urgency=medium
+
+  * d/p/ubuntu-backport-[36-37] fix virtio issues (LP: #1570195):
+    - don't let DPDK initialize virtio devices still in use by the kernel
+    - this avoids conflicts between kernel and dpdk usage of those devices
+    - an admin now has to unbind/bind devices as on physical hardware
+    - this is in the dpdk 16.04 release and delta can then be dropped
+    - d/dpdk-doc.README.Debian update for changes in virtio-pci handling
+    - d/dpdk.interfaces update for changes in virtio-pci handling
+  * d/p/ubuntu-backport-38... fix for memory leak (LP: #1570466):
+    - call vhost_destroy_device on removing vhost user ports to fix memory leak
+    - this likely is in the dpdk 16.07 release and delta can then be dropped
+  * d/p/ubuntu-fix-vhost-user-socket-permission.patch fox (LP: #1546565):
+    - when vhost_user sockets are created they are owner:group of the process
+    - the DPDK api to create those has no way to specify owner:group
+    - to fix that without breaking the API and potential workaround code in
+      consumers of the library like openvswitch 2.6 for example. This patch
+      adds an EAL commandline option to specify user:group created vhost_user
+      sockets should have.
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 27 Apr 2016 07:52:48 -0500
+
+dpdk (2.2.0-0ubuntu7) xenial; urgency=medium
+
+  * Increase max_map_count after setting huge pages (LP: #1507921):
+    - The default config of 65530 would cause issues as soon as about 64GB or
+      more are used as 2M huge pages for dpdk.
+    - Increase this value to base+2*#hugepages to avoid issues on huge systems.
+  * d/p/ubuntu-backport-[28-32,34-35] backports for stability (LP: #1568838):
+     - these will be in the 16.04 dpdk release, delta can then be dropped.
+     - 5 fixes that do not change api/behaviour but fix serious issues.
+        - 01 f82f705b lpm: fix allocation of an existing object
+        - 02 f9bd3342 hash: fix multi-process support
+        - 03 1aadacb5 hash: fix allocation of an existing object
+        - 04 5d7bfb73 hash: fix race condition at creation
+        - 05 fe671356 vfio: fix resource leak
+        - 06 356445f9 port: fix ring writer buffer overflow
+        - 07 52f7a5ae port: fix burst size mask type
+  * d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch
+     - this will likely be in dpdk release 16.07 and delta can then be dropped.
+     - fixes a crash on using fd's >1023 (LP: #1566874)
+  * d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch fix lpm_free (LP: #1569375)
+     - the old patches had an error freeing a pointer which had no meta data
+     - that lead to a crash on any lpm_free call
+     - folded into the fix that generally covers the lpm allocation and free
+       weaknesses already (also there this particular mistake was added)
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Tue, 12 Apr 2016 16:13:47 +0200
+
+dpdk (2.2.0-0ubuntu6) xenial; urgency=medium
+
+  * d/dpdk-init fix handling of multiple huge page sizes (LP: #1557532):
+     - dpdk-init now ensures non-default-hugepage-size mountpoints are
+       available as well.
+     - extra mountpoints are only created if requested in dpdk.conf and not yet
+       available (e.g. by the admin).
+  * d/dpdk-init fix issues with unassigned devices (LP: #1558485):
+     - dpdk-init no more checks /sys/.../driver of the device unconditionally
+     - removed the superfluous tr call in that path
+  * d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch lpm/lpm6 (LP: #1554009):
+     - lpm/lpm6 fix use after free on lpm[6]_create
+     - lpm/lpm6 fix missing frees of rules_tbl substructure
+     - lpm/lpm6 fix missing free of lpm due to early exit
+     - make RTE_LOG messages of the failed allocation unique
+  * d/p/ubuntu-backport-[01-26] backport for stability (LP: #1559981):
+     - these will be in the following dpdk release and delta can then be dropped
+     - 26 fixes that do not change api/behaviour but fix serious issues
+        - 01 d3a274ce app/testpmd: handle SIGINT and SIGTERM
+        - 02 308df2bf Handle SIGINT and SIGTERM in l3fwd.
+        - 03 da82ee17 tools: fix unbinding failure handling
+        - 04 16c1814c tools: support Python 3 in bind script
+        - 05 bb9f4085 tools: support binding to built-in kernel modules
+        - 06 6e7caa1a eal/linux: support built-in kernel modules
+        - 07 86f36ff9 mempool: fix leak when creation fails
+        - 08 ca67ed28 vhost: fix leak of fds and mmaps
+        - 09 fa11a8a7 port: fix crash for ring writer nodrop
+        - 10 04f36690 port: fix crash for ethdev writer nodrop
+        - 11 c7a4ff80 i40e: fix overflow
+        - 12 097e920c i40e: fix inverted check for no refcount
+        - 13 330aa319 i40e: fix VLAN filtering
+        - 14 9f44dd3d i40e/base: fix missing check for stopped admin queue
+        - 15 8a880736 i40e/base: fix driver load failure
+        - 16 7656a546 fm10k: fix VLAN flag in scattered Rx
+        - 17 c6fb0e55 pcap: fix captured frame length
+        - 18 6e027237 bonding: fix detach of bonded device
+        - 19 df3e8ad7 bonding: fix detach of slave devices
+        - 20 786c990a bonding: copy entire config structure in mode 4
+        - 21 6698820b bonding: do not ignore multicast in mode 4
+        - 22 8997a10b bonding: fix active slaves with no primary
+        - 23 7a7122ed bonding: do not activate slave twice
+        - 24 2186fff3 bonding: fix crash when no slave device
+        - 25 c680a4a8 virtio: fix crash in statistics functions
+        - 26 3b1e3e4e virtio: fix descriptors pointing to the same buffer
+  * d/p/ubuntu-backport-27-virtio-fix-restart.patch for (LP: #1559981):
+     - fixing re-initializing the ethdev as openvswitch-dpdk does in the
+       virtio pmd driver by moving the detection of already being initialized
+       from virtio_dev_close to virtio_dev_start/stop
+     - this will be in the following dpdk release and delta can then be dropped
+  * d/rules build with debuginfo (LP: #1560839):
+     - exporting CFLAGS for all dpdk build processes
+     - dh_strip will automatically and create -dbgsym packages accordingly
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 23 Mar 2016 10:34:50 +0100
+
+dpdk (2.2.0-0ubuntu5) xenial; urgency=medium
+
+  * d/t/test-initscripts fix issues regarding 1G hugepages
+     - the dep8 was already taking care of 1G hugepages being not supported in
+       some environments. But it was failing when supported, but not enough
+       memory available.
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 09 Mar 2016 17:19:24 +0000
+
+dpdk (2.2.0-0ubuntu4) xenial; urgency=medium
+
+  * harden d/dpdk-init for configuration issues (LP: #1551601):
+     - detect and warn about bad bus specifications.
+     - detect and warn about incomplete device specifications.
+     - detect and warn about non existing pci IDs.
+     - avoid failing when working with unassigned devices.
+     - d/t/test-initscripts now testing various misconfigs.
+     - d/t/test-initscripts now also verifying service status.
+  * d/dpdk-init d/dpdk.conf now also support 1G hugepages (LP: #1551767):
+     - detect and warn if 1G pages are not available but configured.
+     - d/t/test-initscripts now also testing hugepage allocations.
+     - d/dpdk.conf has an option to drop caches to incease the likeliness of
+       successful 1G hugepage allocations (default off).
+  * d/rules replaced uname -m with DEB_HOST_GNU_CPU (LP: #1551796):
+  * fix testpmd to run without Xen environment (LP: #1551752):
+     - upstream discussion is slow, but we need a fix now. We can drop this
+       and change to the upstream solution when it is available.
+  * avoid errors due to missing modules (LP: #1554397):
+     - d/dpdk-init gracefully warns about missing modules.
+     - d/control now suggests linux-image-generic.
+     - d/dpdk.interfaces has a comment that makes the user aware.
+  * d/dpdk-init fix failure loading vfio-pci (LP: #1554214):
+     - d/dpdk-init no more converts "-" to "_" to make vfio-pci work
+     - d/dpdk.interfaces enhanced comments and updated examples
+     - d/dpdk-doc.README.debian got extra notes about using some modules
+  * unify whitespace/tabs in packaging and scripts
+     - tabs/spaces to just spaces in d/dpdk-init and d/dpdk.init.
+     - few remaining spaces to tabs in d/rules
+  * d/t/test-* now satisfy shellcheck
+  * d/* fix various comments and guides to be more readable
+  * d/dpdk-init and d/copyright updated copyright information
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 09 Mar 2016 08:48:58 +0000
+
+dpdk (2.2.0-0ubuntu3) xenial; urgency=medium
+
+  * Guard dep8 tests against non supported platforms (LP: #1551158):
+    - d/t/control now avoids failing due to "dependencies are unsatisfiable"
+      when fetching packages. The packages architecture restrictions got added
+      to avoid that.
+    - d/t/check-dpdk-supported-arch.sh is called by all DPDK tests to ensure
+      the platform is supported. If not it skips the test.
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Mon, 29 Feb 2016 11:03:39 +0000
+
+dpdk (2.2.0-0ubuntu2) xenial; urgency=medium
+
+  [ Christian Ehrhardt ]
+  * fix libdpdk.so library linking (LP: #1547517)
+    - libdpdk.so now has proper linkage information (was underlinked)
+      Note: this can be dropped when moving to DPDK 2.3 with linker script
+            instead of combined shared lib.
+    - remove reference to extra linkage needed when building against -ldpdk
+      in dpdk-doc README.
+    - add dep8 d/t/test-linkage to verify linking dpdk works as expected.
+  * d/control remove ${shlibs:Depends} on package with no linked binary
+    avoiding dpkg-gencontrol build warning about unknown ${shlibs:Depends}.
+  * d/dpdk-doc.README.debian fix path to DPDK build environment variable
+    helper script in README file.
+  * Update VCS Info in d/control to include our repositories.
+
+  [  James Page ]
+  * d/*: wrap-and-sort.
+  * d/control: Trim trailing whitespace.
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Thu, 25 Feb 2016 16:07:21 +0000
+
+dpdk (2.2.0-0ubuntu1) xenial; urgency=low
+
+  * Merge from Upstream to DPDK 2.2
+    Remaining changes:
+    - Set soabi for the combined shared library
+  * Drop changes:
+    - configuring RTE_LIBNAME to dpdk as it is the upstream default now
+    - enabled formerly non building components as they build properly in 2.2
+    - d/p/ubunut-avoid-texlive-fonts-extra, d/control:
+      Replace use of DejaVuSansMono is no more needed as upstream changed the
+      font. Thereby we can drop our delta.
+    - d/p/ubuntu-fix-gcc5-ftbs.patch no more needed with DPDK 2.2
+  * Added changes
+    - Disable CONFIG_RTE_NEXT_ABI as required for packaging (git 506f51cc)
+    - Enable LIBRTE_PMD_PCAP which is useful for some DPDK testcase examples
+      this adds a build dependency to libpcap-dev
+    - Fully support DH_VERBOSE for build debugging convenience
+    - adapt to new make infrastructure of dpdk 2.2
+    - d/README.debian: convert into d/dpdk-doc.README.debian
+    - d/dpdk-doc.README.debian: update recommendations about sdk env variables
+    - d/dpdk-sdk-env.sh: now deployed in /usr/share/dpdk to be opt in
+    - enable XEN support for dpdk (LP: #1521289).
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 17 Feb 2016 09:29:28 +0100
+
+dpdk (2.0.0-0ubuntu3) xenial; urgency=medium
+
+  * Only generate HTML documentation, easing backports to 14.04 and
+    reducing the time to build and size of the -doc package (LP: #1524700).
+
+ -- James Page <james.page@ubuntu.com>  Thu, 10 Dec 2015 10:23:51 +0000
+
+dpdk (2.0.0-0ubuntu2) xenial; urgency=low
+
+  * d/p/ubunut-avoid-texlive-fonts-extra, d/control:
+    Replace use of DejaVuSansMono by courier and drop dependency on the
+    texlive-fonts-extra package (which is in universe).
+  * d/watch added to allow use of uscan to check for upstream releases.
+  * d/dpdk-init: fix error if bash variables could not be resolved that
+    appeared as "[: -gt: unexpected operator" (had no functional impact)
+  * d/dpdk-init:
+    Replace use of head and cut (in /usr/bin) commands with sed (in /bin)
+    while also adding /usr/bin to the PATH used on direct /etc/init.d/dpdk
+    invocation. The PATH is only updated to be on the safe side, there
+    should be no other commands from /usr/bin used (LP: #1516543).
+  * d/t/test-mountpoint: add dep8 test to cover the issue of LP #1517075.
+  * d/dpdk-dev.install: Copy the SDK makefiles into place (LP: #1517075).
+
+ -- Stefan Bader <stefan.bader@canonical.com>  Tue, 17 Nov 2015 11:50:15 +0100
+
+dpdk (2.0.0-0ubuntu1) wily; urgency=low
+
+  * Initial release (LP: #1487538)
+
+ -- Stefan Bader <stefan.bader@canonical.com>  Mon, 01 Jun 2015 18:46:38 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..81a8fcc
--- /dev/null
@@ -0,0 +1,948 @@
+Source: dpdk
+Priority: optional
+Maintainer: deb_dpdk Packagers <deb-dpdk@lists.fd.io>
+Uploaders: Luca Boccassi <luca.boccassi@gmail.com>,
+           Christian Ehrhardt <christian.ehrhardt@canonical.com>,
+           Santiago Ruano Rincón <santiagorr@riseup.net>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               dh-systemd (>= 1.5),
+               dkms,
+               doxygen,
+               graphviz,
+               inkscape,
+               libcap-dev,
+               libpcap-dev,
+               libxen-dev [amd64 arm64 i386],
+               libxenstore3.0 [amd64 arm64 i386],
+               python,
+               python-sphinx,
+               python-sphinx-rtd-theme,
+               texlive-fonts-recommended,
+               texlive-latex-extra
+Standards-Version: 4.0.0
+Section: libs
+Homepage: http://www.dpdk.org
+Vcs-Git: https://gerrit.fd.io/r/deb_dpdk
+Vcs-Browser: https://gerrit.fd.io/r/gitweb?p=deb_dpdk.git
+
+Package: dpdk
+Section: admin
+Architecture: amd64 arm64 i386 ppc64el
+Depends: hwdata,
+         lsb-base (>= 3.2-14),
+         pciutils,
+         ${misc:Depends},
+         ${python:Depends},
+         ${shlibs:Depends}
+Recommends: ${librte:Recommends},
+Suggests: dpdk-doc,
+          dpdk-igb-uio-dkms (= ${binary:Version}),
+          dpdk-rte-kni-dkms (= ${binary:Version}),
+          linux-image-generic,
+          python-pyelftools,
+Description: Data Plane Development Kit (runtime)
+ 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 environment to run DPDK applications.
+
+Package: dpdk-dev
+Section: devel
+Architecture: amd64 arm64 i386 ppc64el
+Depends: libdpdk-dev (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
+Description: Data Plane Development Kit (development files)
+ 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 examples and the upstream build environment. It is
+ not strictly required in order to build external applications.
+
+Package: dpdk-doc
+Section: doc
+Architecture: all
+Multi-Arch: foreign
+Homepage: http://dpdk.org/doc/guides/index.html
+Depends: libjs-jquery, libjs-underscore, ${misc:Depends}, ${python:Depends}
+Recommends: python, ${python:Recommends}
+Description: Data Plane Development Kit (documentation)
+ 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 complete set of documentation and guides.
+
+Package: dpdk-igb-uio-dkms
+Section: kernel
+Architecture: amd64 arm64 i386 ppc64el
+Depends: dkms,
+         dpdk-dev (= ${binary:Version}),
+         libdpdk-dev (= ${binary:Version}),
+         make,
+         ${misc:Depends}
+Description: Data Plane Development Kit (igb uio dkms)
+ 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 source code for the igb_uio kernel module.
+
+Package: dpdk-rte-kni-dkms
+Section: kernel
+Architecture: amd64 arm64 i386 ppc64el
+Depends: dkms,
+         dpdk-dev (= ${binary:Version}),
+         libdpdk-dev (= ${binary:Version}),
+         make,
+         ${misc:Depends}
+Description: Data Plane Development Kit (rte kni dkms)
+ 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 source code for the rte_kni kernel module.
+
+Package: libdpdk-dev
+Section: libdevel
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libpcap-dev,
+         ${librte:Depends},
+         ${misc:Depends}
+Description: Data Plane Development Kit (basic development files)
+ 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 basic headers and library files required to
+ build external applications which will also require at least SSE3 support
+ when running.
+
+Package: librte-ethdev17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__ethdev_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (libethdev 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 libethdev.
+
+Package: librte-acl17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__acl_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-acl 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_acl.
+
+Package: librte-cfgfile17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__cfgfile_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-cfgfile 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_cfgfile.
+
+Package: librte-cmdline17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-cmdline 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_cmdline.
+
+Package: librte-cryptodev17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__cryptodev_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-cryptodev 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_cryptodev.
+
+Package: librte-distributor17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__distributor_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-distributor 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_distributor.
+
+Package: librte-eal17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__eal_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-eal 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_eal.
+
+Package: librte-hash17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__hash_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-hash 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_hash.
+
+Package: librte-ip-frag17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__ip__frag_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-ip-frag 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_ip_frag.
+
+Package: librte-jobstats17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__jobstats_8h_source.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-jobstats 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_jobstats.
+
+Package: librte-kni17.05
+Architecture: amd64 arm64 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__kni_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-kni 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_kni.
+
+Package: librte-kvargs17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__kvargs_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-kvargs 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_kvargs.
+
+Package: librte-lpm17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__lpm_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-lpm 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_lpm.
+
+Package: librte-mbuf17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__mbuf_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-mbuf2 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_mbuf.
+
+Package: librte-mempool17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__mempool_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-mempool 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_mempool.
+
+Package: librte-meter17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__meter_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-meter 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_meter.
+
+Package: librte-pipeline17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__pipeline_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pipeline 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_pipeline.
+
+Package: librte-net17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/prog_guide/overview.html?highlight=librte_net#librte-net
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-net 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_net.
+ .
+ The librte_net library is a collection of IP protocol definitions and
+ convenience macros. It is based on code from the FreeBSD* IP stack and
+ contains protocol numbers (for use in IP headers), IP-related macros,
+ IPv4/IPv6 header structures and TCP, UDP and SCTP header structures.
+
+Package: librte-pmd-af-packet17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/browse/dpdk/tree/drivers/net/af_packet
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-af-packet 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_af_packet.
+
+Package: librte-pmd-bnxt17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-bnxt 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_bnxt.
+
+Package: librte-pmd-bond17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-bond 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_bond.
+
+Package: librte-pmd-cxgbe17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/cxgbe.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-cxgbe 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_cxgbe.
+
+Package: librte-pmd-e1000-17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/e1000em.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-e1000 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_e1000.
+
+Package: librte-pmd-ena17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/ena.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-ena 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_ena.
+
+Package: librte-pmd-enic17.05
+Architecture: amd64 arm64 i386
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/enic.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-enic 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_enic.
+
+Package: librte-pmd-fm10k17.05
+Architecture: amd64 i386
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/fm10k.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-fm10k 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_fm10k.
+
+Package: librte-pmd-i40e17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/i40e.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-i40e 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_i40e.
+
+Package: librte-pmd-ixgbe17.05
+Architecture: amd64 arm64 i386
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/ixgbe.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-ixgbe 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_ixgbe.
+
+Package: librte-pmd-null-crypto17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/cryptodevs/null.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-null-crypto 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_null_crypto.
+
+Package: librte-pmd-null17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/browse/dpdk/tree/drivers/net/null
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-null 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_null.
+
+Package: librte-pmd-pcap17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/pcap_ring.html#libpcap-based-pmd
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-pcap 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_pcap.
+
+Package: librte-pmd-ring17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/pcap_ring.html#rings-based-pmd
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-ring 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_ring.
+
+Package: librte-pmd-vhost17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/vhost.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-vhost 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_vhost.
+
+Package: librte-pmd-virtio17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/virtio.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-virtio 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_virtio.
+
+Package: librte-pmd-vmxnet3-uio17.05
+Architecture: amd64 arm64 i386
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/vmxnet3.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-vmxnet3-uio 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_vmxnet3_uio.
+
+Package: librte-pmd-xenvirt17.05
+Architecture: amd64 arm64 i386
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/xen/pkt_switch.html#xen-pmd-frontend-prerequisites
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-xenvirt 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_xenvirt.
+
+Package: librte-pmd-qede17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/guides/nics/qede.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-qede 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_qede which is
+ The base driver is the backend module for the QLogic FastLinQ QL4xxxx
+ 25G/40G CNA family of adapters as well as their virtual functions (VF)
+ in SR-IOV context.
+
+Package: librte-port17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__port_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-port 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_port.
+
+Package: librte-power17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__power_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-power 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_power.
+
+Package: librte-reorder17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__reorder_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-reorder 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_reorder.
+
+Package: librte-ring17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__ring_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_ring 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_ring.
+
+Package: librte-sched17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__sched_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_sched 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_sched.
+
+Package: librte-table17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__table_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_table 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_table.
+
+Package: librte-timer17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__timer_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_timer 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_timer.
+
+Package: librte-vhost17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: http://dpdk.org/doc/api/rte__vhost_8h.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_vhost 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_vhost.
+
+Package: librte-pdump17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pdump 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_pdump.
+
+Package: librte-bitratestats17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_bitratestats 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_bitratestats.
+
+Package: librte-efd17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_efd 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_efd.
+
+Package: librte-eventdev17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_eventdev 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_eventdev.
+
+Package: librte-latencystats17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_latencystats 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_latencystats.
+
+Package: librte-mempool-ring17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_mempool_ring 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_mempool_ring.
+
+Package: librte-mempool-stack17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_mempool_stack 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_mempool_stack.
+
+Package: librte-metrics17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_metrics 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_metrics.
+
+Package: librte-pmd-ark17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_ark 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_ark.
+
+Package: librte-pmd-avp17.05
+Architecture: amd64
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_avp 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_avp.
+
+Package: librte-pmd-crypto-scheduler17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_crypto_scheduler 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_crypto_scheduler.
+
+Package: librte-pmd-kni17.05
+Architecture: amd64 arm64 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_kni 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_kni.
+
+Package: librte-pmd-lio17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_lio 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_lio.
+
+Package: librte-pmd-nfp17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_nfp 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_nfp.
+
+Package: librte-pmd-octeontx-ssovf17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_octeontx_ssovf 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_octeontx_ssovf.
+
+Package: librte-pmd-sfc-efx17.05
+Architecture: amd64
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_sfc_efx 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_sfc_efx.
+
+Package: librte-pmd-skeleton-event17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_skeleton_event 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_skeleton_event.
+
+Package: librte-pmd-sw-event17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_sw_event 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_sw_event.
+
+Package: librte-pmd-tap17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_tap 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_tap.
+
+Package: librte-pmd-thunderx-nicvf17.05
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte_pmd_thunderx_nicvf 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_thunderx_nicvf.
+
diff --git a/debian/control.modules.in b/debian/control.modules.in
new file mode 100644 (file)
index 0000000..8814154
--- /dev/null
@@ -0,0 +1,14 @@
+Package: dpdk-modules-#KVERS#
+Section: kernel
+Architecture: amd64 arm64 i386
+Depends: linux-image-#KVERS# #KDREV#
+Provides: dpdk-modules
+Conflicts: dpdk-igb-uio-dkms, dpdk-rte-kni-dkms
+Built-Using: ${built:using:kernel}
+Description: Data Plane Development Kit (rte kni, igb uio modules)
+ 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 source code for the igb_uio kernel module.
+ .
+ This package provides the kernel drivers for userspace networking.
+ Includes Intel DPDK kernel modules.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..9d36e82
--- /dev/null
@@ -0,0 +1,138 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: dpdk
+Source: http://dpdk.org
+
+Files: *
+Copyright: 2008-2014 Cisco Systems, Inc.
+           2012-2014 6WIND S.A.
+           1999-2016 Intel Corporation.
+           2010-2013 Tilera Corporation.
+           2012-2016 Mellanox.
+           2007      VMware, Inc.
+           2007      Nuova Systems, Inc.
+           2014      IBM Corporation.
+           and many other contributors.
+License: BSD-3-clause
+
+Files:
+ lib/librte_eal/linuxapp/igb_uio/*
+ lib/librte_eal/linuxapp/kni/*
+Copyright: 2007-2016, Intel Corporation
+           2006-2007 Myricom, Inc. for some LRO specific code
+License: GPL-2
+
+Files: drivers/net/enic/*
+Copyright: 2007, Nuova Systems, Inc.
+           2008-2016, Cisco Systems, Inc.
+License: BSD-2-clause
+
+Files:
+ lib/librte_eal/common/include/rte_pci_dev_*.h
+ lib/librte_eal/linuxapp/xen_dom0/*
+ lib/librte_vhost/eventfd_link/eventfd_link.h
+ drivers/crypto/qat/qat_adf/*
+Copyright: 2010-2016, Intel Corporation.
+License: BSD-3-clause or GPL-2
+
+Files:
+ lib/librte_eal/bsdapp/eal/include/exec-env/rte_dom0_common.h
+ lib/librte_eal/linuxapp/eal/include/exec-env/rte_dom0_common.h
+ lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h
+Copyright: 2007-2014, Intel Corporation.
+License: BSD-3-clause or LGPL-2.1
+
+Files: lib/librte_compat/rte_compat.h
+ drivers/net/vmxnet3/base/upt1_defs.h
+ drivers/net/vmxnet3/base/vmxnet3_defs.h
+ scripts/validate-abi.sh
+Copyright: 2015, Neil Horman <nhorman@tuxdriver.com>
+           2007, VMware, Inc.
+License: BSD-2-clause
+
+Files: buildtools/pmdinfogen/*
+Copyright: 2016, Neil Horman <nhorman@tuxdriver.com>
+License: GPL-2
+
+Files: debian/*
+Copyright: 2015, 2016 Canonical Ltd.
+License: GPL-3
+
+Files: debian/kernel-version
+       debian/prep-modules
+Copyright: 2009-2016 Andreas Beckmann <anbe@debian.org>
+           2010-2016 Russ Allbery <rra@debian.org>
+License: GPL-2.0+
+
+License: GPL-2
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: GPL-2.0+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: GPL-3
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+License: LGPL-2.1
+ On Debian systems, the complete text of the GNU Library General Public
+ License can be found in the file `/usr/share/common-licenses/LGPL-2.1'.
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ * Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in
+   the documentation and/or other materials provided with the
+   distribution.
+ * Neither the name of Intel Corporation nor the names of its
+   contributors may be used to endorse or promote products derived
+   from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/dh-dbgsym-metapkg b/debian/dh-dbgsym-metapkg
new file mode 100755 (executable)
index 0000000..fecbed1
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh -e
+
+PACKAGE=${1:?Missing parameter}
+
+dh_installdocs -p${PACKAGE}
+dh_installchangelogs -p${PACKAGE}
+dh_compress -p${PACKAGE}
+
+install -d debian/${PACKAGE}/DEBIAN
+
+echo -n 'misc:Depends=' > debian/${PACKAGE}.substvars
+grep -E 'lib.*-dbgsym' debian/files | tr '_' ' ' | \
+    awk '{ print $1,"(=",$2 ")" }' | paste -sd ',' - | \
+    sed -e 's/,/, /g' >> debian/${PACKAGE}.substvars
+
+dh_gencontrol -p libdpdk-dev -- \
+             -Pdebian/${PACKAGE} \
+             -Tdebian/${PACKAGE}.substvars \
+             -UPre-Depends -URecommends -USuggests -UEnhances -UProvides \
+             -UEssential -UConflicts -UReplaces -UBreaks \
+             -DSection=debug -DPriority=extra \
+             -DAuto-Built-Package=debug-symbols \
+             -DPackage=${PACKAGE} "-DDepends=\${misc:Depends}" \
+             "-DDescription=Debug symbols for libdpdk-dev (meta-package)"
diff --git a/debian/dpdk-dev.lintian-overrides b/debian/dpdk-dev.lintian-overrides
new file mode 100644 (file)
index 0000000..2d24d92
--- /dev/null
@@ -0,0 +1,3 @@
+# Upstream distributes it like this, these are binaries which are
+# part of the sdk which is shipped in dpdk-dev.
+dpdk-dev: arch-dependent-file-in-usr-share
diff --git a/debian/dpdk-doc.README.Debian b/debian/dpdk-doc.README.Debian
new file mode 100644 (file)
index 0000000..0e3866a
--- /dev/null
@@ -0,0 +1,64 @@
+dpdk for Debian
+---------------
+
+This package is currently compiled for the lowest possible CPU requirements.
+Which still requires at least SSE3 to be supported by the CPU.
+
+dpdk (runtime) / libdpdk0:
+
+For runtime /etc/dpdk/interfaces holds a list of PCI devices to be assigned
+to DPDK compatible drivers and /etc/dpdk/dpdk.conf allows one to define the
+number of hugepages to be reserved at boot.
+The runtime environment is not required to build applications that use
+DPDK but if those applications get packaged they should depend on the
+runtime.
+
+Since DPDK technically would be able to use all of your compatible card/driver
+combination it is required that you take care of blacklisting / whitelisting
+network cards to tell dpdk which it has to initialize (especially true for
+virtio-pci as the normal kernel driver is considered compatible).
+
+If you are working with virtio-pci network cards it isn't a hard requirement to
+assign them to a dpdk compatible userspace driver like uio_pci_generic. But you
+have to at least unbind them from the default kernel driver (virtio-pci) to
+avoid bugs by dpdk and the kernel working on them simultaneously. It is
+recommended to reassign them to dpdk compatible drivers using
+/etc/dpdk/interfaces (just as you would with any physical card).
+
+libdpdk0 contains the shared object needed to run a program in terms of symbol
+resolution, but none of the other runtime environment pieces.
+
+dpdk-dev / libdpdk-dev:
+
+The minimum requirement for developing external applications is libdpdk-dev,
+which brings the headers and library files.
+
+In dpdk-dev is the upstream makefile environment. Sample applications, which
+are shipped in dpdk-doc, are providing makefiles.
+Those makefiles need to find the dpdk build system. To do so they need some
+environment variables defined:
+ export RTE_TARGET="$(uname -m)-default-linuxapp-gcc"
+ export RTE_SDK="/usr/share/dpdk/"
+ export RTE_INCLUDE="/usr/include/dpdk"
+Those can be set by the user to overwrite with a custom path/config. If no
+custom environment is used it is recommended to source the file
+/usr/share/dpdk/dpdk-sdk-env.sh which comes with dpdk-dev.
+If the paths ever change or there will be more/less variables needed to build
+against dpdk-dev that file will be adjusted for you.
+
+Alternatively /usr/include/dpdk/rte_config.h has to be pre-included:
+CFLAGS  += -I/usr/include/dpdk -irte_config.h
+
+librte-pmd-* and DPDK PMD autoloading:
+
+PMD driver autoloading. DPDK since its split into several libraries does not
+have all PMD drivers available by default. One always can use EAL argument -d
+to provide a path to an extra .so file.
+TO ease daily usage RTE_EAL_PMD_PATH is set to
+/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/dpdk-pmds/.
+Each librte-pmd-* package will place a symlink in there which makes DPDK load
+and register it as PMD on startup.
+This can also be used to globally enable extra PMD drivers as you can link
+self-provided .so files in there to be considered.
+
+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Thu, 29 Sep 2016 13:04:47 +0200
diff --git a/debian/dpdk-doc.lintian-overrides b/debian/dpdk-doc.lintian-overrides
new file mode 100644 (file)
index 0000000..7da34da
--- /dev/null
@@ -0,0 +1 @@
+dpdk-doc: embedded-javascript-library
diff --git a/debian/dpdk-igb-uio-dkms.dkms b/debian/dpdk-igb-uio-dkms.dkms
new file mode 100644 (file)
index 0000000..5141ff6
--- /dev/null
@@ -0,0 +1,7 @@
+PACKAGE_NAME="dpdk-igb-uio"
+PACKAGE_VERSION="#MODULE_VERSION#"
+BUILT_MODULE_NAME[0]="igb_uio"
+MAKE="source /usr/share/dpdk/dpdk-sdk-env.sh; make MODULE_CFLAGS='-I/usr/include/dpdk -include /usr/include/dpdk/rte_config.h -fno-PIE' RTE_KERNELDIR=/lib/modules/${kernelver}/build"
+CLEAN="source /usr/share/dpdk/dpdk-sdk-env.sh; make clean"
+DEST_MODULE_LOCATION[0]="/updates/dkms"
+AUTOINSTALL="YES"
diff --git a/debian/dpdk-init b/debian/dpdk-init
new file mode 100755 (executable)
index 0000000..103488e
--- /dev/null
@@ -0,0 +1,255 @@
+#!/bin/sh
+#
+# dpdk-init: startup script to initialize a dpdk runtime environment
+#
+# Copyright 2015-2016 Canonical Ltd.
+# Autor: Stefan Bader <stefan.bader@canonical.com>
+# Autor: Christian Ehrhardt <christian.ehrhardt@canonical.com>
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License version 3,
+#    as published by the Free Software Foundation.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+set -e
+
+DPDK_BIND="/sbin/dpdk-devbind"
+DPDK_INTERF="/etc/dpdk/interfaces"
+
+
+# pagesize supports [G|g]/[M|m]/[K|k]
+get_kbytes() {
+    local unit
+    local num
+    unit=$(echo "${1}" | sed 's/[0-9]*//g')
+    num=$(echo "${1}" | sed 's/[^0-9]*//g')
+    case ${unit} in
+    *g | *G)
+        echo $((num*1024*1024))
+        ;;
+    *m | *M)
+        echo $((num*1024))
+        ;;
+    *k | *K)
+        echo $((num))
+        ;;
+    *)
+        echo $((num/1024))
+        ;;
+    esac
+}
+
+get_default_hpgsz() {
+    default_hpgsz=$(grep "Hugepagesize:" /proc/meminfo \
+        | sed 's/^Hugepagesize:\s*//g' | sed 's/\s*kB$//g')
+    echo "${default_hpgsz}"
+}
+
+get_hugetlbfs_mountpoint() {
+    local requested_hpgsz
+    local mp_hpgsz
+    requested_hpgsz=$(get_kbytes "${1}")
+
+    grep hugetlbfs /proc/mounts | while read \
+        mntfrom mntpoint mntfstype mntopt mntdump mntfsck; do
+
+        # check if the current muntpoint is of the requested huge page size
+        case ${mntopt} in
+        *pagesize=*)
+            mp_hpgsz=$(echo "${mntopt}" | sed 's/.*pagesize=//g' | sed 's/,.*//g')
+            mp_hpgsz=$(get_kbytes "${mp_hpgsz}")
+            ;;
+        *)
+            mp_hpgsz=$(get_default_hpgsz)
+            ;;
+        esac
+        if [ "${requested_hpgsz}" -eq "${mp_hpgsz}" ]; then
+            echo "${mntpoint}"
+            return
+        fi
+    done
+}
+
+_mount_hugetlbfs() {
+    local MNT="/dev/hugepages"
+    local MNTOPTS=""
+    local requested_hpgsz
+    local default_hpgsz
+    requested_hpgsz=$(get_kbytes "${1}")
+    default_hpgsz=$(get_default_hpgsz)
+
+    # kernel might not support the requested size
+    if [ ! -d "/sys/kernel/mm/hugepages/hugepages-${requested_hpgsz}kB" ]; then
+        echo "WARNING: requested page size of ${requested_hpgsz}kB " \
+             "not supported by the kernel"
+        return 0
+    fi
+
+    # special case if this is not the default huge page size
+    if [ "${requested_hpgsz}" -ne "${default_hpgsz}" ]; then
+        MNT="${MNT}-${requested_hpgsz}"
+        MNTOPTS="pagesize=${requested_hpgsz}K"
+    fi
+
+    if [ ! -e "${MNT}" ]; then
+        mkdir "${MNT}"
+        if [ $? -ne 0 ]; then
+            echo "Could not create directory ${MNT}!" >&2
+            return 1
+        fi
+    fi
+    mount -thugetlbfs hugetlbfs "${MNT}" -o "${MNTOPTS}"
+    return $?
+}
+
+#
+# The DPDK library will use the first mounted instance it finds for a given
+# page size. so if there is already one for a given size there is no need to
+# create another for the same huge page size.
+#
+mount_hugetlbfs() {
+    if [ ! -r /etc/dpdk/dpdk.conf ]; then
+        return 1
+    fi
+    . /etc/dpdk/dpdk.conf
+
+    # if a page size is requested, there has to be a mountpoint for that size
+    if [ -n "${NR_2M_PAGES}" -a -z "$(get_hugetlbfs_mountpoint '2M')" ]; then
+        _mount_hugetlbfs 2M
+    fi
+    if [ -n "${NR_16M_PAGES}" -a -z "$(get_hugetlbfs_mountpoint '16M')" ]; then
+        _mount_hugetlbfs 16M
+    fi
+    if [ -n "${NR_1G_PAGES}" -a -z "$(get_hugetlbfs_mountpoint '1G')" ]; then
+        _mount_hugetlbfs 1G
+    fi
+}
+
+_setup_hugepages() {
+    MMDIR="/sys/kernel/mm/hugepages/${1}"
+    PAGES=${2}
+
+    if [ "$PAGES" != "" ]; then
+        if [ "$PAGES" -gt 0 ]; then
+            if [ -d "$MMDIR" -a -w "$MMDIR/nr_hugepages" ]; then
+                # increases the chance to allocate enough huge pages
+                # configurable, since it comes at a perf penality
+                if [ "$DROPCACHE_BEFORE_HP_ALLOC" = "1" ]; then
+                    echo 3 > /proc/sys/vm/drop_caches
+                fi
+
+                echo "$PAGES" > "$MMDIR/nr_hugepages"
+
+                GOTPAGES=$(cat "$MMDIR/nr_hugepages")
+                if [ "$GOTPAGES" -lt "$PAGES" ]; then
+                    echo "WARNING: could not allocate $PAGES at " \
+                         "$MMDIR/nr_hugepages (only got $GOTPAGES)."
+                fi
+            else
+                echo "WARNING: $MMDIR/nr_hugepages not found/writable"
+            fi
+        fi
+    fi
+}
+
+#
+# Reserve a certain amount of hugepages (defined in /etc/dpdk.conf)
+#
+setup_hugepages() {
+    if [ ! -r /etc/dpdk/dpdk.conf ]; then
+        return 1
+    fi
+    . /etc/dpdk/dpdk.conf
+
+    _setup_hugepages "hugepages-2048kB" "$NR_2M_PAGES"
+    _setup_hugepages "hugepages-16384kB" "$NR_16M_PAGES"
+    _setup_hugepages "hugepages-1048576kB" "$NR_1G_PAGES"
+
+    # dpdk uses 2*#hugepages mappings, increase for huge systems LP #1507921
+    if [ -d /sys/kernel/mm/hugepages ]; then
+        max_map_count=$(awk -v pad=65530 '{tot+=$1}END{print tot*2+pad}' \
+            /sys/kernel/mm/hugepages/hugepages-*/nr_hugepages)
+        sysctl -q vm.max_map_count="${max_map_count:-65530}"
+    fi
+
+    return 0
+}
+
+#
+# Allow NICs to be automatically bound to DPDK compatible drivers on boot.
+#
+bind_interfaces() {
+    if [ ! -r "$DPDK_INTERF" ]; then
+        return 0
+    fi
+    grep -v '^[ \t]*#' "$DPDK_INTERF" | while read BUS ID MOD; do
+        if [ "$BUS" = "" -o "$ID" = "" -o "$MOD" = "" ]; then
+            echo "WARNING: incomplete spec in $DPDK_INTERF" \
+                " - BUS '$BUS' ID '$ID' MOD '$MOD'"
+            continue
+        fi
+        if [ "$BUS" != "pci" ]; then
+            echo "WARNING: incompatible bus '$BUS' in $DPDK_INTERF"
+            continue
+        fi
+
+        SYSFSPATH="/sys/bus/$BUS/devices/$ID"
+        if [ ! -e "$SYSFSPATH" ]; then
+            echo "WARNING: invalid pci ID '$ID' in $DPDK_INTERF" \
+                " - '$SYSFSPATH' does not exist"
+            continue
+        fi
+        if [ -L "$SYSFSPATH/driver" ]; then
+            CUR=$(readlink "$SYSFSPATH/driver")
+            CUR=$(basename "$CUR")
+        else
+            # device existing, but currently unregistered
+            CUR=""
+        fi
+        if [ "$MOD" != "$CUR" ]; then
+            modprobe -q "$MOD" || true
+            # cloud img have no linux-image-extra initially (uip_pci_generic)
+            # so check if the module is available (loadable/built in)
+            if [ -e "/sys/bus/pci/drivers/${MOD}" ]; then
+                echo "Reassigning pci:$ID to $MOD"
+                $DPDK_BIND -b "$MOD" "$ID"
+            else
+                echo "Warning: failed assigning pci:$ID," \
+                     " module $MOD not available"
+            fi
+        else
+            echo "pci:$ID already assigned to $MOD"
+        fi
+    done
+}
+
+
+
+case "$1" in
+start)
+    mount_hugetlbfs
+    setup_hugepages
+    bind_interfaces
+    ;;
+stop)
+    ;;
+reload|force-reload)
+    setup_hugepages
+    bind_interfaces
+    ;;
+status)
+    $DPDK_BIND --status
+    ;;
+*)
+    echo "Usage: $0 {start|stop|reload|force-reload|status}"
+    exit 1
+    ;;
+esac
+
diff --git a/debian/dpdk-rte-kni-dkms.dkms b/debian/dpdk-rte-kni-dkms.dkms
new file mode 100644 (file)
index 0000000..26de0ee
--- /dev/null
@@ -0,0 +1,7 @@
+PACKAGE_NAME="dpdk-rte-kni"
+PACKAGE_VERSION="#MODULE_VERSION#"
+BUILT_MODULE_NAME[0]="rte_kni"
+MAKE="source /usr/share/dpdk/dpdk-sdk-env.sh; make MODULE_CFLAGS='-I/usr/include/dpdk -include /usr/include/dpdk/rte_config.h -I$source_tree/dpdk-rte-kni-#MODULE_VERSION#/ethtool/ixgbe -I$source_tree/dpdk-rte-kni-#MODULE_VERSION#/ethtool/igb -fno-PIE' RTE_KERNELDIR=/lib/modules/${kernelver}/build"
+CLEAN="source /usr/share/dpdk/dpdk-sdk-env.sh; make clean"
+DEST_MODULE_LOCATION[0]="/updates/dkms"
+AUTOINSTALL="YES"
diff --git a/debian/dpdk-sdk-env.sh.in b/debian/dpdk-sdk-env.sh.in
new file mode 100755 (executable)
index 0000000..8cc3944
--- /dev/null
@@ -0,0 +1,3 @@
+export RTE_TARGET=SDK_TARGET
+export RTE_SDK="/usr/share/dpdk/"
+export RTE_INCLUDE="/usr/include/dpdk"
diff --git a/debian/dpdk.conf b/debian/dpdk.conf
new file mode 100644 (file)
index 0000000..272565c
--- /dev/null
@@ -0,0 +1,68 @@
+#
+# The number of 2M hugepages to reserve on system boot
+#
+# Default is 0
+# To e.g. let it reserve 128M via 64x 2M Hugepages set:
+# NR_2M_PAGES=64
+
+#
+# The number of 1G hugepages to reserve on system boot
+#
+# Default is 0
+# To e.g. let it reserve 2G via 2x 1G Hugepages set:
+# NR_1G_PAGES=2
+
+# The number of 16M hugepages to reserve, supported e.g. on ppc64el
+#
+# Default is 0
+# To e.g. let it reserve 512M via 32x 16M Hugepages set:
+# NR_16M_PAGES=32
+
+#
+# Dropping slab and pagecache can help to successfully allocate hugepages,
+# especially later in the lifecycle of a system.
+# This comes at the cost of loosing all slab and pagecache on (re)start
+# of the dpdk service - therefore the default is off.
+#
+# Default is 0
+# Set to 1 to enable it
+#DROPCACHE_BEFORE_HP_ALLOC=0
+
+# The DPDK library will use the first mounted hugetlbfs.
+# The init scripts try to ensure there is at least one default hugetlbfs
+# mountpoint on start.
+# If you have multiple hugetlbfs mountpoints for a complex (e.g. specific numa
+# policies) setup it should be controlled by the admin instead of this init
+# script. In that case specific mountpoints can be provided as parameters to
+# the DPDK library.
+
+# Also please be aware that multiple huge page sizes and their mountpoints
+# can confuse other programs as well. For example libvirt/qemu might pick one
+# of the paths created for DPDKs larger pages or any such.
+# It is recommended in these cases to consider configuring the respective
+# applications as well to not "guess" when picking a hugepage path.
+# In the libvirt/qemu case that would for example be the setting
+# hugetlbfs_mount in /etc/libvirt/qemu.conf
+
+# Hardware may support other granularities of hugepages (like 4M). But the
+# larger the hugepages the earlier those should be allocated.
+# Note: the dpdk init scripts will report warnings, but not fail if they could
+# not allocate the requested amount of hugepages.
+# The more or the larger the hugepages to be allocated are, the more it is
+# recommended to do the reservation as kernel commandline arguments.
+# To do so edit /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT
+# and add [hugepagesz=xx] hugepages=yy ...
+#
+# Kernel commandline config:
+# hugepagesz sets the size for the next hugepages reservation (default 2M)
+# hugepages  reserves the given number of hugepages of the size set before
+#
+# After modifying /etc/default/grub, the command "update-grub" has to be
+# run in order to re-generate the grub config files. The new values will
+# be used after next reboot.
+#
+# example:
+# GRUB_CMDLINE_LINUX_DEFAULT="... hugepages=16 hugepagesz=1G hugepages=2"
+#
+# If the system supports it, this will reserve 16x 2M pages and 2x 1G pages.
+#
diff --git a/debian/dpdk.init b/debian/dpdk.init
new file mode 100644 (file)
index 0000000..002ba29
--- /dev/null
@@ -0,0 +1,57 @@
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:          dpdk
+# Required-Start:    $remote_fs $local_fs
+# Required-Stop:     $remote_fs $local_fs
+# Default-Start:     S
+# Default-Stop:      0 1 6
+# Short-Description: start dpdk runtime environment
+### END INIT INFO
+
+set -e
+
+PATH="/sbin:/bin:/usr/bin"
+
+[ -d /lib/dpdk ] || exit 0
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
+# and status_of_proc is working.
+. /lib/lsb/init-functions
+
+error=0
+case "$1" in
+start)
+    log_action_begin_msg "Starting DPDK environment" "dpdk"
+    output=$(/lib/dpdk/dpdk-init start 2>&1) || error="$?"
+    if [ ! -z "$output" ]; then
+        echo "$output" | while read line; do
+            log_action_cont_msg "$line"
+        done
+    fi
+    log_action_end_msg $error
+    exit $error
+    ;;
+stop)
+    ;;
+try-restart|restart|force-reload)
+    ;;
+status)
+    output=$(/lib/dpdk/dpdk-init --status 2>&1) || error="$?"
+    if [ ! -z "$output" ]; then
+        echo "$output" | while read line; do
+            log_action_cont_msg "$line"
+        done
+    fi
+    log_action_end_msg $error
+    exit $error
+    ;;
+*)
+    echo "Usage: $0 {start|stop|restart|force-reload|status}"
+    exit 1
+    ;;
+esac
+
+exit 0
+
diff --git a/debian/dpdk.install b/debian/dpdk.install
new file mode 100644 (file)
index 0000000..24c8d45
--- /dev/null
@@ -0,0 +1,2 @@
+debian/dpdk-init       lib/dpdk/
+debian/dpdk.conf       etc/dpdk/
diff --git a/debian/dpdk.interfaces b/debian/dpdk.interfaces
new file mode 100644 (file)
index 0000000..3442343
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# <bus>                Currently only "pci" is supported
+# <id>         Device ID on the specified bus
+# <driver>     Driver to bind against (vfio-pci, uio_pci_generic, igb_uio or
+#               rte_kni)
+#
+# Be aware that the two dpdk compatible drivers uio_pci_generic and vfio-pci are
+# part of linux-image-extra-<VERSION> package.
+# This package is not always installed by default - for example in cloud-images.
+# So please install it in case you run into missing module issues.
+#
+# For the module igb_uio, please install the dpdk-igb-uio-dkms package.
+# For the module rte_kni, please install the dpdk-rte-kni-dkms package.
+#
+# <bus>        <id>            <driver>
+# pci  0000:04:00.0    vfio-pci
+# pci  0000:04:00.1    uio_pci_generic
+# pci  0000:05:00.0    igb_uio
+# pci  0000:06:00.0    rte_kni
diff --git a/debian/dpdk.service b/debian/dpdk.service
new file mode 100644 (file)
index 0000000..09ef8be
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=DPDK runtime environment
+DefaultDependencies=false
+After=network-pre.target local-fs.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/lib/dpdk/dpdk-init start
+
+[Install]
+WantedBy=multi-user.target
diff --git a/debian/kernel-version b/debian/kernel-version
new file mode 100755 (executable)
index 0000000..16ab01b
--- /dev/null
@@ -0,0 +1,61 @@
+#!/usr/bin/perl
+#
+# Copyright (c)  2009-2016 Andreas Beckmann <anbe@debian.org>
+#                2010-2016 Russ Allbery <rra@debian.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this script.  If not, see <http://www.gnu.org/licenses/>.
+#
+# This program comes from:
+# https://anonscm.debian.org/viewvc/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/module/debian/kernel-version?view=markup
+# The original copyright and license (GPL2+) can be found at:
+# https://anonscm.debian.org/viewvc/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/copyright?view=markup
+#
+# Extract the kernel version from the kernel version header file.  Takes the
+# kernel source path as its only argument.  If the version header couldn't be
+# found, print nothing and exit quietly.
+
+use warnings;
+
+my $ksrc = shift;
+unless ($ksrc && (-f "$ksrc/include/linux/version.h" || -f "$ksrc/include/generated/uapi/linux/version.h")) {
+    exit 0;
+}
+my $found = 0;
+my $line;
+if (open (VERSION, "$ksrc/include/linux/version.h")) {
+    if (defined(VERSION) && ($line = <VERSION>)) {
+        if ($line =~ /"(.+)"/) {
+            print "$1\n";
+            $found = 1;
+        }
+    }
+}
+exit 0 if $found;
+if (open (VERSION, "$ksrc/include/generated/utsrelease.h")) {
+    if (defined(VERSION) && ($line = <VERSION>)) {
+        if ($line =~ /UTS_RELEASE *"(.+)"/) {
+            print "$1\n";
+            $found = 1;
+        }
+    }
+}
+exit 0 if $found;
+# kernel.release is no longer useful since 3.1.0
+unless (open (VERSION, "$ksrc/include/config/kernel.release")) {
+    exit 0;
+}
+if (defined(VERSION) && ($line = <VERSION>)) {
+    print "$line";
+}
+exit 0;
diff --git a/debian/libdpdk.pc.in b/debian/libdpdk.pc.in
new file mode 100644 (file)
index 0000000..9fc8f74
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${prefix}/lib/@DEB_HOST_MULTIARCH@
+includedir=${prefix}/include
+include_arch_dir=${prefix}/include/@DEB_HOST_MULTIARCH@
+
+Name: dpdk
+Description: Data Plane Development Kit library
+Version: @VERSION@
+Libs: -L${libdir} @DPDK_LIBS@ -ldl -lm -lpthread -lz
+Cflags: -I${includedir}/dpdk -I${include_arch_dir}/dpdk -include ${include_arch_dir}/dpdk/rte_config.h
diff --git a/debian/librte-acl17.05.symbols b/debian/librte-acl17.05.symbols
new file mode 100644 (file)
index 0000000..39ceada
--- /dev/null
@@ -0,0 +1,15 @@
+librte_acl.so.17.05 librte-acl17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_acl_add_rules@DPDK_2.0 16.04
+ rte_acl_build@DPDK_2.0 16.04
+ rte_acl_classify@DPDK_2.0 16.04
+ rte_acl_classify_alg@DPDK_2.0 16.04
+ rte_acl_classify_scalar@DPDK_2.0 16.04
+ rte_acl_create@DPDK_2.0 16.04
+ rte_acl_dump@DPDK_2.0 16.04
+ rte_acl_find_existing@DPDK_2.0 16.04
+ rte_acl_free@DPDK_2.0 16.04
+ rte_acl_list_dump@DPDK_2.0 16.04
+ rte_acl_reset@DPDK_2.0 16.04
+ rte_acl_reset_rules@DPDK_2.0 16.04
+ rte_acl_set_ctx_classify@DPDK_2.0 16.04
diff --git a/debian/librte-bitratestats17.05.symbols b/debian/librte-bitratestats17.05.symbols
new file mode 100644 (file)
index 0000000..f7e903a
--- /dev/null
@@ -0,0 +1,5 @@
+librte_bitratestats.so.17.05 librte-bitratestats17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+ rte_stats_bitrate_calc@DPDK_17.05 17.05
+ rte_stats_bitrate_create@DPDK_17.05 17.05
+ rte_stats_bitrate_reg@DPDK_17.05 17.05
diff --git a/debian/librte-cfgfile17.05.symbols b/debian/librte-cfgfile17.05.symbols
new file mode 100644 (file)
index 0000000..3f3b67a
--- /dev/null
@@ -0,0 +1,15 @@
+librte_cfgfile.so.17.05 librte-cfgfile17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.04
+ DPDK_17.05@DPDK_17.05 17.05
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_cfgfile_close@DPDK_2.0 16.04
+ rte_cfgfile_get_entry@DPDK_2.0 16.04
+ rte_cfgfile_has_entry@DPDK_2.0 16.04
+ rte_cfgfile_has_section@DPDK_2.0 16.04
+ rte_cfgfile_load@DPDK_2.0 16.04
+ rte_cfgfile_load_with_params@DPDK_17.05 17.05
+ rte_cfgfile_num_sections@DPDK_2.0 16.04
+ rte_cfgfile_section_entries@DPDK_2.0 16.04
+ rte_cfgfile_section_entries_by_index@DPDK_16.04 16.04
+ rte_cfgfile_section_num_entries@DPDK_2.0 16.04
+ rte_cfgfile_sections@DPDK_2.0 16.04
diff --git a/debian/librte-cmdline17.05.symbols b/debian/librte-cmdline17.05.symbols
new file mode 100644 (file)
index 0000000..445d047
--- /dev/null
@@ -0,0 +1,68 @@
+librte_cmdline.so.17.05 librte-cmdline17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ DPDK_2.1@DPDK_2.1 16.04
+ cirbuf_add_buf_head@DPDK_2.0 16.04
+ cirbuf_add_buf_tail@DPDK_2.0 16.04
+ cirbuf_add_head@DPDK_2.0 16.04
+ cirbuf_add_head_safe@DPDK_2.0 16.04
+ cirbuf_add_tail@DPDK_2.0 16.04
+ cirbuf_add_tail_safe@DPDK_2.0 16.04
+ cirbuf_align_left@DPDK_2.0 16.04
+ cirbuf_align_right@DPDK_2.0 16.04
+ cirbuf_del_buf_head@DPDK_2.0 16.04
+ cirbuf_del_buf_tail@DPDK_2.0 16.04
+ cirbuf_del_head@DPDK_2.0 16.04
+ cirbuf_del_head_safe@DPDK_2.0 16.04
+ cirbuf_del_tail@DPDK_2.0 16.04
+ cirbuf_del_tail_safe@DPDK_2.0 16.04
+ cirbuf_get_buf_head@DPDK_2.0 16.04
+ cirbuf_get_buf_tail@DPDK_2.0 16.04
+ cirbuf_get_head@DPDK_2.0 16.04
+ cirbuf_get_tail@DPDK_2.0 16.04
+ cirbuf_init@DPDK_2.0 16.04
+ cmdline_complete@DPDK_2.0 16.04
+ cmdline_complete_get_elt_string@DPDK_2.0 16.04
+ cmdline_complete_get_nb_string@DPDK_2.0 16.04
+ cmdline_file_new@DPDK_2.0 16.04
+ cmdline_free@DPDK_2.0 16.04
+ cmdline_get_help_etheraddr@DPDK_2.0 16.04
+ cmdline_get_help_ipaddr@DPDK_2.0 16.04
+ cmdline_get_help_num@DPDK_2.0 16.04
+ cmdline_get_help_portlist@DPDK_2.0 16.04
+ cmdline_get_help_string@DPDK_2.0 16.04
+ cmdline_in@DPDK_2.0 16.04
+ cmdline_interact@DPDK_2.0 16.04
+ cmdline_isendoftoken@DPDK_2.0 16.04
+ cmdline_new@DPDK_2.0 16.04
+ cmdline_parse@DPDK_2.0 16.04
+ cmdline_parse_etheraddr@DPDK_2.0 16.04
+ cmdline_parse_ipaddr@DPDK_2.0 16.04
+ cmdline_parse_num@DPDK_2.0 16.04
+ cmdline_parse_portlist@DPDK_2.0 16.04
+ cmdline_parse_string@DPDK_2.0 16.04
+ cmdline_poll@DPDK_2.1 16.04
+ cmdline_printf@DPDK_2.0 16.04
+ cmdline_quit@DPDK_2.0 16.04
+ cmdline_set_prompt@DPDK_2.0 16.04
+ cmdline_stdin_exit@DPDK_2.0 16.04
+ cmdline_stdin_new@DPDK_2.0 16.04
+ cmdline_token_etheraddr_ops@DPDK_2.0 16.04
+ cmdline_token_ipaddr_ops@DPDK_2.0 16.04
+ cmdline_token_num_ops@DPDK_2.0 16.04
+ cmdline_token_portlist_ops@DPDK_2.0 16.04
+ cmdline_token_string_ops@DPDK_2.0 16.04
+ cmdline_write_char@DPDK_2.0 16.04
+ rdline_add_history@DPDK_2.0 16.04
+ rdline_char_in@DPDK_2.0 16.04
+ rdline_clear_history@DPDK_2.0 16.04
+ rdline_get_buffer@DPDK_2.0 16.04
+ rdline_get_history_item@DPDK_2.0 16.04
+ rdline_init@DPDK_2.0 16.04
+ rdline_newline@DPDK_2.0 16.04
+ rdline_quit@DPDK_2.0 16.04
+ rdline_redisplay@DPDK_2.0 16.04
+ rdline_reset@DPDK_2.0 16.04
+ rdline_restart@DPDK_2.0 16.04
+ rdline_stop@DPDK_2.0 16.04
+ vt100_init@DPDK_2.0 16.04
+ vt100_parser@DPDK_2.0 16.04
diff --git a/debian/librte-cryptodev17.05.symbols b/debian/librte-cryptodev17.05.symbols
new file mode 100644 (file)
index 0000000..a049b3d
--- /dev/null
@@ -0,0 +1,52 @@
+librte_cryptodev.so.17.05 librte-cryptodev17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.04
+ DPDK_16.07@DPDK_16.07 16.07~rc1
+ DPDK_16.11@DPDK_16.11 16.11
+ DPDK_17.02@DPDK_17.02 17.05
+ DPDK_17.05@DPDK_17.05 17.05
+ rte_crypto_auth_algorithm_strings@DPDK_17.02 17.05
+ rte_crypto_auth_operation_strings@DPDK_17.02 17.05
+ rte_crypto_cipher_algorithm_strings@DPDK_17.02 17.05
+ rte_crypto_cipher_operation_strings@DPDK_17.02 17.05
+ rte_crypto_op_pool_create@DPDK_16.04 16.04
+ rte_cryptodev_callback_register@DPDK_16.04 16.04
+ rte_cryptodev_callback_unregister@DPDK_16.04 16.04
+ rte_cryptodev_close@DPDK_16.04 16.04
+ rte_cryptodev_configure@DPDK_16.04 16.04
+ rte_cryptodev_count@DPDK_16.04 16.04
+ rte_cryptodev_count_devtype@DPDK_16.04 16.04
+ rte_cryptodev_create_vdev@DPDK_16.04 16.04
+ rte_cryptodev_devices_get@DPDK_17.02 17.05
+ rte_cryptodev_get_auth_algo_enum@DPDK_17.05 17.05
+ rte_cryptodev_get_cipher_algo_enum@DPDK_17.05 17.05
+ rte_cryptodev_get_dev_id@DPDK_16.04 16.04
+ rte_cryptodev_get_feature_name@DPDK_16.04 16.04
+ rte_cryptodev_info_get@DPDK_16.04 16.04
+ rte_cryptodev_parse_vdev_init_params@DPDK_16.07 16.07~rc1
+ rte_cryptodev_pci_probe@DPDK_16.11 16.11
+ rte_cryptodev_pci_remove@DPDK_16.11 16.11
+ rte_cryptodev_pmd_allocate@DPDK_16.04 16.04
+ rte_cryptodev_pmd_callback_process@DPDK_16.04 16.04
+ rte_cryptodev_pmd_create_dev_name@DPDK_17.02 17.05
+ rte_cryptodev_pmd_get_dev@DPDK_17.02 17.05
+ rte_cryptodev_pmd_get_named_dev@DPDK_17.02 17.05
+ rte_cryptodev_pmd_is_valid_dev@DPDK_17.02 17.05
+ rte_cryptodev_pmd_release_device@DPDK_16.04 16.04
+ rte_cryptodev_pmd_virtual_dev_init@DPDK_16.04 16.04
+ rte_cryptodev_queue_pair_attach_sym_session@DPDK_17.05 17.05
+ rte_cryptodev_queue_pair_count@DPDK_16.04 16.04
+ rte_cryptodev_queue_pair_detach_sym_session@DPDK_17.05 17.05
+ rte_cryptodev_queue_pair_setup@DPDK_16.04 16.04
+ rte_cryptodev_queue_pair_start@DPDK_16.04 16.04
+ rte_cryptodev_queue_pair_stop@DPDK_16.04 16.04
+ rte_cryptodev_socket_id@DPDK_16.04 16.04
+ rte_cryptodev_start@DPDK_16.04 16.04
+ rte_cryptodev_stats_get@DPDK_16.04 16.04
+ rte_cryptodev_stats_reset@DPDK_16.04 16.04
+ rte_cryptodev_stop@DPDK_16.04 16.04
+ rte_cryptodev_sym_capability_check_auth@DPDK_17.02 17.05
+ rte_cryptodev_sym_capability_check_cipher@DPDK_17.02 17.05
+ rte_cryptodev_sym_capability_get@DPDK_17.02 17.05
+ rte_cryptodev_sym_session_create@DPDK_16.04 16.04
+ rte_cryptodev_sym_session_free@DPDK_16.04 16.04
+ rte_cryptodevs@DPDK_16.04 16.04
diff --git a/debian/librte-distributor17.05.symbols b/debian/librte-distributor17.05.symbols
new file mode 100644 (file)
index 0000000..00f8c8d
--- /dev/null
@@ -0,0 +1,21 @@
+librte_distributor.so.17.05 librte-distributor17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_distributor_clear_returns@DPDK_17.05 17.05
+ rte_distributor_clear_returns@DPDK_2.0 16.04
+ rte_distributor_create@DPDK_17.05 17.05
+ rte_distributor_create@DPDK_2.0 16.04
+ rte_distributor_flush@DPDK_17.05 17.05
+ rte_distributor_flush@DPDK_2.0 16.04
+ rte_distributor_get_pkt@DPDK_17.05 17.05
+ rte_distributor_get_pkt@DPDK_2.0 16.04
+ rte_distributor_poll_pkt@DPDK_17.05 17.05
+ rte_distributor_poll_pkt@DPDK_2.0 16.04
+ rte_distributor_process@DPDK_17.05 17.05
+ rte_distributor_process@DPDK_2.0 16.04
+ rte_distributor_request_pkt@DPDK_17.05 17.05
+ rte_distributor_request_pkt@DPDK_2.0 16.04
+ rte_distributor_return_pkt@DPDK_17.05 17.05
+ rte_distributor_return_pkt@DPDK_2.0 16.04
+ rte_distributor_returned_pkts@DPDK_17.05 17.05
+ rte_distributor_returned_pkts@DPDK_2.0 16.04
diff --git a/debian/librte-eal17.05.symbols b/debian/librte-eal17.05.symbols
new file mode 100644 (file)
index 0000000..8b8e2bb
--- /dev/null
@@ -0,0 +1,154 @@
+librte_eal.so.17.05 librte-eal17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.04
+ DPDK_16.07@DPDK_16.07 16.07~rc1
+ DPDK_16.11@DPDK_16.11 16.11
+ DPDK_17.02@DPDK_17.02 17.05
+ DPDK_17.05@DPDK_17.05 17.05
+ DPDK_2.0@DPDK_2.0 16.04
+ DPDK_2.1@DPDK_2.1 16.04
+ DPDK_2.2@DPDK_2.2 16.04
+ __rte_panic@DPDK_2.0 16.04
+ devargs_list@DPDK_2.0 16.04
+ eal_parse_sysfs_value@DPDK_2.0 16.04
+ eal_timer_source@DPDK_2.0 16.04
+ lcore_config@DPDK_2.0 16.04
+ pci_get_sysfs_path@DPDK_16.07 16.07~rc1
+ per_lcore__lcore_id@DPDK_2.0 16.04
+ per_lcore__rte_errno@DPDK_2.0 16.04
+ rte_bus_dump@DPDK_17.02 17.05
+ rte_bus_probe@DPDK_17.02 17.05
+ rte_bus_register@DPDK_17.02 17.05
+ rte_bus_scan@DPDK_17.02 17.05
+ rte_bus_unregister@DPDK_17.02 17.05
+ rte_calloc@DPDK_2.0 16.04
+ rte_calloc_socket@DPDK_2.0 16.04
+ rte_cpu_check_supported@DPDK_2.0 16.04
+ rte_cpu_get_flag_enabled@DPDK_2.0 16.04
+ rte_cpu_get_flag_name@DPDK_16.04 16.04
+ rte_cpu_is_supported@DPDK_17.05 17.05
+ rte_cycles_vmware_tsc_map@DPDK_2.0 16.04
+ rte_delay_us@DPDK_2.0 16.04
+ rte_delay_us_block@DPDK_16.11 16.11
+ rte_delay_us_callback_register@DPDK_16.11 16.11
+ rte_dump_physmem_layout@DPDK_2.0 16.04
+ rte_dump_registers@DPDK_2.0 16.04
+ rte_dump_stack@DPDK_2.0 16.04
+ rte_dump_tailq@DPDK_2.0 16.04
+ rte_eal_alarm_cancel@DPDK_2.0 16.04
+ rte_eal_alarm_set@DPDK_2.0 16.04
+ rte_eal_dev_attach@DPDK_16.11 16.11
+ rte_eal_dev_detach@DPDK_16.11 16.11
+ rte_eal_devargs_add@DPDK_2.0 16.04
+ rte_eal_devargs_dump@DPDK_2.0 16.04
+ rte_eal_devargs_type_count@DPDK_2.0 16.04
+ rte_eal_get_configuration@DPDK_2.0 16.04
+ rte_eal_get_lcore_state@DPDK_2.0 16.04
+ rte_eal_get_physmem_layout@DPDK_2.0 16.04
+ rte_eal_get_physmem_size@DPDK_2.0 16.04
+ rte_eal_has_hugepages@DPDK_2.0 16.04
+ rte_eal_init@DPDK_2.0 16.04
+ rte_eal_iopl_init@DPDK_2.0 16.04
+ rte_eal_lcore_role@DPDK_2.0 16.04
+ rte_eal_mp_remote_launch@DPDK_2.0 16.04
+ rte_eal_mp_wait_lcore@DPDK_2.0 16.04
+ rte_eal_parse_devargs_str@DPDK_2.0 16.04
+ rte_eal_primary_proc_alive@DPDK_16.04 16.04
+ rte_eal_process_type@DPDK_2.0 16.04
+ rte_eal_remote_launch@DPDK_2.0 16.04
+ rte_eal_set_socket_permissions@DPDK_2.2 16.04
+ rte_eal_tailq_lookup@DPDK_2.0 16.04
+ rte_eal_tailq_register@DPDK_2.0 16.04
+ rte_eal_wait_lcore@DPDK_2.0 16.04
+ rte_epoll_ctl@DPDK_2.1 16.04
+ rte_epoll_wait@DPDK_2.1 16.04
+ rte_exit@DPDK_2.0 16.04
+ rte_free@DPDK_2.0 16.04
+ rte_get_log_level@DPDK_2.0 16.04
+ rte_get_log_type@DPDK_2.0 16.04
+ rte_get_tsc_hz@DPDK_2.0 16.04
+ rte_hexdump@DPDK_2.0 16.04
+ rte_intr_allow_others@DPDK_2.1 16.04
+ rte_intr_callback_register@DPDK_2.0 16.04
+ rte_intr_callback_unregister@DPDK_2.0 16.04
+ rte_intr_cap_multiple@DPDK_2.2 16.04
+ rte_intr_disable@DPDK_2.0 16.04
+ rte_intr_dp_is_en@DPDK_2.1 16.04
+ rte_intr_efd_disable@DPDK_2.1 16.04
+ rte_intr_efd_enable@DPDK_2.1 16.04
+ rte_intr_enable@DPDK_2.0 16.04
+ rte_intr_free_epoll_fd@DPDK_17.05 17.05
+ rte_intr_rx_ctl@DPDK_2.1 16.04
+ rte_intr_tls_epfd@DPDK_2.1 16.04
+ rte_keepalive_create@DPDK_2.2 16.04
+ rte_keepalive_dispatch_pings@DPDK_2.2 16.04
+ rte_keepalive_mark_alive@DPDK_2.2 16.04
+ rte_keepalive_mark_sleep@DPDK_16.07 16.07~rc1
+ rte_keepalive_register_core@DPDK_2.2 16.04
+ rte_keepalive_register_relay_callback@DPDK_16.07 16.07~rc1
+ rte_log@DPDK_2.0 16.04
+ rte_log_cur_msg_loglevel@DPDK_2.0 16.04
+ rte_log_cur_msg_logtype@DPDK_2.0 16.04
+ rte_log_dump@DPDK_17.05 17.05
+ rte_log_get_global_level@DPDK_17.05 17.05
+ rte_log_register@DPDK_17.05 17.05
+ rte_log_set_global_level@DPDK_17.05 17.05
+ rte_log_set_level@DPDK_17.05 17.05
+ rte_log_set_level_regexp@DPDK_17.05 17.05
+ rte_logs@DPDK_2.0 16.04
+ rte_malloc@DPDK_2.0 16.04
+ rte_malloc_dump_stats@DPDK_2.0 16.04
+ rte_malloc_get_socket_stats@DPDK_2.0 16.04
+ rte_malloc_set_limit@DPDK_2.0 16.04
+ rte_malloc_socket@DPDK_2.0 16.04
+ rte_malloc_validate@DPDK_2.0 16.04
+ rte_malloc_virt2phy@DPDK_2.0 16.04
+ rte_mem_lock_page@DPDK_2.0 16.04
+ rte_mem_virt2phy@DPDK_2.0 16.04
+ rte_memdump@DPDK_2.0 16.04
+ rte_memory_get_nchannel@DPDK_2.0 16.04
+ rte_memory_get_nrank@DPDK_2.0 16.04
+ rte_memzone_dump@DPDK_2.0 16.04
+ rte_memzone_free@DPDK_2.1 16.04
+ rte_memzone_lookup@DPDK_2.0 16.04
+ rte_memzone_reserve@DPDK_2.0 16.04
+ rte_memzone_reserve_aligned@DPDK_2.0 16.04
+ rte_memzone_reserve_bounded@DPDK_2.0 16.04
+ rte_memzone_walk@DPDK_2.0 16.04
+ rte_openlog_stream@DPDK_2.0 16.04
+ rte_pci_detach@DPDK_17.05 17.05
+ rte_pci_dump@DPDK_17.05 17.05
+ rte_pci_ioport_map@DPDK_17.05 17.05
+ rte_pci_ioport_read@DPDK_17.05 17.05
+ rte_pci_ioport_unmap@DPDK_17.05 17.05
+ rte_pci_ioport_write@DPDK_17.05 17.05
+ rte_pci_map_device@DPDK_17.05 17.05
+ rte_pci_probe@DPDK_17.05 17.05
+ rte_pci_probe_one@DPDK_17.05 17.05
+ rte_pci_read_config@DPDK_17.05 17.05
+ rte_pci_register@DPDK_17.05 17.05
+ rte_pci_scan@DPDK_17.05 17.05
+ rte_pci_unmap_device@DPDK_17.05 17.05
+ rte_pci_unregister@DPDK_17.05 17.05
+ rte_pci_write_config@DPDK_17.05 17.05
+ rte_realloc@DPDK_2.0 16.04
+ (arch=!arm64 !ppc64el)rte_rtm_supported@DPDK_16.07 16.07~rc3
+ rte_set_application_usage_hook@DPDK_2.0 16.04
+ rte_set_log_level@DPDK_2.0 16.04
+ rte_set_log_type@DPDK_2.0 16.04
+ rte_socket_id@DPDK_2.0 16.04
+ rte_strerror@DPDK_2.0 16.04
+ rte_strsplit@DPDK_2.0 16.04
+ rte_sys_gettid@DPDK_2.0 16.04
+ rte_thread_get_affinity@DPDK_2.0 16.04
+ rte_thread_set_affinity@DPDK_2.0 16.04
+ rte_thread_setname@DPDK_16.07 16.07~rc1
+ rte_vdev_init@DPDK_17.05 17.05
+ rte_vdev_register@DPDK_17.05 17.05
+ rte_vdev_uninit@DPDK_17.05 17.05
+ rte_vdev_unregister@DPDK_17.05 17.05
+ rte_vlog@DPDK_2.0 16.04
+ rte_zmalloc@DPDK_2.0 16.04
+ rte_zmalloc_socket@DPDK_2.0 16.04
+ vfio_get_container_fd@DPDK_17.05 17.05
+ vfio_get_group_fd@DPDK_17.05 17.05
+ vfio_get_group_no@DPDK_17.05 17.05
diff --git a/debian/librte-efd17.05.symbols b/debian/librte-efd17.05.symbols
new file mode 100644 (file)
index 0000000..32850e2
--- /dev/null
@@ -0,0 +1,9 @@
+librte_efd.so.17.05 librte-efd17.05 #MINVER#
+ DPDK_17.02@DPDK_17.02 17.05
+ rte_efd_create@DPDK_17.02 17.05
+ rte_efd_delete@DPDK_17.02 17.05
+ rte_efd_find_existing@DPDK_17.02 17.05
+ rte_efd_free@DPDK_17.02 17.05
+ rte_efd_lookup@DPDK_17.02 17.05
+ rte_efd_lookup_bulk@DPDK_17.02 17.05
+ rte_efd_update@DPDK_17.02 17.05
diff --git a/debian/librte-ethdev17.05.symbols b/debian/librte-ethdev17.05.symbols
new file mode 100644 (file)
index 0000000..302c9df
--- /dev/null
@@ -0,0 +1,123 @@
+librte_ethdev.so.17.05 librte-ethdev17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.07~rc1
+ DPDK_16.07@DPDK_16.07 16.07~rc1
+ DPDK_17.02@DPDK_17.02 17.05
+ DPDK_17.05@DPDK_17.05 17.05
+ DPDK_2.2@DPDK_2.2 16.07~rc1
+ _rte_eth_dev_callback_process@DPDK_2.2 16.07~rc1
+ _rte_eth_dev_reset@DPDK_17.02 17.05
+ rte_eth_add_first_rx_callback@DPDK_16.07 16.07~rc1
+ rte_eth_add_rx_callback@DPDK_2.2 16.07~rc1
+ rte_eth_add_tx_callback@DPDK_2.2 16.07~rc1
+ rte_eth_allmulticast_disable@DPDK_2.2 16.07~rc1
+ rte_eth_allmulticast_enable@DPDK_2.2 16.07~rc1
+ rte_eth_allmulticast_get@DPDK_2.2 16.07~rc1
+ rte_eth_dev_allocate@DPDK_2.2 16.07~rc1
+ rte_eth_dev_allocated@DPDK_2.2 16.07~rc1
+ rte_eth_dev_attach@DPDK_2.2 16.07~rc1
+ rte_eth_dev_attach_secondary@DPDK_17.05 17.05
+ rte_eth_dev_callback_register@DPDK_2.2 16.07~rc1
+ rte_eth_dev_callback_unregister@DPDK_2.2 16.07~rc1
+ rte_eth_dev_close@DPDK_2.2 16.07~rc1
+ rte_eth_dev_configure@DPDK_2.2 16.07~rc1
+ rte_eth_dev_count@DPDK_2.2 16.07~rc1
+ rte_eth_dev_default_mac_addr_set@DPDK_2.2 16.07~rc1
+ rte_eth_dev_detach@DPDK_2.2 16.07~rc1
+ rte_eth_dev_filter_ctrl@DPDK_2.2 16.07~rc1
+ rte_eth_dev_filter_supported@DPDK_2.2 16.07~rc1
+ rte_eth_dev_flow_ctrl_get@DPDK_2.2 16.07~rc1
+ rte_eth_dev_flow_ctrl_set@DPDK_2.2 16.07~rc1
+ rte_eth_dev_fw_version_get@DPDK_17.02 17.05
+ rte_eth_dev_get_dcb_info@DPDK_2.2 16.07~rc1
+ rte_eth_dev_get_eeprom@DPDK_2.2 16.07~rc1
+ rte_eth_dev_get_eeprom_length@DPDK_2.2 16.07~rc1
+ rte_eth_dev_get_mtu@DPDK_2.2 16.07~rc1
+ rte_eth_dev_get_name_by_port@DPDK_16.07 16.07~rc1
+ rte_eth_dev_get_port_by_name@DPDK_16.07 16.07~rc1
+ rte_eth_dev_get_reg_info@DPDK_2.2 16.07~rc1
+ rte_eth_dev_get_supported_ptypes@DPDK_16.04 16.07~rc1
+ rte_eth_dev_get_vlan_offload@DPDK_2.2 16.07~rc1
+ rte_eth_dev_info_get@DPDK_2.2 16.07~rc1
+ rte_eth_dev_is_valid_port@DPDK_2.2 16.07~rc1
+ rte_eth_dev_l2_tunnel_eth_type_conf@DPDK_16.04 16.07~rc1
+ rte_eth_dev_l2_tunnel_offload_set@DPDK_16.04 16.07~rc1
+ rte_eth_dev_mac_addr_add@DPDK_2.2 16.07~rc1
+ rte_eth_dev_mac_addr_remove@DPDK_2.2 16.07~rc1
+ rte_eth_dev_priority_flow_ctrl_set@DPDK_2.2 16.07~rc1
+ rte_eth_dev_release_port@DPDK_2.2 16.07~rc1
+ rte_eth_dev_rss_hash_conf_get@DPDK_2.2 16.07~rc1
+ rte_eth_dev_rss_hash_update@DPDK_2.2 16.07~rc1
+ rte_eth_dev_rss_reta_query@DPDK_2.2 16.07~rc1
+ rte_eth_dev_rss_reta_update@DPDK_2.2 16.07~rc1
+ rte_eth_dev_rx_intr_ctl@DPDK_2.2 16.07~rc1
+ rte_eth_dev_rx_intr_ctl_q@DPDK_2.2 16.07~rc1
+ rte_eth_dev_rx_intr_disable@DPDK_2.2 16.07~rc1
+ rte_eth_dev_rx_intr_enable@DPDK_2.2 16.07~rc1
+ rte_eth_dev_rx_queue_start@DPDK_2.2 16.07~rc1
+ rte_eth_dev_rx_queue_stop@DPDK_2.2 16.07~rc1
+ rte_eth_dev_set_eeprom@DPDK_2.2 16.07~rc1
+ rte_eth_dev_set_link_down@DPDK_2.2 16.07~rc1
+ rte_eth_dev_set_link_up@DPDK_2.2 16.07~rc1
+ rte_eth_dev_set_mc_addr_list@DPDK_2.2 16.07~rc1
+ rte_eth_dev_set_mtu@DPDK_2.2 16.07~rc1
+ rte_eth_dev_set_rx_queue_stats_mapping@DPDK_2.2 16.07~rc1
+ rte_eth_dev_set_tx_queue_stats_mapping@DPDK_2.2 16.07~rc1
+ rte_eth_dev_set_vlan_ether_type@DPDK_16.04 16.07~rc1
+ rte_eth_dev_set_vlan_offload@DPDK_2.2 16.07~rc1
+ rte_eth_dev_set_vlan_pvid@DPDK_2.2 16.07~rc1
+ rte_eth_dev_set_vlan_strip_on_queue@DPDK_2.2 16.07~rc1
+ rte_eth_dev_socket_id@DPDK_2.2 16.07~rc1
+ rte_eth_dev_start@DPDK_2.2 16.07~rc1
+ rte_eth_dev_stop@DPDK_2.2 16.07~rc1
+ rte_eth_dev_tx_queue_start@DPDK_2.2 16.07~rc1
+ rte_eth_dev_tx_queue_stop@DPDK_2.2 16.07~rc1
+ rte_eth_dev_uc_all_hash_table_set@DPDK_2.2 16.07~rc1
+ rte_eth_dev_uc_hash_table_set@DPDK_2.2 16.07~rc1
+ rte_eth_dev_udp_tunnel_port_add@DPDK_16.04 16.07~rc1
+ rte_eth_dev_udp_tunnel_port_delete@DPDK_16.04 16.07~rc1
+ rte_eth_dev_vlan_filter@DPDK_2.2 16.07~rc1
+ rte_eth_devices@DPDK_2.2 16.07~rc1
+ rte_eth_dma_zone_reserve@DPDK_2.2 16.07~rc1
+ rte_eth_find_next@DPDK_17.05 17.05
+ rte_eth_led_off@DPDK_2.2 16.07~rc1
+ rte_eth_led_on@DPDK_2.2 16.07~rc1
+ rte_eth_link_get@DPDK_2.2 16.07~rc1
+ rte_eth_link_get_nowait@DPDK_2.2 16.07~rc1
+ rte_eth_macaddr_get@DPDK_2.2 16.07~rc1
+ rte_eth_mirror_rule_reset@DPDK_2.2 16.07~rc1
+ rte_eth_mirror_rule_set@DPDK_2.2 16.07~rc1
+ rte_eth_promiscuous_disable@DPDK_2.2 16.07~rc1
+ rte_eth_promiscuous_enable@DPDK_2.2 16.07~rc1
+ rte_eth_promiscuous_get@DPDK_2.2 16.07~rc1
+ rte_eth_remove_rx_callback@DPDK_2.2 16.07~rc1
+ rte_eth_remove_tx_callback@DPDK_2.2 16.07~rc1
+ rte_eth_rx_queue_info_get@DPDK_2.2 16.07~rc1
+ rte_eth_rx_queue_setup@DPDK_2.2 16.07~rc1
+ rte_eth_set_queue_rate_limit@DPDK_2.2 16.07~rc1
+ rte_eth_speed_bitflag@DPDK_16.04 16.07~rc1
+ rte_eth_stats_get@DPDK_2.2 16.07~rc1
+ rte_eth_stats_reset@DPDK_2.2 16.07~rc1
+ rte_eth_timesync_adjust_time@DPDK_2.2 16.07~rc1
+ rte_eth_timesync_disable@DPDK_2.2 16.07~rc1
+ rte_eth_timesync_enable@DPDK_2.2 16.07~rc1
+ rte_eth_timesync_read_rx_timestamp@DPDK_2.2 16.07~rc1
+ rte_eth_timesync_read_time@DPDK_2.2 16.07~rc1
+ rte_eth_timesync_read_tx_timestamp@DPDK_2.2 16.07~rc1
+ rte_eth_timesync_write_time@DPDK_2.2 16.07~rc1
+ rte_eth_tx_buffer_count_callback@DPDK_16.04 16.07~rc1
+ rte_eth_tx_buffer_drop_callback@DPDK_16.04 16.07~rc1
+ rte_eth_tx_buffer_init@DPDK_16.04 16.07~rc1
+ rte_eth_tx_buffer_set_err_callback@DPDK_16.04 16.07~rc1
+ rte_eth_tx_queue_info_get@DPDK_2.2 16.07~rc1
+ rte_eth_tx_queue_setup@DPDK_2.2 16.07~rc1
+ rte_eth_xstats_get@DPDK_2.2 16.07~rc1
+ rte_eth_xstats_get_by_id@DPDK_17.05 17.05
+ rte_eth_xstats_get_id_by_name@DPDK_17.05 17.05
+ rte_eth_xstats_get_names@DPDK_16.07 16.07~rc1
+ rte_eth_xstats_get_names_by_id@DPDK_17.05 17.05
+ rte_eth_xstats_reset@DPDK_2.2 16.07~rc1
+ rte_flow_create@DPDK_17.02 17.05
+ rte_flow_destroy@DPDK_17.02 17.05
+ rte_flow_flush@DPDK_17.02 17.05
+ rte_flow_query@DPDK_17.02 17.05
+ rte_flow_validate@DPDK_17.02 17.05
diff --git a/debian/librte-eventdev17.05.symbols b/debian/librte-eventdev17.05.symbols
new file mode 100644 (file)
index 0000000..90c1b96
--- /dev/null
@@ -0,0 +1,35 @@
+librte_eventdev.so.17.05 librte-eventdev17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+ rte_event_dequeue_timeout_ticks@DPDK_17.05 17.05
+ rte_event_dev_close@DPDK_17.05 17.05
+ rte_event_dev_configure@DPDK_17.05 17.05
+ rte_event_dev_count@DPDK_17.05 17.05
+ rte_event_dev_dump@DPDK_17.05 17.05
+ rte_event_dev_get_dev_id@DPDK_17.05 17.05
+ rte_event_dev_info_get@DPDK_17.05 17.05
+ rte_event_dev_socket_id@DPDK_17.05 17.05
+ rte_event_dev_start@DPDK_17.05 17.05
+ rte_event_dev_stop@DPDK_17.05 17.05
+ rte_event_dev_xstats_by_name_get@DPDK_17.05 17.05
+ rte_event_dev_xstats_get@DPDK_17.05 17.05
+ rte_event_dev_xstats_names_get@DPDK_17.05 17.05
+ rte_event_dev_xstats_reset@DPDK_17.05 17.05
+ rte_event_pmd_allocate@DPDK_17.05 17.05
+ rte_event_pmd_pci_probe@DPDK_17.05 17.05
+ rte_event_pmd_pci_remove@DPDK_17.05 17.05
+ rte_event_pmd_release@DPDK_17.05 17.05
+ rte_event_pmd_vdev_init@DPDK_17.05 17.05
+ rte_event_pmd_vdev_uninit@DPDK_17.05 17.05
+ rte_event_port_count@DPDK_17.05 17.05
+ rte_event_port_default_conf_get@DPDK_17.05 17.05
+ rte_event_port_dequeue_depth@DPDK_17.05 17.05
+ rte_event_port_enqueue_depth@DPDK_17.05 17.05
+ rte_event_port_link@DPDK_17.05 17.05
+ rte_event_port_links_get@DPDK_17.05 17.05
+ rte_event_port_setup@DPDK_17.05 17.05
+ rte_event_port_unlink@DPDK_17.05 17.05
+ rte_event_queue_count@DPDK_17.05 17.05
+ rte_event_queue_default_conf_get@DPDK_17.05 17.05
+ rte_event_queue_priority@DPDK_17.05 17.05
+ rte_event_queue_setup@DPDK_17.05 17.05
+ rte_eventdevs@DPDK_17.05 17.05
diff --git a/debian/librte-hash17.05.symbols b/debian/librte-hash17.05.symbols
new file mode 100644 (file)
index 0000000..fef1605
--- /dev/null
@@ -0,0 +1,28 @@
+librte_hash.so.17.05 librte-hash17.05 #MINVER#
+ DPDK_16.07@DPDK_16.07 16.07~rc3
+ DPDK_2.0@DPDK_2.0 16.04
+ DPDK_2.1@DPDK_2.1 16.04
+ DPDK_2.2@DPDK_2.2 16.04
+ rte_fbk_hash_create@DPDK_2.0 16.04
+ rte_fbk_hash_find_existing@DPDK_2.0 16.04
+ rte_fbk_hash_free@DPDK_2.0 16.04
+ rte_hash_add_key@DPDK_2.0 16.04
+ rte_hash_add_key_data@DPDK_2.1 16.04
+ rte_hash_add_key_with_hash@DPDK_2.0 16.04
+ rte_hash_add_key_with_hash_data@DPDK_2.1 16.04
+ rte_hash_create@DPDK_2.0 16.04
+ rte_hash_del_key@DPDK_2.0 16.04
+ rte_hash_del_key_with_hash@DPDK_2.0 16.04
+ rte_hash_find_existing@DPDK_2.0 16.04
+ rte_hash_free@DPDK_2.0 16.04
+ rte_hash_get_key_with_position@DPDK_16.07 16.07~rc3
+ rte_hash_hash@DPDK_2.0 16.04
+ rte_hash_iterate@DPDK_2.1 16.04
+ rte_hash_lookup@DPDK_2.0 16.04
+ rte_hash_lookup_bulk@DPDK_2.0 16.04
+ rte_hash_lookup_bulk_data@DPDK_2.1 16.04
+ rte_hash_lookup_data@DPDK_2.1 16.04
+ rte_hash_lookup_with_hash@DPDK_2.0 16.04
+ rte_hash_lookup_with_hash_data@DPDK_2.1 16.04
+ rte_hash_reset@DPDK_2.1 16.04
+ rte_hash_set_cmp_func@DPDK_2.2 16.04
diff --git a/debian/librte-ip-frag17.05.symbols b/debian/librte-ip-frag17.05.symbols
new file mode 100644 (file)
index 0000000..ee2de4f
--- /dev/null
@@ -0,0 +1,9 @@
+librte_ip_frag.so.17.05 librte-ip-frag17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_ip_frag_free_death_row@DPDK_2.0 16.04
+ rte_ip_frag_table_create@DPDK_2.0 16.04
+ rte_ip_frag_table_statistics_dump@DPDK_2.0 16.04
+ rte_ipv4_frag_reassemble_packet@DPDK_2.0 16.04
+ rte_ipv4_fragment_packet@DPDK_2.0 16.04
+ rte_ipv6_frag_reassemble_packet@DPDK_2.0 16.04
+ rte_ipv6_fragment_packet@DPDK_2.0 16.04
diff --git a/debian/librte-jobstats17.05.symbols b/debian/librte-jobstats17.05.symbols
new file mode 100644 (file)
index 0000000..7ef79ae
--- /dev/null
@@ -0,0 +1,17 @@
+librte_jobstats.so.17.05 librte-jobstats17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.04
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_jobstats_abort@DPDK_16.04 16.04
+ rte_jobstats_context_finish@DPDK_2.0 16.04
+ rte_jobstats_context_init@DPDK_2.0 16.04
+ rte_jobstats_context_reset@DPDK_2.0 16.04
+ rte_jobstats_context_start@DPDK_2.0 16.04
+ rte_jobstats_finish@DPDK_2.0 16.04
+ rte_jobstats_init@DPDK_2.0 16.04
+ rte_jobstats_reset@DPDK_2.0 16.04
+ rte_jobstats_set_max@DPDK_2.0 16.04
+ rte_jobstats_set_min@DPDK_2.0 16.04
+ rte_jobstats_set_period@DPDK_2.0 16.04
+ rte_jobstats_set_target@DPDK_2.0 16.04
+ rte_jobstats_set_update_period_function@DPDK_2.0 16.04
+ rte_jobstats_start@DPDK_2.0 16.04
diff --git a/debian/librte-kni17.05.symbols b/debian/librte-kni17.05.symbols
new file mode 100644 (file)
index 0000000..4921d60
--- /dev/null
@@ -0,0 +1,13 @@
+librte_kni.so.17.05 librte-kni17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_kni_alloc@DPDK_2.0 16.04
+ rte_kni_close@DPDK_2.0 16.04
+ rte_kni_get@DPDK_2.0 16.04
+ rte_kni_get_name@DPDK_2.0 16.04
+ rte_kni_handle_request@DPDK_2.0 16.04
+ rte_kni_init@DPDK_2.0 16.04
+ rte_kni_register_handlers@DPDK_2.0 16.04
+ rte_kni_release@DPDK_2.0 16.04
+ rte_kni_rx_burst@DPDK_2.0 16.04
+ rte_kni_tx_burst@DPDK_2.0 16.04
+ rte_kni_unregister_handlers@DPDK_2.0 16.04
diff --git a/debian/librte-kvargs17.05.symbols b/debian/librte-kvargs17.05.symbols
new file mode 100644 (file)
index 0000000..1928698
--- /dev/null
@@ -0,0 +1,6 @@
+librte_kvargs.so.17.05 librte-kvargs17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_kvargs_count@DPDK_2.0 16.04
+ rte_kvargs_free@DPDK_2.0 16.04
+ rte_kvargs_parse@DPDK_2.0 16.04
+ rte_kvargs_process@DPDK_2.0 16.04
diff --git a/debian/librte-latencystats17.05.symbols b/debian/librte-latencystats17.05.symbols
new file mode 100644 (file)
index 0000000..9f7b403
--- /dev/null
@@ -0,0 +1,7 @@
+librte_latencystats.so.17.05 librte-latencystats17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+ rte_latencystats_get@DPDK_17.05 17.05
+ rte_latencystats_get_names@DPDK_17.05 17.05
+ rte_latencystats_init@DPDK_17.05 17.05
+ rte_latencystats_uninit@DPDK_17.05 17.05
+ rte_latencystats_update@DPDK_17.05 17.05
diff --git a/debian/librte-lpm17.05.symbols b/debian/librte-lpm17.05.symbols
new file mode 100644 (file)
index 0000000..faaf16f
--- /dev/null
@@ -0,0 +1,32 @@
+librte_lpm.so.17.05 librte-lpm17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.04
+ DPDK_17.05@DPDK_17.05 17.05
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_lpm6_add@DPDK_17.05 17.05
+ rte_lpm6_add@DPDK_2.0 16.04
+ rte_lpm6_create@DPDK_2.0 16.04
+ rte_lpm6_delete@DPDK_2.0 16.04
+ rte_lpm6_delete_all@DPDK_2.0 16.04
+ rte_lpm6_delete_bulk_func@DPDK_2.0 16.04
+ rte_lpm6_find_existing@DPDK_2.0 16.04
+ rte_lpm6_free@DPDK_2.0 16.04
+ rte_lpm6_is_rule_present@DPDK_17.05 17.05
+ rte_lpm6_is_rule_present@DPDK_2.0 16.04
+ rte_lpm6_lookup@DPDK_17.05 17.05
+ rte_lpm6_lookup@DPDK_2.0 16.04
+ rte_lpm6_lookup_bulk_func@DPDK_17.05 17.05
+ rte_lpm6_lookup_bulk_func@DPDK_2.0 16.04
+ rte_lpm_add@DPDK_16.04 16.04
+ rte_lpm_add@DPDK_2.0 16.04
+ rte_lpm_create@DPDK_16.04 16.04
+ rte_lpm_create@DPDK_2.0 16.04
+ rte_lpm_delete@DPDK_16.04 16.04
+ rte_lpm_delete@DPDK_2.0 16.04
+ rte_lpm_delete_all@DPDK_16.04 16.04
+ rte_lpm_delete_all@DPDK_2.0 16.04
+ rte_lpm_find_existing@DPDK_16.04 16.04
+ rte_lpm_find_existing@DPDK_2.0 16.04
+ rte_lpm_free@DPDK_16.04 16.04
+ rte_lpm_free@DPDK_2.0 16.04
+ rte_lpm_is_rule_present@DPDK_16.04 16.04
+ rte_lpm_is_rule_present@DPDK_2.0 16.04
diff --git a/debian/librte-mbuf17.05.symbols b/debian/librte-mbuf17.05.symbols
new file mode 100644 (file)
index 0000000..cca39b7
--- /dev/null
@@ -0,0 +1,23 @@
+librte_mbuf.so.17.05 librte-mbuf17.05 #MINVER#
+ DPDK_16.11@DPDK_16.11 16.11
+ DPDK_2.0@DPDK_2.0 16.04
+ DPDK_2.1@DPDK_2.1 16.04
+ __rte_pktmbuf_read@DPDK_16.11 16.11
+ rte_ctrlmbuf_init@DPDK_2.0 16.04
+ rte_get_ptype_inner_l2_name@DPDK_16.11 16.11
+ rte_get_ptype_inner_l3_name@DPDK_16.11 16.11
+ rte_get_ptype_inner_l4_name@DPDK_16.11 16.11
+ rte_get_ptype_l2_name@DPDK_16.11 16.11
+ rte_get_ptype_l3_name@DPDK_16.11 16.11
+ rte_get_ptype_l4_name@DPDK_16.11 16.11
+ rte_get_ptype_name@DPDK_16.11 16.11
+ rte_get_ptype_tunnel_name@DPDK_16.11 16.11
+ rte_get_rx_ol_flag_list@DPDK_16.11 16.11
+ rte_get_rx_ol_flag_name@DPDK_2.0 16.04
+ rte_get_tx_ol_flag_list@DPDK_16.11 16.11
+ rte_get_tx_ol_flag_name@DPDK_2.0 16.04
+ rte_mbuf_sanity_check@DPDK_2.0 16.04
+ rte_pktmbuf_dump@DPDK_2.0 16.04
+ rte_pktmbuf_init@DPDK_2.0 16.04
+ rte_pktmbuf_pool_create@DPDK_2.1 16.04
+ rte_pktmbuf_pool_init@DPDK_2.0 16.04
diff --git a/debian/librte-mempool-ring17.05.symbols b/debian/librte-mempool-ring17.05.symbols
new file mode 100644 (file)
index 0000000..f9ff036
--- /dev/null
@@ -0,0 +1,4 @@
+librte_mempool_ring.so.17.05 librte-mempool-ring17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+# INFO: this library exports no symbols, essentially it is a subelement
+# of mempool
diff --git a/debian/librte-mempool-stack17.05.symbols b/debian/librte-mempool-stack17.05.symbols
new file mode 100644 (file)
index 0000000..c0b391d
--- /dev/null
@@ -0,0 +1,4 @@
+librte_mempool_stack.so.17.05 librte-mempool-stack17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+# INFO: this library exports no symbols, essentially it is a subelement
+# of mempool
diff --git a/debian/librte-mempool17.05.symbols b/debian/librte-mempool17.05.symbols
new file mode 100644 (file)
index 0000000..873c0d9
--- /dev/null
@@ -0,0 +1,30 @@
+librte_mempool.so.17.05 librte-mempool17.05 #MINVER#
+ DPDK_16.07@DPDK_16.07 16.07~rc1
+ DPDK_2.0@DPDK_2.0 16.07~rc1
+ rte_mempool_audit@DPDK_2.0 16.07~rc1
+ rte_mempool_avail_count@DPDK_16.07 16.07~rc1
+ rte_mempool_cache_create@DPDK_16.07 16.07~rc1
+ rte_mempool_cache_free@DPDK_16.07 16.07~rc1
+ rte_mempool_calc_obj_size@DPDK_2.0 16.07~rc1
+ rte_mempool_check_cookies@DPDK_16.07 16.07~rc1
+ rte_mempool_create@DPDK_2.0 16.07~rc1
+ rte_mempool_create_empty@DPDK_16.07 16.07~rc1
+ rte_mempool_dump@DPDK_2.0 16.07~rc1
+ rte_mempool_free@DPDK_16.07 16.07~rc1
+ rte_mempool_in_use_count@DPDK_16.07 16.07~rc1
+ rte_mempool_list_dump@DPDK_2.0 16.07~rc1
+ rte_mempool_lookup@DPDK_2.0 16.07~rc1
+ rte_mempool_mem_iter@DPDK_16.07 16.07~rc1
+ rte_mempool_obj_iter@DPDK_16.07 16.07~rc1
+ rte_mempool_ops_table@DPDK_16.07 16.07~rc1
+ rte_mempool_populate_anon@DPDK_16.07 16.07~rc1
+ rte_mempool_populate_default@DPDK_16.07 16.07~rc1
+ rte_mempool_populate_phys@DPDK_16.07 16.07~rc1
+ rte_mempool_populate_phys_tab@DPDK_16.07 16.07~rc1
+ rte_mempool_populate_virt@DPDK_16.07 16.07~rc1
+ rte_mempool_register_ops@DPDK_16.07 16.07~rc1
+ rte_mempool_set_ops_byname@DPDK_16.07 16.07~rc1
+ rte_mempool_walk@DPDK_2.0 16.07~rc1
+ rte_mempool_xmem_create@DPDK_2.0 16.07~rc1
+ rte_mempool_xmem_size@DPDK_2.0 16.07~rc1
+ rte_mempool_xmem_usage@DPDK_2.0 16.07~rc1
diff --git a/debian/librte-meter17.05.symbols b/debian/librte-meter17.05.symbols
new file mode 100644 (file)
index 0000000..b2586d7
--- /dev/null
@@ -0,0 +1,4 @@
+librte_meter.so.17.05 librte-meter17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_meter_srtcm_config@DPDK_2.0 16.04
+ rte_meter_trtcm_config@DPDK_2.0 16.04
diff --git a/debian/librte-metrics17.05.symbols b/debian/librte-metrics17.05.symbols
new file mode 100644 (file)
index 0000000..43c7e5f
--- /dev/null
@@ -0,0 +1,9 @@
+librte_metrics.so.17.05 librte-metrics17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+ rte_metrics_get_names@DPDK_17.05 17.05
+ rte_metrics_get_values@DPDK_17.05 17.05
+ rte_metrics_init@DPDK_17.05 17.05
+ rte_metrics_reg_name@DPDK_17.05 17.05
+ rte_metrics_reg_names@DPDK_17.05 17.05
+ rte_metrics_update_value@DPDK_17.05 17.05
+ rte_metrics_update_values@DPDK_17.05 17.05
diff --git a/debian/librte-net17.05.symbols b/debian/librte-net17.05.symbols
new file mode 100644 (file)
index 0000000..3347ccf
--- /dev/null
@@ -0,0 +1,6 @@
+librte_net.so.17.05 librte-net17.05 #MINVER#
+ DPDK_16.11@DPDK_16.11 16.11
+ DPDK_17.05@DPDK_17.05 17.05
+ rte_net_crc_calc@DPDK_17.05 17.05
+ rte_net_crc_set_alg@DPDK_17.05 17.05
+ rte_net_get_ptype@DPDK_16.11 16.11
diff --git a/debian/librte-pdump17.05.symbols b/debian/librte-pdump17.05.symbols
new file mode 100644 (file)
index 0000000..d9a2bf7
--- /dev/null
@@ -0,0 +1,9 @@
+librte_pdump.so.17.05 librte-pdump17.05 #MINVER#
+ DPDK_16.07@DPDK_16.07 16.07~rc1
+ rte_pdump_disable@DPDK_16.07 16.07~rc1
+ rte_pdump_disable_by_deviceid@DPDK_16.07 16.07~rc1
+ rte_pdump_enable@DPDK_16.07 16.07~rc1
+ rte_pdump_enable_by_deviceid@DPDK_16.07 16.07~rc1
+ rte_pdump_init@DPDK_16.07 16.07~rc1
+ rte_pdump_set_socket_dir@DPDK_16.07 16.07~rc1
+ rte_pdump_uninit@DPDK_16.07 16.07~rc1
diff --git a/debian/librte-pipeline17.05.symbols b/debian/librte-pipeline17.05.symbols
new file mode 100644 (file)
index 0000000..d31c775
--- /dev/null
@@ -0,0 +1,28 @@
+librte_pipeline.so.17.05 librte-pipeline17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.04
+ DPDK_2.0@DPDK_2.0 16.04
+ DPDK_2.1@DPDK_2.1 16.04
+ DPDK_2.2@DPDK_2.2 16.04
+ rte_pipeline_ah_packet_drop@DPDK_16.04 16.04
+ rte_pipeline_ah_packet_hijack@DPDK_16.04 16.04
+ rte_pipeline_check@DPDK_2.0 16.04
+ rte_pipeline_create@DPDK_2.0 16.04
+ rte_pipeline_flush@DPDK_2.0 16.04
+ rte_pipeline_free@DPDK_2.0 16.04
+ rte_pipeline_port_in_connect_to_table@DPDK_2.0 16.04
+ rte_pipeline_port_in_create@DPDK_2.0 16.04
+ rte_pipeline_port_in_disable@DPDK_2.0 16.04
+ rte_pipeline_port_in_enable@DPDK_2.0 16.04
+ rte_pipeline_port_in_stats_read@DPDK_2.1 16.04
+ rte_pipeline_port_out_create@DPDK_2.0 16.04
+ rte_pipeline_port_out_packet_insert@DPDK_2.0 16.04
+ rte_pipeline_port_out_stats_read@DPDK_2.1 16.04
+ rte_pipeline_run@DPDK_2.0 16.04
+ rte_pipeline_table_create@DPDK_2.0 16.04
+ rte_pipeline_table_default_entry_add@DPDK_2.0 16.04
+ rte_pipeline_table_default_entry_delete@DPDK_2.0 16.04
+ rte_pipeline_table_entry_add@DPDK_2.0 16.04
+ rte_pipeline_table_entry_add_bulk@DPDK_2.2 16.04
+ rte_pipeline_table_entry_delete@DPDK_2.0 16.04
+ rte_pipeline_table_entry_delete_bulk@DPDK_2.2 16.04
+ rte_pipeline_table_stats_read@DPDK_2.1 16.04
diff --git a/debian/librte-pmd-af-packet17.05.symbols b/debian/librte-pmd-af-packet17.05.symbols
new file mode 100644 (file)
index 0000000..bc63482
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_af_packet.so.17.05 librte-pmd-af-packet17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-ark17.05.symbols b/debian/librte-pmd-ark17.05.symbols
new file mode 100644 (file)
index 0000000..e812905
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_ark.so.17.05 librte-pmd-ark17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-avp17.05.symbols b/debian/librte-pmd-avp17.05.symbols
new file mode 100644 (file)
index 0000000..c73cb23
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_avp.so.17.05 librte-pmd-avp17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-bnxt17.05.symbols b/debian/librte-pmd-bnxt17.05.symbols
new file mode 100644 (file)
index 0000000..b03459b
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_bnxt.so.17.05 librte-pmd-bnxt17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.07~rc3
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-bond17.05.symbols b/debian/librte-pmd-bond17.05.symbols
new file mode 100644 (file)
index 0000000..c8d19cd
--- /dev/null
@@ -0,0 +1,29 @@
+librte_pmd_bond.so.17.05 librte-pmd-bond17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.07~rc1
+ DPDK_16.07@DPDK_16.07 16.07~rc1
+ DPDK_2.0@DPDK_2.0 16.04
+ DPDK_2.1@DPDK_2.1 16.04
+ rte_eth_bond_8023ad_conf_get@DPDK_2.0 16.04
+ rte_eth_bond_8023ad_setup@DPDK_2.0 16.04
+ rte_eth_bond_8023ad_conf_get@DPDK_16.07 16.07~rc1
+ rte_eth_bond_8023ad_ext_collect@DPDK_16.07 16.07~rc1
+ rte_eth_bond_8023ad_ext_collect_get@DPDK_16.07 16.07~rc1
+ rte_eth_bond_8023ad_ext_distrib@DPDK_16.07 16.07~rc1
+ rte_eth_bond_8023ad_ext_distrib_get@DPDK_16.07 16.07~rc1
+ rte_eth_bond_8023ad_ext_slowtx@DPDK_16.07 16.07~rc1
+ rte_eth_bond_8023ad_setup@DPDK_16.07 16.07~rc1
+ rte_eth_bond_active_slaves_get@DPDK_2.0 16.04
+ rte_eth_bond_create@DPDK_2.0 16.04
+ rte_eth_bond_free@DPDK_2.1 16.04
+ rte_eth_bond_link_monitoring_set@DPDK_2.0 16.04
+ rte_eth_bond_mac_address_reset@DPDK_2.0 16.04
+ rte_eth_bond_mac_address_set@DPDK_2.0 16.04
+ rte_eth_bond_mode_get@DPDK_2.0 16.04
+ rte_eth_bond_mode_set@DPDK_2.0 16.04
+ rte_eth_bond_primary_get@DPDK_2.0 16.04
+ rte_eth_bond_primary_set@DPDK_2.0 16.04
+ rte_eth_bond_slave_add@DPDK_2.0 16.04
+ rte_eth_bond_slave_remove@DPDK_2.0 16.04
+ rte_eth_bond_slaves_get@DPDK_2.0 16.04
+ rte_eth_bond_xmit_policy_get@DPDK_2.0 16.04
+ rte_eth_bond_xmit_policy_set@DPDK_2.0 16.04
diff --git a/debian/librte-pmd-crypto-scheduler17.05.symbols b/debian/librte-pmd-crypto-scheduler17.05.symbols
new file mode 100644 (file)
index 0000000..6d90ca9
--- /dev/null
@@ -0,0 +1,29 @@
+librte_pmd_crypto_scheduler.so.17.05 librte-pmd-crypto-scheduler17.05 #MINVER#
+ DPDK_17.02@DPDK_17.02 17.05
+ DPDK_17.05@DPDK_17.05 17.05
+ failover_scheduler@Base 17.05
+ fo_scheduler@Base 17.05
+ pkt_size_based_distr_scheduler@Base 17.05
+ psd_scheduler@Base 17.05
+ roundrobin_scheduler@Base 17.05
+ rte_crpytodev_scheduler_mode_get@DPDK_17.02 17.05
+ rte_crpytodev_scheduler_mode_set@DPDK_17.02 17.05
+ rte_crypto_scheduler_pmd_ops@Base 17.05
+ rte_cryptodev_scheduler_load_user_scheduler@DPDK_17.02 17.05
+ rte_cryptodev_scheduler_mode_get@DPDK_17.05 17.05
+ rte_cryptodev_scheduler_mode_set@DPDK_17.05 17.05
+ rte_cryptodev_scheduler_option_get@DPDK_17.05 17.05
+ rte_cryptodev_scheduler_option_set@DPDK_17.05 17.05
+ rte_cryptodev_scheduler_ordering_get@DPDK_17.02 17.05
+ rte_cryptodev_scheduler_ordering_set@DPDK_17.02 17.05
+ rte_cryptodev_scheduler_slave_attach@DPDK_17.02 17.05
+ rte_cryptodev_scheduler_slave_detach@DPDK_17.02 17.05
+ rte_cryptodev_scheduler_slaves_get@DPDK_17.05 17.05
+ scheduler@Base 17.05
+ scheduler_fo_ops@Base 17.05
+ scheduler_mode_map@Base 17.05
+ scheduler_ordering_map@Base 17.05
+ scheduler_pmd_ops@Base 17.05
+ scheduler_ps_ops@Base 17.05
+ scheduler_rr_ops@Base 17.05
+ scheduler_valid_params@Base 17.05
diff --git a/debian/librte-pmd-cxgbe17.05.symbols b/debian/librte-pmd-cxgbe17.05.symbols
new file mode 100644 (file)
index 0000000..7a22f1a
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_cxgbe.so.17.05 librte-pmd-cxgbe17.05 #MINVER#
+ DPDK_2.1@DPDK_2.1 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-e1000-17.05.symbols b/debian/librte-pmd-e1000-17.05.symbols
new file mode 100644 (file)
index 0000000..4be0fe6
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_e1000.so.17.05 librte-pmd-e1000-17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-ena17.05.symbols b/debian/librte-pmd-ena17.05.symbols
new file mode 100644 (file)
index 0000000..9be16ca
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_ena.so.17.05 librte-pmd-ena17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-enic17.05.symbols b/debian/librte-pmd-enic17.05.symbols
new file mode 100644 (file)
index 0000000..fc498f1
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_enic.so.17.05 librte-pmd-enic17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-fm10k17.05.symbols b/debian/librte-pmd-fm10k17.05.symbols
new file mode 100644 (file)
index 0000000..5fcee36
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_fm10k.so.17.05 librte-pmd-fm10k17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-i40e17.05.symbols b/debian/librte-pmd-i40e17.05.symbols
new file mode 100644 (file)
index 0000000..a7d2867
--- /dev/null
@@ -0,0 +1,28 @@
+librte_pmd_i40e.so.17.05 librte-pmd-i40e17.05 #MINVER#
+ DPDK_17.02@DPDK_17.02 17.05
+ DPDK_17.05@DPDK_17.05 17.05
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_pmd_i40e_get_ddp_list@DPDK_17.05 17.05
+ rte_pmd_i40e_get_vf_stats@DPDK_17.02 17.05
+ rte_pmd_i40e_ping_vfs@DPDK_17.02 17.05
+ rte_pmd_i40e_process_ddp_package@DPDK_17.05 17.05
+ rte_pmd_i40e_ptype_mapping_get@DPDK_17.02 17.05
+ rte_pmd_i40e_ptype_mapping_replace@DPDK_17.02 17.05
+ rte_pmd_i40e_ptype_mapping_reset@DPDK_17.02 17.05
+ rte_pmd_i40e_ptype_mapping_update@DPDK_17.02 17.05
+ rte_pmd_i40e_reset_vf_stats@DPDK_17.02 17.05
+ rte_pmd_i40e_set_tc_strict_prio@DPDK_17.05 17.05
+ rte_pmd_i40e_set_tx_loopback@DPDK_17.02 17.05
+ rte_pmd_i40e_set_vf_broadcast@DPDK_17.02 17.05
+ rte_pmd_i40e_set_vf_mac_addr@DPDK_17.02 17.05
+ rte_pmd_i40e_set_vf_mac_anti_spoof@DPDK_17.02 17.05
+ rte_pmd_i40e_set_vf_max_bw@DPDK_17.05 17.05
+ rte_pmd_i40e_set_vf_multicast_promisc@DPDK_17.02 17.05
+ rte_pmd_i40e_set_vf_tc_bw_alloc@DPDK_17.05 17.05
+ rte_pmd_i40e_set_vf_tc_max_bw@DPDK_17.05 17.05
+ rte_pmd_i40e_set_vf_unicast_promisc@DPDK_17.02 17.05
+ rte_pmd_i40e_set_vf_vlan_anti_spoof@DPDK_17.02 17.05
+ rte_pmd_i40e_set_vf_vlan_filter@DPDK_17.02 17.05
+ rte_pmd_i40e_set_vf_vlan_insert@DPDK_17.02 17.05
+ rte_pmd_i40e_set_vf_vlan_stripq@DPDK_17.02 17.05
+ rte_pmd_i40e_set_vf_vlan_tag@DPDK_17.02 17.05
diff --git a/debian/librte-pmd-ixgbe17.05.symbols b/debian/librte-pmd-ixgbe17.05.symbols
new file mode 100644 (file)
index 0000000..4820519
--- /dev/null
@@ -0,0 +1,26 @@
+librte_pmd_ixgbe.so.17.05 librte-pmd-ixgbe17.05 #MINVER#
+ DPDK_16.11@DPDK_16.11 16.11
+ DPDK_17.02@DPDK_17.02 17.05
+ DPDK_17.05@DPDK_17.05 17.05
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_pmd_ixgbe_macsec_config_rxsc@DPDK_17.02 17.05
+ rte_pmd_ixgbe_macsec_config_txsc@DPDK_17.02 17.05
+ rte_pmd_ixgbe_macsec_disable@DPDK_17.02 17.05
+ rte_pmd_ixgbe_macsec_enable@DPDK_17.02 17.05
+ rte_pmd_ixgbe_macsec_select_rxsa@DPDK_17.02 17.05
+ rte_pmd_ixgbe_macsec_select_txsa@DPDK_17.02 17.05
+ rte_pmd_ixgbe_ping_vf@DPDK_17.05 17.05
+ rte_pmd_ixgbe_set_all_queues_drop_en@DPDK_16.11 16.11
+ rte_pmd_ixgbe_set_tc_bw_alloc@DPDK_17.05 17.05
+ rte_pmd_ixgbe_set_tx_loopback@DPDK_16.11 16.11
+ rte_pmd_ixgbe_set_vf_mac_addr@DPDK_16.11 16.11
+ rte_pmd_ixgbe_set_vf_mac_anti_spoof@DPDK_16.11 16.11
+ rte_pmd_ixgbe_set_vf_rate_limit@DPDK_17.02 17.05
+ rte_pmd_ixgbe_set_vf_rx@DPDK_17.02 17.05
+ rte_pmd_ixgbe_set_vf_rxmode@DPDK_17.02 17.05
+ rte_pmd_ixgbe_set_vf_split_drop_en@DPDK_16.11 16.11
+ rte_pmd_ixgbe_set_vf_tx@DPDK_17.02 17.05
+ rte_pmd_ixgbe_set_vf_vlan_anti_spoof@DPDK_16.11 16.11
+ rte_pmd_ixgbe_set_vf_vlan_filter@DPDK_17.02 17.05
+ rte_pmd_ixgbe_set_vf_vlan_insert@DPDK_16.11 16.11
+ rte_pmd_ixgbe_set_vf_vlan_stripq@DPDK_16.11 16.11
diff --git a/debian/librte-pmd-kni17.05.symbols b/debian/librte-pmd-kni17.05.symbols
new file mode 100644 (file)
index 0000000..5483925
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_kni.so.17.05 librte-pmd-kni17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-lio17.05.symbols b/debian/librte-pmd-lio17.05.symbols
new file mode 100644 (file)
index 0000000..3ea0d7e
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_lio.so.17.05 librte-pmd-lio17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-nfp17.05.symbols b/debian/librte-pmd-nfp17.05.symbols
new file mode 100644 (file)
index 0000000..60ed2d3
--- /dev/null
@@ -0,0 +1,5 @@
+librte_pmd_nfp.so.17.05 librte-pmd-nfp17.05 #MINVER#
+# was not built before 17.05
+ DPDK_2.2@DPDK_2.2 17.05
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-null-crypto17.05.symbols b/debian/librte-pmd-null-crypto17.05.symbols
new file mode 100644 (file)
index 0000000..39d7ee2
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_null_crypto.so.17.05 librte-pmd-null-crypto17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-null17.05.symbols b/debian/librte-pmd-null17.05.symbols
new file mode 100644 (file)
index 0000000..dfb9db5
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_null.so.17.05 librte-pmd-null17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-octeontx-ssovf17.05.symbols b/debian/librte-pmd-octeontx-ssovf17.05.symbols
new file mode 100644 (file)
index 0000000..3f1e740
--- /dev/null
@@ -0,0 +1,5 @@
+librte_pmd_octeontx_ssovf.so.17.05 librte-pmd-octeontx-ssovf17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+ octeontx_ssovf_bar@DPDK_17.05 17.05
+ octeontx_ssovf_info@DPDK_17.05 17.05
+ octeontx_ssovf_mbox_send@DPDK_17.05 17.05
diff --git a/debian/librte-pmd-pcap17.05.symbols b/debian/librte-pmd-pcap17.05.symbols
new file mode 100644 (file)
index 0000000..0db2a2d
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_pcap.so.17.05 librte-pmd-pcap17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-qede17.05.symbols b/debian/librte-pmd-qede17.05.symbols
new file mode 100644 (file)
index 0000000..e1f73df
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_qede.so.17.05 librte-pmd-qede17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.11
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-ring17.05.symbols b/debian/librte-pmd-ring17.05.symbols
new file mode 100644 (file)
index 0000000..211815c
--- /dev/null
@@ -0,0 +1,5 @@
+librte_pmd_ring.so.17.05 librte-pmd-ring17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ DPDK_2.2@DPDK_2.2 16.04
+ rte_eth_from_ring@DPDK_2.2 16.04
+ rte_eth_from_rings@DPDK_2.0 16.04
diff --git a/debian/librte-pmd-sfc-efx17.05.symbols b/debian/librte-pmd-sfc-efx17.05.symbols
new file mode 100644 (file)
index 0000000..048a2fd
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_sfc_efx.so.17.05 librte-pmd-sfc-efx17.05 #MINVER#
+ DPDK_17.02@DPDK_17.02 17.05
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-skeleton-event17.05.symbols b/debian/librte-pmd-skeleton-event17.05.symbols
new file mode 100644 (file)
index 0000000..846eec8
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_skeleton_event.so.17.05 librte-pmd-skeleton-event17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-sw-event17.05.symbols b/debian/librte-pmd-sw-event17.05.symbols
new file mode 100644 (file)
index 0000000..46da9b0
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_sw_event.so.17.05 librte-pmd-sw-event17.05 #MINVER#
+ DPDK_17.05@DPDK_17.05 17.05
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-tap17.05.symbols b/debian/librte-pmd-tap17.05.symbols
new file mode 100644 (file)
index 0000000..a499e4e
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_tap.so.17.05 librte-pmd-tap17.05 #MINVER#
+ DPDK_17.02@DPDK_17.02 17.05
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-thunderx-nicvf1.symbols b/debian/librte-pmd-thunderx-nicvf1.symbols
new file mode 100644 (file)
index 0000000..eab82e4
--- /dev/null
@@ -0,0 +1,5 @@
+librte_pmd_thunderx_nicvf.so.1 librte-pmd-thunderx-nicvf1 #MINVER#
+# was not built before 16.11 plus updates
+ DPDK_16.07@DPDK_16.07 16.11
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-thunderx-nicvf17.05.symbols b/debian/librte-pmd-thunderx-nicvf17.05.symbols
new file mode 100644 (file)
index 0000000..5f00e29
--- /dev/null
@@ -0,0 +1,5 @@
+librte_pmd_thunderx_nicvf.so.17.05 librte-pmd-thunderx-nicvf17.05 #MINVER#
+# was not built before 17.05
+ DPDK_16.07@DPDK_16.07 17.05
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-vhost17.05.symbols b/debian/librte-pmd-vhost17.05.symbols
new file mode 100644 (file)
index 0000000..b45c7d8
--- /dev/null
@@ -0,0 +1,5 @@
+librte_pmd_vhost.so.17.05 librte-pmd-vhost17.05 #MINVER#
+ DPDK_16.04@DPDK_16.04 16.04
+ DPDK_16.11@DPDK_16.11 16.11
+ rte_eth_vhost_get_queue_event@DPDK_16.04 16.04
+ rte_eth_vhost_get_vid_from_port_id@DPDK_16.11 16.11
diff --git a/debian/librte-pmd-virtio17.05.symbols b/debian/librte-pmd-virtio17.05.symbols
new file mode 100644 (file)
index 0000000..2b649b6
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_virtio.so.17.05 librte-pmd-virtio17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-vmxnet3-uio17.05.symbols b/debian/librte-pmd-vmxnet3-uio17.05.symbols
new file mode 100644 (file)
index 0000000..3de1358
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_vmxnet3_uio.so.17.05 librte-pmd-vmxnet3-uio17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
diff --git a/debian/librte-pmd-xenvirt17.05.symbols b/debian/librte-pmd-xenvirt17.05.symbols
new file mode 100644 (file)
index 0000000..fadcea3
--- /dev/null
@@ -0,0 +1,3 @@
+librte_pmd_xenvirt.so.17.05 librte-pmd-xenvirt17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_mempool_gntalloc_create@DPDK_2.0 16.04
diff --git a/debian/librte-port17.05.symbols b/debian/librte-port17.05.symbols
new file mode 100644 (file)
index 0000000..74c4234
--- /dev/null
@@ -0,0 +1,29 @@
+librte_port.so.17.05 librte-port17.05 #MINVER#
+ DPDK_16.07@DPDK_16.07 16.07~rc1
+ DPDK_16.11@DPDK_16.11 16.11
+ DPDK_2.0@DPDK_2.0 16.07~rc1
+ DPDK_2.1@DPDK_2.1 16.07~rc1
+ DPDK_2.2@DPDK_2.2 16.07~rc1
+ rte_port_ethdev_reader_ops@DPDK_2.0 16.07~rc1
+ rte_port_ethdev_writer_nodrop_ops@DPDK_2.1 16.07~rc1
+ rte_port_ethdev_writer_ops@DPDK_2.0 16.07~rc1
+ rte_port_fd_reader_ops@DPDK_16.11 16.11
+ rte_port_fd_writer_nodrop_ops@DPDK_16.11 16.11
+ rte_port_fd_writer_ops@DPDK_16.11 16.11
+ (arch=!i386)rte_port_kni_reader_ops@DPDK_16.07 16.07~rc1
+ (arch=!i386)rte_port_kni_writer_nodrop_ops@DPDK_16.07 16.07~rc1
+ (arch=!i386)rte_port_kni_writer_ops@DPDK_16.07 16.07~rc1
+ rte_port_ring_multi_reader_ops@DPDK_2.2 16.07~rc1
+ rte_port_ring_multi_writer_nodrop_ops@DPDK_2.2 16.07~rc1
+ rte_port_ring_multi_writer_ops@DPDK_2.2 16.07~rc1
+ rte_port_ring_reader_ipv4_frag_ops@DPDK_2.0 16.07~rc1
+ rte_port_ring_reader_ipv6_frag_ops@DPDK_2.1 16.07~rc1
+ rte_port_ring_reader_ops@DPDK_2.0 16.07~rc1
+ rte_port_ring_writer_ipv4_ras_ops@DPDK_2.0 16.07~rc1
+ rte_port_ring_writer_ipv6_ras_ops@DPDK_2.1 16.07~rc1
+ rte_port_ring_writer_nodrop_ops@DPDK_2.1 16.07~rc1
+ rte_port_ring_writer_ops@DPDK_2.0 16.07~rc1
+ rte_port_sched_reader_ops@DPDK_2.0 16.07~rc1
+ rte_port_sched_writer_ops@DPDK_2.0 16.07~rc1
+ rte_port_sink_ops@DPDK_2.0 16.07~rc1
+ rte_port_source_ops@DPDK_2.0 16.07~rc1
diff --git a/debian/librte-power17.05.symbols b/debian/librte-power17.05.symbols
new file mode 100644 (file)
index 0000000..f3837ea
--- /dev/null
@@ -0,0 +1,14 @@
+librte_power.so.17.05 librte-power17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_power_exit@DPDK_2.0 16.04
+ rte_power_freq_down@DPDK_2.0 16.04
+ rte_power_freq_max@DPDK_2.0 16.04
+ rte_power_freq_min@DPDK_2.0 16.04
+ rte_power_freq_up@DPDK_2.0 16.04
+ rte_power_freqs@DPDK_2.0 16.04
+ rte_power_get_env@DPDK_2.0 16.04
+ rte_power_get_freq@DPDK_2.0 16.04
+ rte_power_init@DPDK_2.0 16.04
+ rte_power_set_env@DPDK_2.0 16.04
+ rte_power_set_freq@DPDK_2.0 16.04
+ rte_power_unset_env@DPDK_2.0 16.04
diff --git a/debian/librte-reorder17.05.symbols b/debian/librte-reorder17.05.symbols
new file mode 100644 (file)
index 0000000..daaa3fb
--- /dev/null
@@ -0,0 +1,9 @@
+librte_reorder.so.17.05 librte-reorder17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_reorder_create@DPDK_2.0 16.04
+ rte_reorder_drain@DPDK_2.0 16.04
+ rte_reorder_find_existing@DPDK_2.0 16.04
+ rte_reorder_free@DPDK_2.0 16.04
+ rte_reorder_init@DPDK_2.0 16.04
+ rte_reorder_insert@DPDK_2.0 16.04
+ rte_reorder_reset@DPDK_2.0 16.04
diff --git a/debian/librte-ring17.05.symbols b/debian/librte-ring17.05.symbols
new file mode 100644 (file)
index 0000000..209c101
--- /dev/null
@@ -0,0 +1,10 @@
+librte_ring.so.17.05 librte-ring17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ DPDK_2.2@DPDK_2.2 16.04
+ rte_ring_create@DPDK_2.0 16.04
+ rte_ring_dump@DPDK_2.0 16.04
+ rte_ring_free@DPDK_2.2 16.04
+ rte_ring_get_memsize@DPDK_2.0 16.04
+ rte_ring_init@DPDK_2.0 16.04
+ rte_ring_list_dump@DPDK_2.0 16.04
+ rte_ring_lookup@DPDK_2.0 16.04
diff --git a/debian/librte-sched17.05.symbols b/debian/librte-sched17.05.symbols
new file mode 100644 (file)
index 0000000..a9404eb
--- /dev/null
@@ -0,0 +1,22 @@
+librte_sched.so.17.05 librte-sched17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ DPDK_2.1@DPDK_2.1 16.04
+ rte_approx@DPDK_2.0 16.04
+ rte_red_config_init@DPDK_2.0 16.04
+ rte_red_log2_1_minus_Wq@DPDK_2.0 16.04
+ rte_red_pow2_frac_inv@DPDK_2.0 16.04
+ rte_red_rand_seed@DPDK_2.0 16.04
+ rte_red_rand_val@DPDK_2.0 16.04
+ rte_red_rt_data_init@DPDK_2.0 16.04
+ rte_sched_pipe_config@DPDK_2.0 16.04
+ rte_sched_port_config@DPDK_2.0 16.04
+ rte_sched_port_dequeue@DPDK_2.0 16.04
+ rte_sched_port_enqueue@DPDK_2.0 16.04
+ rte_sched_port_free@DPDK_2.0 16.04
+ rte_sched_port_get_memory_footprint@DPDK_2.0 16.04
+ rte_sched_port_pkt_read_color@DPDK_2.1 16.04
+ rte_sched_port_pkt_read_tree_path@DPDK_2.1 16.04
+ rte_sched_port_pkt_write@DPDK_2.1 16.04
+ rte_sched_queue_read_stats@DPDK_2.0 16.04
+ rte_sched_subport_config@DPDK_2.0 16.04
+ rte_sched_subport_read_stats@DPDK_2.0 16.04
diff --git a/debian/librte-table17.05.symbols b/debian/librte-table17.05.symbols
new file mode 100644 (file)
index 0000000..79b4790
--- /dev/null
@@ -0,0 +1,24 @@
+librte_table.so.17.05 librte-table17.05 #MINVER#
+ DPDK_16.07@DPDK_16.07 16.11
+ DPDK_2.0@DPDK_2.0 16.04
+ DPDK_2.2@DPDK_2.2 16.04
+ rte_table_acl_ops@DPDK_2.0 16.04
+ rte_table_array_ops@DPDK_2.0 16.04
+ rte_table_hash_cuckoo_dosig_ops@DPDK_16.07 16.11
+ rte_table_hash_ext_dosig_ops@DPDK_2.0 16.11
+ rte_table_hash_ext_ops@DPDK_2.0 16.04
+ rte_table_hash_key16_ext_dosig_ops@DPDK_2.2 16.04
+ rte_table_hash_key16_ext_ops@DPDK_2.0 16.04
+ rte_table_hash_key16_lru_dosig_ops@DPDK_2.2 16.11
+ rte_table_hash_key16_lru_ops@DPDK_2.0 16.04
+ rte_table_hash_key32_ext_ops@DPDK_2.0 16.04
+ rte_table_hash_key32_lru_ops@DPDK_2.0 16.04
+ rte_table_hash_key8_ext_dosig_ops@DPDK_2.0 16.04
+ rte_table_hash_key8_ext_ops@DPDK_2.0 16.04
+ rte_table_hash_key8_lru_dosig_ops@DPDK_2.0 16.04
+ rte_table_hash_key8_lru_ops@DPDK_2.0 16.04
+ rte_table_hash_lru_dosig_ops@DPDK_2.0 16.11
+ rte_table_hash_lru_ops@DPDK_2.0 16.04
+ rte_table_lpm_ipv6_ops@DPDK_2.0 16.04
+ rte_table_lpm_ops@DPDK_2.0 16.04
+ rte_table_stub_ops@DPDK_2.0 16.04
diff --git a/debian/librte-timer17.05.symbols b/debian/librte-timer17.05.symbols
new file mode 100644 (file)
index 0000000..645acc6
--- /dev/null
@@ -0,0 +1,11 @@
+librte_timer.so.17.05 librte-timer17.05 #MINVER#
+ DPDK_2.0@DPDK_2.0 16.04
+ rte_timer_dump_stats@DPDK_2.0 16.04
+ rte_timer_init@DPDK_2.0 16.04
+ rte_timer_manage@DPDK_2.0 16.04
+ rte_timer_pending@DPDK_2.0 16.04
+ rte_timer_reset@DPDK_2.0 16.04
+ rte_timer_reset_sync@DPDK_2.0 16.04
+ rte_timer_stop@DPDK_2.0 16.04
+ rte_timer_stop_sync@DPDK_2.0 16.04
+ rte_timer_subsystem_init@DPDK_2.0 16.04
diff --git a/debian/librte-vhost17.05.symbols b/debian/librte-vhost17.05.symbols
new file mode 100644 (file)
index 0000000..e398cdd
--- /dev/null
@@ -0,0 +1,27 @@
+librte_vhost.so.17.05 librte-vhost17.05 #MINVER#
+ DPDK_16.07@DPDK_16.07 16.07~rc1
+ DPDK_17.05@DPDK_17.05 17.05
+ DPDK_2.0@DPDK_2.0 16.07~rc1
+ DPDK_2.1@DPDK_2.1 16.07~rc1
+ rte_vhost_avail_entries@DPDK_16.07 16.07~rc1
+ rte_vhost_dequeue_burst@DPDK_2.0 16.07~rc1
+ rte_vhost_driver_callback_register@DPDK_2.0 16.07~rc1
+ rte_vhost_driver_disable_features@DPDK_17.05 17.05
+ rte_vhost_driver_enable_features@DPDK_17.05 17.05
+ rte_vhost_driver_get_features@DPDK_17.05 17.05
+ rte_vhost_driver_register@DPDK_2.0 16.07~rc1
+ rte_vhost_driver_set_features@DPDK_17.05 17.05
+ rte_vhost_driver_start@DPDK_17.05 17.05
+ rte_vhost_driver_unregister@DPDK_2.1 16.07~rc1
+ rte_vhost_enable_guest_notification@DPDK_2.0 16.07~rc1
+ rte_vhost_enqueue_burst@DPDK_2.0 16.07~rc1
+ rte_vhost_get_ifname@DPDK_16.07 16.07~rc1
+ rte_vhost_get_mem_table@DPDK_17.05 17.05
+ rte_vhost_get_mtu@DPDK_17.05 17.05
+ rte_vhost_get_negotiated_features@DPDK_17.05 17.05
+ rte_vhost_get_numa_node@DPDK_16.07 16.07~rc1
+ rte_vhost_get_queue_num@DPDK_16.07 16.07~rc1
+ rte_vhost_get_vhost_vring@DPDK_17.05 17.05
+ rte_vhost_get_vring_num@DPDK_17.05 17.05
+ rte_vhost_log_used_vring@DPDK_17.05 17.05
+ rte_vhost_log_write@DPDK_17.05 17.05
diff --git a/debian/patches/fix-power-default-config.patch b/debian/patches/fix-power-default-config.patch
new file mode 100644 (file)
index 0000000..d306fc5
--- /dev/null
@@ -0,0 +1,21 @@
+Description: config: fix power8 default conf
+
+Latest dpdk FTBFS for power8 default config.
+This (re-)enables a config symbol as recommended by IBM
+(gowrishankar.m@in.ibm.com)
+
+Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
+
+Origin: No, will be pushed by IBM
+Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
+Last-Update: 2016-09-02
+--- a/config/defconfig_ppc_64-power8-linuxapp-gcc
++++ b/config/defconfig_ppc_64-power8-linuxapp-gcc
+@@ -51,7 +51,6 @@
+ CONFIG_RTE_LIBRTE_IXGBE_PMD=n
+ CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
+ CONFIG_RTE_LIBRTE_VMXNET3_PMD=n
+-CONFIG_RTE_LIBRTE_PMD_BOND=n
+ CONFIG_RTE_LIBRTE_ENIC_PMD=n
+ CONFIG_RTE_LIBRTE_FM10K_PMD=n
+ CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n
diff --git a/debian/patches/fix-vhost-user-socket-permission.patch b/debian/patches/fix-vhost-user-socket-permission.patch
new file mode 100644 (file)
index 0000000..fb2bd5d
--- /dev/null
@@ -0,0 +1,366 @@
+Description: eal: provide option to set vhost_user socket owner/permissions
+
+The API doesn't hold a way to specify a owner/permission set for vhost_user
+created sockets.
+
+Projects consuming DPDK started to do 'their own workarounds' like openvswitch
+https://patchwork.ozlabs.org/patch/559043/
+https://patchwork.ozlabs.org/patch/559045/
+But for this specific example they are blocked/stalled behind a bigger
+rework (https://patchwork.ozlabs.org/patch/604898/).
+
+We need something now for existing code linking against DPDK. That implies to
+avoid changing API/ABI. So I created a DPDK EAL commandline option based ideas
+in the former patches.
+
+Fixes LP: #1546565
+
+*Update*
+ - with the split libs it now nees to be listed in
+   lib/librte_eal/linuxapp/eal/rte_eal_version.map to work on link steps
+ - please note that upstream gravitates towards not extending but creating a
+   new the API in DPDK as long term solution (will take a while)
+ - also as listed before most affected projects seem to create their own
+   workaround.
+ So over time we have to check when we can drop it at the price of a config
+ transition - likely OVS 2.6 won't need it anymore.
+
+*Update*
+ - the handling and lifecycle of this changed in Openvswitch 2.7 so we can no
+   more use internal_config.
+ - Also the upstreaming was aborted as that now clearly goes towards client
+   mode vhost sockets for this (and other issues).
+ - But until that is fully working we have to carry the workaround.
+ - Updated to work with Openvswitch 2.7 (and backward compatible to 2.6)
+
+Forwarded: yes
+Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
+Last-Update: 2017-05-23
+
+--- a/doc/guides/testpmd_app_ug/run_app.rst
++++ b/doc/guides/testpmd_app_ug/run_app.rst
+@@ -156,6 +156,25 @@ See the DPDK Getting Started Guides for
+     Use malloc instead of hugetlbfs.
++*   ``--vhost-owner``
++
++     When creating vhost_user sockets change owner and group to the specified value.
++     This can be given as ``user:group``, but also only ``user`` or ``:group`` are supported.
++
++    Examples::
++
++       --vhost-owner 'libvirt-qemu:kvm'
++       --vhost-owner 'libvirt-qemu'
++       --vhost-owner ':kvm'
++
++*   ``--vhost-perm``
++
++    When creating vhost_user sockets set them up with these permissions.
++
++    For example::
++
++       --vhost-perm '0664'
++
+ Testpmd Command-line Options
+ ----------------------------
+--- a/lib/librte_eal/common/eal_common_options.c
++++ b/lib/librte_eal/common/eal_common_options.c
+@@ -95,6 +95,8 @@ eal_long_options[] = {
+       {OPT_VFIO_INTR,         1, NULL, OPT_VFIO_INTR_NUM        },
+       {OPT_VMWARE_TSC_MAP,    0, NULL, OPT_VMWARE_TSC_MAP_NUM   },
+       {OPT_XEN_DOM0,          0, NULL, OPT_XEN_DOM0_NUM         },
++      {OPT_VHOST_OWNER,       1, NULL, OPT_VHOST_OWNER_NUM      },
++      {OPT_VHOST_PERM,        1, NULL, OPT_VHOST_PERM_NUM       },
+       {0,                     0, NULL, 0                        }
+ };
+--- a/lib/librte_eal/common/eal_options.h
++++ b/lib/librte_eal/common/eal_options.h
+@@ -83,6 +83,10 @@ enum {
+       OPT_VMWARE_TSC_MAP_NUM,
+ #define OPT_XEN_DOM0          "xen-dom0"
+       OPT_XEN_DOM0_NUM,
++#define OPT_VHOST_OWNER       "vhost-owner"
++      OPT_VHOST_OWNER_NUM,
++#define OPT_VHOST_PERM        "vhost-perm"
++      OPT_VHOST_PERM_NUM,
+       OPT_LONG_MAX_NUM
+ };
+--- a/lib/librte_eal/common/include/rte_eal.h
++++ b/lib/librte_eal/common/include/rte_eal.h
+@@ -286,6 +286,11 @@ static inline int rte_gettid(void)
+ #define RTE_INIT(func) \
+ static void __attribute__((constructor, used)) func(void)
++/**
++ * Set owner/permissions on sockets if requested on EAL commandline
++ */
++void rte_eal_set_socket_permissions(const char *);
++
+ #ifdef __cplusplus
+ }
+ #endif
+--- a/lib/librte_eal/linuxapp/eal/eal.c
++++ b/lib/librte_eal/linuxapp/eal/eal.c
+@@ -53,6 +53,9 @@
+ #if defined(RTE_ARCH_X86)
+ #include <sys/io.h>
+ #endif
++#include <sys/types.h>
++#include <pwd.h>
++#include <grp.h>
+ #include <rte_common.h>
+ #include <rte_debug.h>
+@@ -119,6 +122,12 @@ struct lcore_config lcore_config[RTE_MAX
+ /* internal configuration */
+ struct internal_config internal_config;
++/* workaround to be able to create the sockets under a certain set of
++ * owner/permissions as specified to EAL until solved upstream */
++static uid_t debian_vhost_sock_uid = (uid_t)-1;
++static gid_t debian_vhost_sock_gid = (gid_t)-1;
++static mode_t debian_vhost_sock_perm = 0;
++
+ /* used by rte_rdtsc() */
+ int rte_cycles_vmware_tsc_map;
+@@ -356,6 +365,8 @@ eal_usage(const char *prgname)
+              "  --"OPT_CREATE_UIO_DEV"    Create /dev/uioX (usually done by hotplug)\n"
+              "  --"OPT_VFIO_INTR"         Interrupt mode for VFIO (legacy|msi|msix)\n"
+              "  --"OPT_XEN_DOM0"          Support running on Xen dom0 without hugetlbfs\n"
++             "  --"OPT_VHOST_OWNER"       Create vhost-user sockets with this owner:group\n"
++             "  --"OPT_VHOST_PERM"        Create vhost-user sockets with these permissions\n"
+              "\n");
+       /* Allow the application to print its usage message too if hook is set */
+       if ( rte_application_usage_hook ) {
+@@ -515,6 +526,121 @@ eal_log_level_parse(int argc, char **arg
+       optarg = old_optarg;
+ }
++/* Try to double the size of '*buf', return true
++ * if successful, and '*sizep' will be updated with
++ * the new size. Otherwise, return false.  */
++static int
++enlarge_buffer(char **buf, size_t *sizep)
++{
++    size_t newsize = *sizep * 2;
++
++    if (newsize > *sizep) {
++        *buf = realloc(*buf, newsize);
++        *sizep = newsize;
++        return 1;
++    }
++
++    return 0;
++}
++
++static int
++get_owners_from_str(const char *user_spec, uid_t *uid, gid_t *gid)
++{
++      size_t bufsize = 4096;
++
++      char *pos = strchr(user_spec, ':');
++      user_spec += strspn(user_spec, " \t\r\n");
++      size_t len = pos ? (size_t)(pos - user_spec) : strlen(user_spec);
++
++      char *buf = NULL;
++      struct passwd pwd, *res;
++      int e;
++
++      buf = malloc(bufsize);
++      char *user_search = NULL;
++      if (len) {
++              user_search = malloc(len + 1);
++              memcpy(user_search, user_spec, len);
++              user_search[len] = '\0';
++              while ((e = getpwnam_r(user_search, &pwd, buf, bufsize, &res)) == ERANGE) {
++                      if (!enlarge_buffer(&buf, &bufsize)) {
++                              break;
++                      }
++              }
++
++              if (e != 0) {
++                      RTE_LOG(ERR, EAL,"Failed to retrive user %s's uid (%s), aborting.",
++                              user_search, strerror(e));
++                      goto release;
++              }
++              if (res == NULL) {
++                      RTE_LOG(ERR, EAL,"user %s not found,  aborting.",
++                              user_search);
++                      e = -1;
++                      goto release;
++              }
++      } else {
++              /* User name is not specified, use current user.  */
++              while ((e = getpwuid_r(getuid(), &pwd, buf, bufsize, &res)) == ERANGE) {
++                      if (!enlarge_buffer(&buf, &bufsize)) {
++                              break;
++                      }
++              }
++
++              if (e != 0) {
++                      RTE_LOG(ERR, EAL,"Failed to retrive current user's uid "
++                              "(%s), aborting.", strerror(e));
++                      goto release;
++              }
++              user_search = strdup(pwd.pw_name);
++      }
++
++      if (uid)
++              *uid = pwd.pw_uid;
++
++      free(buf);
++      buf = NULL;
++
++      if (pos) {
++              char *grpstr = pos + 1;
++              grpstr += strspn(grpstr, " \t\r\n");
++
++              if (*grpstr) {
++                      struct group grp, *res;
++
++                      bufsize = 4096;
++                      buf = malloc(bufsize);
++                      while ((e = getgrnam_r(grpstr, &grp, buf, bufsize, &res))
++                                       == ERANGE) {
++                              if (!enlarge_buffer(&buf, &bufsize)) {
++                                      break;
++                              }
++                      }
++
++                      if (e) {
++                              RTE_LOG(ERR, EAL,"Failed to get group entry for %s, "
++                                      "(%s), aborting.", grpstr,
++                                      strerror(e));
++                              goto release;
++                      }
++                      if (res == NULL) {
++                              RTE_LOG(ERR, EAL,"Group %s not found, aborting.",
++                                      grpstr);
++                              e = -1;
++                              goto release;
++                      }
++
++                      if (gid)
++                              *gid = grp.gr_gid;
++              }
++      }
++
++ release:
++      free(buf);
++      free(user_search);
++      return e;
++}
++
+ /* Parse the argument given in the command line of the application */
+ static int
+ eal_parse_args(int argc, char **argv)
+@@ -611,6 +737,26 @@ eal_parse_args(int argc, char **argv)
+                       internal_config.create_uio_dev = 1;
+                       break;
++              case OPT_VHOST_OWNER_NUM:
++                      if (get_owners_from_str(optarg, &debian_vhost_sock_uid,
++                                                                      &debian_vhost_sock_gid)) {
++                              RTE_LOG(ERR, EAL,"vhost-user socket unable to get"
++                                      " specified user/group: %s\n", optarg);
++                              debian_vhost_sock_uid = (uid_t)-1;
++                              debian_vhost_sock_gid = (gid_t)-1;
++                      }
++                      else {
++                              RTE_LOG(INFO, EAL,"socket owner specified as %s (%d:%d)\n",
++                                      optarg, debian_vhost_sock_uid, debian_vhost_sock_gid);
++                      }
++                      break;
++
++              case OPT_VHOST_PERM_NUM:
++                      debian_vhost_sock_perm = (mode_t)strtoul(optarg, NULL, 0);
++                      RTE_LOG(INFO, EAL,"socket perm specified as '%#o' from '%s'\n",
++                                      debian_vhost_sock_perm, optarg);
++                      break;
++
+               default:
+                       if (opt < OPT_LONG_MIN_NUM && isprint(opt)) {
+                               RTE_LOG(ERR, EAL, "Option %c is not supported "
+@@ -995,3 +1141,47 @@ rte_eal_check_module(const char *module_
+       /* Module has been found */
+       return 1;
+ }
++
++static void
++vhost_set_permissions(const char *vhost_sock_location)
++{
++      int err = chmod(vhost_sock_location, debian_vhost_sock_perm);
++      if (err) {
++              RTE_LOG(ERR, EAL,"vhost-user socket cannot set"
++                      " permissions to %#o (%s).\n",
++                      debian_vhost_sock_perm, strerror(err));
++              return;
++      }
++      RTE_LOG(INFO, EAL,"Socket %s changed permissions"
++                      " to %#o\n", vhost_sock_location,
++                      debian_vhost_sock_perm);
++}
++
++static void
++vhost_set_ownership(const char *vhost_sock_location)
++{
++      int err = chown(vhost_sock_location, debian_vhost_sock_uid, debian_vhost_sock_gid);
++      if (err) {
++              RTE_LOG(ERR, EAL,"vhost-user socket unable to set"
++                      " ownership to %d:%d (%s).\n",
++                      debian_vhost_sock_uid, debian_vhost_sock_gid,
++                      strerror(err));
++              return;
++      }
++
++      RTE_LOG(INFO, EAL,"Socket %s changed ownership"
++                      " to %d:%d.\n", vhost_sock_location,
++                      debian_vhost_sock_uid, debian_vhost_sock_gid);
++}
++
++void
++rte_eal_set_socket_permissions(const char *path)
++{
++      if (debian_vhost_sock_perm != 0) {
++              vhost_set_permissions(path);
++      }
++
++      if (debian_vhost_sock_uid != (uid_t)-1 || debian_vhost_sock_gid != (gid_t)-1) {
++              vhost_set_ownership(path);
++      }
++}
+--- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map
++++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map
+@@ -120,6 +120,7 @@ DPDK_2.2 {
+       rte_keepalive_register_core;
+       rte_xen_dom0_supported;
+       rte_xen_mem_phy2mch;
++      rte_eal_set_socket_permissions;
+ } DPDK_2.1;
+--- a/lib/librte_vhost/socket.c
++++ b/lib/librte_vhost/socket.c
+@@ -98,6 +98,8 @@ struct vhost_user {
+       pthread_mutex_t mutex;
+ };
++#include <rte_eal.h>
++
+ #define MAX_VIRTIO_BACKLOG 128
+ static void vhost_user_server_new_connection(int fd, void *data, int *remove);
+@@ -644,7 +646,7 @@ rte_vhost_driver_register(const char *pa
+       } else {
+               vsocket->is_server = true;
+       }
+-      ret = create_unix_socket(vsocket);
++      rte_eal_set_socket_permissions(path);
+       if (ret < 0) {
+               free(vsocket->path);
+               free(vsocket);
diff --git a/debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch b/debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch
new file mode 100644 (file)
index 0000000..dee7477
--- /dev/null
@@ -0,0 +1,30 @@
+Description: mk: fix excluding .doctrees when installing docs
+
+The --exclude parameter must be passed before the input directory to
+tar, otherwise it's silently ignored and the .doctrees directory is
+installed by make install-doc.
+
+Origin: http://dpdk.org/dev/patchwork/patch/25674/
+Forwarded: yes
+Author: Luca Boccassi <luca.boccassi@gmail.com>
+Last-Update: 2017-06-24
+---
+ mk/rte.sdkinstall.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk
+index dbac2a277..4e97feff9 100644
+--- a/mk/rte.sdkinstall.mk
++++ b/mk/rte.sdkinstall.mk
+@@ -162,7 +162,7 @@ install-sdk:
+ install-doc:
+ ifneq ($(wildcard $O/doc/html),)
+       $(Q)$(call rte_mkdir, $(DESTDIR)$(docdir))
+-      $(Q)tar -cf -      -C $O/doc html --exclude 'html/guides/.*' | \
++      $(Q)tar -cf -      -C $O/doc --exclude 'html/guides/.*' html | \
+           tar -xf -      -C $(DESTDIR)$(docdir) --strip-components=1 \
+               --keep-newer-files
+ endif
+-- 
+2.11.0
+
diff --git a/debian/patches/mk-order-CFLAGS-so-that-ISCDIR-comes-before-IRTE_OUT.patch b/debian/patches/mk-order-CFLAGS-so-that-ISCDIR-comes-before-IRTE_OUT.patch
new file mode 100644 (file)
index 0000000..5fd1160
--- /dev/null
@@ -0,0 +1,491 @@
+Description: mk: set -ISCDIR before -IRTE_OUT/include in CFLAGS
+
+A race condition can happen during parallel builds, where a header
+might be installed in RTE_OUT/include before CFLAGS is recursively
+expanded. This causes GCC to sometimes pick the header path as
+SRCDIR/... and sometimes as RTE_OUT/include/... making the build
+unreproducible, as the full path is used for the expansion of
+__FILE__ and in the DWARF directory listing.
+Always pass -ISRCDIR first to CFLAGS so that it's deterministic.
+
+Origin: http://dpdk.org/dev/patchwork/patch/25866/
+Forwarded: yes
+Author: Luca Boccassi <luca.boccassi@gmail.com>
+Last-Update: 2017-06-28
+---
+ lib/librte_acl/Makefile          | 10 ++++++++--
+ lib/librte_bitratestats/Makefile |  9 ++++++++-
+ lib/librte_cmdline/Makefile      |  9 ++++++++-
+ lib/librte_distributor/Makefile  | 10 ++++++++--
+ lib/librte_efd/Makefile          | 10 ++++++++--
+ lib/librte_hash/Makefile         | 10 ++++++++--
+ lib/librte_ip_frag/Makefile      | 10 ++++++++--
+ lib/librte_jobstats/Makefile     | 10 ++++++++--
+ lib/librte_kni/Makefile          |  9 ++++++++-
+ lib/librte_kvargs/Makefile       |  9 ++++++++-
+ lib/librte_latencystats/Makefile |  9 ++++++++-
+ lib/librte_lpm/Makefile          | 10 ++++++++--
+ lib/librte_mbuf/Makefile         |  9 ++++++++-
+ lib/librte_mempool/Makefile      |  9 ++++++++-
+ lib/librte_metrics/Makefile      |  9 ++++++++-
+ lib/librte_net/Makefile          |  9 ++++++++-
+ lib/librte_pdump/Makefile        | 10 ++++++++--
+ lib/librte_power/Makefile        |  9 ++++++++-
+ lib/librte_reorder/Makefile      | 10 ++++++++--
+ lib/librte_ring/Makefile         |  9 ++++++++-
+ lib/librte_timer/Makefile        |  9 ++++++++-
+ lib/librte_vhost/Makefile        |  9 ++++++++-
+ 22 files changed, 176 insertions(+), 31 deletions(-)
+
+diff --git a/lib/librte_acl/Makefile b/lib/librte_acl/Makefile
+index e2dacd606..470ef6d21 100644
+--- a/lib/librte_acl/Makefile
++++ b/lib/librte_acl/Makefile
+@@ -34,8 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_acl.a
+-CFLAGS += -O3
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_acl_version.map
+diff --git a/lib/librte_bitratestats/Makefile b/lib/librte_bitratestats/Makefile
+index 58a20ea09..26a3f4908 100644
+--- a/lib/librte_bitratestats/Makefile
++++ b/lib/librte_bitratestats/Makefile
+@@ -34,7 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_bitratestats.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_bitratestats_version.map
+diff --git a/lib/librte_cmdline/Makefile b/lib/librte_cmdline/Makefile
+index 644f68e47..9dd75f2d2 100644
+--- a/lib/librte_cmdline/Makefile
++++ b/lib/librte_cmdline/Makefile
+@@ -34,7 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_cmdline.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_cmdline_version.map
+diff --git a/lib/librte_distributor/Makefile b/lib/librte_distributor/Makefile
+index 3ffb911ce..87418f254 100644
+--- a/lib/librte_distributor/Makefile
++++ b/lib/librte_distributor/Makefile
+@@ -34,8 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_distributor.a
+-CFLAGS += -O3
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_distributor_version.map
+diff --git a/lib/librte_efd/Makefile b/lib/librte_efd/Makefile
+index b9277bc5d..b169e3240 100644
+--- a/lib/librte_efd/Makefile
++++ b/lib/librte_efd/Makefile
+@@ -34,8 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_efd.a
+-CFLAGS += -O3
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_efd_version.map
+diff --git a/lib/librte_hash/Makefile b/lib/librte_hash/Makefile
+index d856aa26d..e408dcc46 100644
+--- a/lib/librte_hash/Makefile
++++ b/lib/librte_hash/Makefile
+@@ -34,8 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_hash.a
+-CFLAGS += -O3
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_hash_version.map
+diff --git a/lib/librte_ip_frag/Makefile b/lib/librte_ip_frag/Makefile
+index 4e693bf8f..de45ec2d3 100644
+--- a/lib/librte_ip_frag/Makefile
++++ b/lib/librte_ip_frag/Makefile
+@@ -34,8 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_ip_frag.a
+-CFLAGS += -O3
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_ipfrag_version.map
+diff --git a/lib/librte_jobstats/Makefile b/lib/librte_jobstats/Makefile
+index 561a0678c..57329b18e 100644
+--- a/lib/librte_jobstats/Makefile
++++ b/lib/librte_jobstats/Makefile
+@@ -34,8 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_jobstats.a
+-CFLAGS += -O3
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_jobstats_version.map
+diff --git a/lib/librte_kni/Makefile b/lib/librte_kni/Makefile
+index 70f1ca8f6..130d6fd74 100644
+--- a/lib/librte_kni/Makefile
++++ b/lib/librte_kni/Makefile
+@@ -34,7 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_kni.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -fno-strict-aliasing
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3 -fno-strict-aliasing
+ EXPORT_MAP := rte_kni_version.map
+diff --git a/lib/librte_kvargs/Makefile b/lib/librte_kvargs/Makefile
+index 564dd3102..7c332c110 100644
+--- a/lib/librte_kvargs/Makefile
++++ b/lib/librte_kvargs/Makefile
+@@ -36,7 +36,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_kvargs.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_kvargs_version.map
+diff --git a/lib/librte_latencystats/Makefile b/lib/librte_latencystats/Makefile
+index eaacbb731..46a8ecd34 100644
+--- a/lib/librte_latencystats/Makefile
++++ b/lib/librte_latencystats/Makefile
+@@ -33,7 +33,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_latencystats.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ LDLIBS += -lm
+ LDLIBS += -lpthread
+diff --git a/lib/librte_lpm/Makefile b/lib/librte_lpm/Makefile
+index 32be46b3b..6a97fdc97 100644
+--- a/lib/librte_lpm/Makefile
++++ b/lib/librte_lpm/Makefile
+@@ -34,8 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_lpm.a
+-CFLAGS += -O3
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_lpm_version.map
+diff --git a/lib/librte_mbuf/Makefile b/lib/librte_mbuf/Makefile
+index 548273054..4d51191ee 100644
+--- a/lib/librte_mbuf/Makefile
++++ b/lib/librte_mbuf/Makefile
+@@ -34,7 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_mbuf.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_mbuf_version.map
+diff --git a/lib/librte_mempool/Makefile b/lib/librte_mempool/Makefile
+index 7b5bdfee7..33678192f 100644
+--- a/lib/librte_mempool/Makefile
++++ b/lib/librte_mempool/Makefile
+@@ -34,7 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_mempool.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_mempool_version.map
+diff --git a/lib/librte_metrics/Makefile b/lib/librte_metrics/Makefile
+index d4990e839..195bd4d56 100644
+--- a/lib/librte_metrics/Makefile
++++ b/lib/librte_metrics/Makefile
+@@ -34,7 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_metrics.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_metrics_version.map
+diff --git a/lib/librte_net/Makefile b/lib/librte_net/Makefile
+index 56727c4df..a08a7dd8b 100644
+--- a/lib/librte_net/Makefile
++++ b/lib/librte_net/Makefile
+@@ -33,7 +33,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ LIB = librte_net.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_net_version.map
+ LIBABIVER := 1
+diff --git a/lib/librte_pdump/Makefile b/lib/librte_pdump/Makefile
+index 1c03bcbb7..8923d7499 100644
+--- a/lib/librte_pdump/Makefile
++++ b/lib/librte_pdump/Makefile
+@@ -34,8 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_pdump.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
+-CFLAGS += -D_GNU_SOURCE
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3 -D_GNU_SOURCE
+ LDLIBS += -lpthread
+ EXPORT_MAP := rte_pdump_version.map
+diff --git a/lib/librte_power/Makefile b/lib/librte_power/Makefile
+index 06cd10e86..b76ad689e 100644
+--- a/lib/librte_power/Makefile
++++ b/lib/librte_power/Makefile
+@@ -34,7 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_power.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -fno-strict-aliasing
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3 -fno-strict-aliasing
+ EXPORT_MAP := rte_power_version.map
+diff --git a/lib/librte_reorder/Makefile b/lib/librte_reorder/Makefile
+index 4e44e72f0..51b5d490d 100644
+--- a/lib/librte_reorder/Makefile
++++ b/lib/librte_reorder/Makefile
+@@ -34,8 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_reorder.a
+-CFLAGS += -O3
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_reorder_version.map
+diff --git a/lib/librte_ring/Makefile b/lib/librte_ring/Makefile
+index 3e2f4b873..e5248a2c1 100644
+--- a/lib/librte_ring/Makefile
++++ b/lib/librte_ring/Makefile
+@@ -34,7 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_ring.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during paralle
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_ring_version.map
+diff --git a/lib/librte_timer/Makefile b/lib/librte_timer/Makefile
+index 03a15390e..0c57cc6d3 100644
+--- a/lib/librte_timer/Makefile
++++ b/lib/librte_timer/Makefile
+@@ -34,7 +34,14 @@ include $(RTE_SDK)/mk/rte.vars.mk
+ # library name
+ LIB = librte_timer.a
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during parallel
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3
+ EXPORT_MAP := rte_timer_version.map
+diff --git a/lib/librte_vhost/Makefile b/lib/librte_vhost/Makefile
+index 4a116fe31..ef0d86990 100644
+--- a/lib/librte_vhost/Makefile
++++ b/lib/librte_vhost/Makefile
+@@ -38,7 +38,14 @@ EXPORT_MAP := rte_vhost_version.map
+ LIBABIVER := 4
+-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -D_FILE_OFFSET_BITS=64
++# Include the source dir first, so that headers paths are always picked
++# from there. By including it last race conditions might happen during parallel
++# builds, and headers might be already installed in RTE_OUT/include when the
++# variable is recursively expanded, thus causing GCC to sometimes use the
++# SRCDIR path and sometimes the RTE_OUT/include, making the builds not
++# reproducible.
++CFLAGS := -I$(SRCDIR) $(CFLAGS)
++CFLAGS += $(WERROR_FLAGS) -O3 -D_FILE_OFFSET_BITS=64
+ CFLAGS += -I vhost_user
+ LDLIBS += -lpthread
+-- 
+2.11.0
+
diff --git a/debian/patches/mk-sort-headers-before-wildcard-inclusion.patch b/debian/patches/mk-sort-headers-before-wildcard-inclusion.patch
new file mode 100644 (file)
index 0000000..c412ce6
--- /dev/null
@@ -0,0 +1,72 @@
+Description: mk: sort headers before wildcard inclusion
+
+In order to achieve fully reproducible builds, always use the same
+inclusion order for headers in the Makefiles.
+
+Origin: http://dpdk.org/dev/patchwork/patch/25863/
+Forwarded: yes
+Author: Luca Boccassi <luca.boccassi@gmail.com>
+Last-Update: 2017-06-24
+---
+ examples/ip_pipeline/Makefile                              | 2 +-
+ examples/multi_process/client_server_mp/mp_server/Makefile | 2 +-
+ examples/server_node_efd/server/Makefile                   | 2 +-
+ lib/librte_eal/common/Makefile                             | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile
+index dc7e0ddd7..12ce0a1d5 100644
+--- a/examples/ip_pipeline/Makefile
++++ b/examples/ip_pipeline/Makefile
+@@ -43,7 +43,7 @@ APP = ip_pipeline
+ VPATH += $(SRCDIR)/pipeline
+-INC += $(wildcard *.h) $(wildcard pipeline/*.h)
++INC += $(sort $(wildcard *.h)) $(sort $(wildcard pipeline/*.h))
+ # all source are stored in SRCS-y
+ SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := main.c
+diff --git a/examples/multi_process/client_server_mp/mp_server/Makefile b/examples/multi_process/client_server_mp/mp_server/Makefile
+index 5552999b5..160c17b68 100644
+--- a/examples/multi_process/client_server_mp/mp_server/Makefile
++++ b/examples/multi_process/client_server_mp/mp_server/Makefile
+@@ -49,7 +49,7 @@ APP = mp_server
+ # all source are stored in SRCS-y
+ SRCS-y := main.c init.c args.c
+-INC := $(wildcard *.h)
++INC := $(sort $(wildcard *.h))
+ CFLAGS += $(WERROR_FLAGS) -O3
+ CFLAGS += -I$(SRCDIR)/../shared
+diff --git a/examples/server_node_efd/server/Makefile b/examples/server_node_efd/server/Makefile
+index a2f2f361b..9f1fe2894 100644
+--- a/examples/server_node_efd/server/Makefile
++++ b/examples/server_node_efd/server/Makefile
+@@ -49,7 +49,7 @@ APP = server
+ # all source are stored in SRCS-y
+ SRCS-y := main.c init.c args.c
+-INC := $(wildcard *.h)
++INC := $(sort $(wildcard *.h))
+ CFLAGS += $(WERROR_FLAGS) -O3
+ CFLAGS += -I$(SRCDIR)/../shared
+diff --git a/lib/librte_eal/common/Makefile b/lib/librte_eal/common/Makefile
+index a5bd1089a..4b712600a 100644
+--- a/lib/librte_eal/common/Makefile
++++ b/lib/librte_eal/common/Makefile
+@@ -48,7 +48,7 @@ GENERIC_INC += rte_vect.h rte_io.h
+ # defined in mk/arch/$(RTE_ARCH)/rte.vars.mk
+ ARCH_DIR ?= $(RTE_ARCH)
+-ARCH_INC := $(notdir $(wildcard $(RTE_SDK)/lib/librte_eal/common/include/arch/$(ARCH_DIR)/*.h))
++ARCH_INC := $(sort $(notdir $(wildcard $(RTE_SDK)/lib/librte_eal/common/include/arch/$(ARCH_DIR)/*.h)))
+ SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include := $(addprefix include/,$(INC))
+ SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include += \
+-- 
+2.11.0
+
+
diff --git a/debian/patches/mk-sort-list-of-files-in-examples.dox.patch b/debian/patches/mk-sort-list-of-files-in-examples.dox.patch
new file mode 100644 (file)
index 0000000..8db6d54
--- /dev/null
@@ -0,0 +1,31 @@
+Description: mk: sort list of files in examples.dox
+
+The result of find might not be stable depending on external
+conditions.
+Pipe it through LC_ALL=C sort to ensure reproducible results when
+generating examples.dox.
+
+Origin: http://dpdk.org/dev/patchwork/patch/25862/
+Forwarded: yes
+Author: Luca Boccassi <luca.boccassi@gmail.com>
+Last-Update: 2017-06-24
+---
+ mk/rte.sdkdoc.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk
+index c0eaa3502..de31b78cf 100644
+--- a/mk/rte.sdkdoc.mk
++++ b/mk/rte.sdkdoc.mk
+@@ -93,7 +93,7 @@ $(API_EXAMPLES): api-html-clean
+       $(Q)mkdir -p $(@D)
+       @printf '/**\n' > $(API_EXAMPLES)
+       @printf '@page examples DPDK Example Programs\n\n' >> $(API_EXAMPLES)
+-      @find examples -type f -name '*.c' -printf '@example %p\n' >> $(API_EXAMPLES)
++      @find examples -type f -name '*.c' -printf '@example %p\n' | LC_ALL=C sort >> $(API_EXAMPLES)
+       @printf '*/\n' >> $(API_EXAMPLES)
+ guides-pdf-clean: guides-pdf-img-clean
+-- 
+2.11.0
+
diff --git a/debian/patches/mk-sort-list-of-shared-objects-in-linker-script.patch b/debian/patches/mk-sort-list-of-shared-objects-in-linker-script.patch
new file mode 100644 (file)
index 0000000..2e7b60f
--- /dev/null
@@ -0,0 +1,32 @@
+Description: mk: sort list of shared objects in linker script
+
+The output of wildcard might not be stable and depend on the
+filesystem and other factors.
+This means the content libdpdk.so linker script might change between
+builds from the same sources.
+Run the list through sort to ensure reproducibility.
+
+Origin: http://dpdk.org/dev/patchwork/patch/25861/
+Forwarded: yes
+Author: Luca Boccassi <luca.boccassi@gmail.com>
+Last-Update: 2017-06-24
+---
+ mk/rte.combinedlib.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mk/rte.combinedlib.mk b/mk/rte.combinedlib.mk
+index 449358b33..2ab7ee8a1 100644
+--- a/mk/rte.combinedlib.mk
++++ b/mk/rte.combinedlib.mk
+@@ -42,7 +42,7 @@ endif
+ RTE_LIBNAME := dpdk
+ COMBINEDLIB := lib$(RTE_LIBNAME)$(EXT)
+-LIBS := $(filter-out $(COMBINEDLIB), $(notdir $(wildcard $(RTE_OUTPUT)/lib/*$(EXT))))
++LIBS := $(filter-out $(COMBINEDLIB), $(sort $(notdir $(wildcard $(RTE_OUTPUT)/lib/*$(EXT)))))
+ all: FORCE
+       $(Q)echo "GROUP ( $(LIBS) )" > $(RTE_OUTPUT)/lib/$(COMBINEDLIB)
+-- 
+2.11.0
+
diff --git a/debian/patches/mk-sort-object-files-when-building-deps-lists.patch b/debian/patches/mk-sort-object-files-when-building-deps-lists.patch
new file mode 100644 (file)
index 0000000..278f0b8
--- /dev/null
@@ -0,0 +1,64 @@
+Description: mk: sort object files when building deps lists
+
+In order to achieve reproducible builds, always use the same
+order when listing object files to build dependencies lists.
+
+Origin: http://dpdk.org/dev/patchwork/patch/25865/
+Forwarded: yes
+Author: Luca Boccassi <luca.boccassi@gmail.com>
+Last-Update: 2017-06-24
+---
+ mk/rte.app.mk     | 4 ++--
+ mk/rte.hostapp.mk | 4 ++--
+ mk/rte.shared.mk  | 4 ++--
+ 3 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/mk/rte.app.mk b/mk/rte.app.mk
+index bcaf1b382..54134dea4 100644
+--- a/mk/rte.app.mk
++++ b/mk/rte.app.mk
+@@ -263,8 +263,8 @@ LDLIBS_NAMES += $(patsubst -Wl$(comma)-l%,lib%.a,$(filter -Wl$(comma)-l%,$(LDLIB
+ # list of found libraries files (useful for deps). If not found, the
+ # library is silently ignored and dep won't be checked
+-LDLIBS_FILES := $(wildcard $(foreach dir,$(LDLIBS_PATH),\
+-      $(addprefix $(dir)/,$(LDLIBS_NAMES))))
++LDLIBS_FILES := $(sort $(wildcard $(foreach dir,$(LDLIBS_PATH),\
++      $(addprefix $(dir)/,$(LDLIBS_NAMES)))))
+ #
+ # Compile executable file if needed
+diff --git a/mk/rte.hostapp.mk b/mk/rte.hostapp.mk
+index 5cb4909cb..f58173c31 100644
+--- a/mk/rte.hostapp.mk
++++ b/mk/rte.hostapp.mk
+@@ -69,9 +69,9 @@ O_TO_EXE_DO = @set -e; \
+ -include .$(HOSTAPP).cmd
+ # list of .a files that are linked to this application
+-LDLIBS_FILES := $(wildcard \
++LDLIBS_FILES := $(sort $(wildcard \
+       $(addprefix $(RTE_OUTPUT)/lib/, \
+-      $(patsubst -l%,lib%.a,$(filter -l%,$(LDLIBS)))))
++      $(patsubst -l%,lib%.a,$(filter -l%,$(LDLIBS))))))
+ #
+ # Compile executable file if needed
+diff --git a/mk/rte.shared.mk b/mk/rte.shared.mk
+index 87ccf0ba4..4e680bc03 100644
+--- a/mk/rte.shared.mk
++++ b/mk/rte.shared.mk
+@@ -85,8 +85,8 @@ LDLIBS_NAMES += $(patsubst -Wl$(comma)-l%,lib%.a,$(filter -Wl$(comma)-l%,$(LDLIB
+ # list of found libraries files (useful for deps). If not found, the
+ # library is silently ignored and dep won't be checked
+-LDLIBS_FILES := $(wildcard $(foreach dir,$(LDLIBS_PATH),\
+-      $(addprefix $(dir)/,$(LDLIBS_NAMES))))
++LDLIBS_FILES := $(sort $(wildcard $(foreach dir,$(LDLIBS_PATH),\
++      $(addprefix $(dir)/,$(LDLIBS_NAMES)))))
+ #
+ # Archive objects in .so file if needed
+-- 
+2.11.0
+
diff --git a/debian/patches/mk-sort-source-files-before-passing-them-to-the-comp.patch b/debian/patches/mk-sort-source-files-before-passing-them-to-the-comp.patch
new file mode 100644 (file)
index 0000000..6d4da0d
--- /dev/null
@@ -0,0 +1,127 @@
+Description: mk: sort source files before passing them to the compiler
+
+In order to achieve reproducible builds, always use the same
+order when listing files for compilation.
+
+Origin: http://dpdk.org/dev/patchwork/patch/25864/
+Forwarded: yes
+Author: Luca Boccassi <luca.boccassi@gmail.com>
+Last-Update: 2017-06-24
+---
+ drivers/net/cxgbe/Makefile    | 2 +-
+ drivers/net/e1000/Makefile    | 2 +-
+ drivers/net/fm10k/Makefile    | 2 +-
+ drivers/net/i40e/Makefile     | 2 +-
+ drivers/net/ixgbe/Makefile    | 2 +-
+ drivers/net/qede/Makefile     | 2 +-
+ drivers/net/sfc/Makefile      | 2 +-
+ drivers/net/thunderx/Makefile | 2 +-
+ 8 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/drivers/net/cxgbe/Makefile b/drivers/net/cxgbe/Makefile
+index 7cef6279c..b4666b5af 100644
+--- a/drivers/net/cxgbe/Makefile
++++ b/drivers/net/cxgbe/Makefile
+@@ -67,7 +67,7 @@ endif
+ # Add extra flags for base driver files (also known as shared code)
+ # to disable warnings in them
+ #
+-BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c)))
++BASE_DRIVER_OBJS=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))))
+ $(foreach obj, $(BASE_DRIVER_OBJS), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
+ VPATH += $(SRCDIR)/base
+diff --git a/drivers/net/e1000/Makefile b/drivers/net/e1000/Makefile
+index ffdf36d37..59d96bca1 100644
+--- a/drivers/net/e1000/Makefile
++++ b/drivers/net/e1000/Makefile
+@@ -68,7 +68,7 @@ endif
+ # Add extra flags for base driver files (also known as shared code)
+ # to disable warnings in them
+ #
+-BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c)))
++BASE_DRIVER_OBJS=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))))
+ $(foreach obj, $(BASE_DRIVER_OBJS), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
+ VPATH += $(SRCDIR)/base
+diff --git a/drivers/net/fm10k/Makefile b/drivers/net/fm10k/Makefile
+index e0024f052..0bc124eb1 100644
+--- a/drivers/net/fm10k/Makefile
++++ b/drivers/net/fm10k/Makefile
+@@ -80,7 +80,7 @@ endif
+ #
+ # Add extra flags for base driver source files to disable warnings in them
+ #
+-BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c)))
++BASE_DRIVER_OBJS=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))))
+ $(foreach obj, $(BASE_DRIVER_OBJS), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
+ VPATH += $(SRCDIR)/base
+diff --git a/drivers/net/i40e/Makefile b/drivers/net/i40e/Makefile
+index 56f210d6d..06eedc592 100644
+--- a/drivers/net/i40e/Makefile
++++ b/drivers/net/i40e/Makefile
+@@ -78,7 +78,7 @@ endif
+ CFLAGS_i40e_lan_hmc.o += -Wno-error
+ endif
+-OBJS_BASE_DRIVER=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c)))
++OBJS_BASE_DRIVER=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))))
+ $(foreach obj, $(OBJS_BASE_DRIVER), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
+ VPATH += $(SRCDIR)/base
+diff --git a/drivers/net/ixgbe/Makefile b/drivers/net/ixgbe/Makefile
+index 6a651b923..f5c370ce5 100644
+--- a/drivers/net/ixgbe/Makefile
++++ b/drivers/net/ixgbe/Makefile
+@@ -87,7 +87,7 @@ endif
+ # Add extra flags for base driver files (also known as shared code)
+ # to disable warnings in them
+ #
+-BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c)))
++BASE_DRIVER_OBJS=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))))
+ $(foreach obj, $(BASE_DRIVER_OBJS), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
+ VPATH += $(SRCDIR)/base
+diff --git a/drivers/net/qede/Makefile b/drivers/net/qede/Makefile
+index f03441d9a..83ff95474 100644
+--- a/drivers/net/qede/Makefile
++++ b/drivers/net/qede/Makefile
+@@ -78,7 +78,7 @@ endif
+ # to disable warnings in them
+ #
+ #
+-BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c)))
++BASE_DRIVER_OBJS=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))))
+ $(foreach obj, $(BASE_DRIVER_OBJS), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
+ VPATH += $(SRCDIR)/base
+diff --git a/drivers/net/sfc/Makefile b/drivers/net/sfc/Makefile
+index 57aa963ba..8cfd14d45 100644
+--- a/drivers/net/sfc/Makefile
++++ b/drivers/net/sfc/Makefile
+@@ -71,7 +71,7 @@ endif
+ # List of base driver object files for which
+ # special CFLAGS above should be applied
+ #
+-BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c)))
++BASE_DRIVER_OBJS=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))))
+ $(foreach obj, $(BASE_DRIVER_OBJS), \
+   $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
+diff --git a/drivers/net/thunderx/Makefile b/drivers/net/thunderx/Makefile
+index 706250b8b..ac384a624 100644
+--- a/drivers/net/thunderx/Makefile
++++ b/drivers/net/thunderx/Makefile
+@@ -45,7 +45,7 @@ EXPORT_MAP := rte_pmd_thunderx_nicvf_version.map
+ LIBABIVER := 1
+-OBJS_BASE_DRIVER=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c)))
++OBJS_BASE_DRIVER=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))))
+ $(foreach obj, $(OBJS_BASE_DRIVER), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
+ VPATH += $(SRCDIR)/base
+-- 
+2.11.0
+
diff --git a/debian/patches/mk-use-make-silent-flag-to-print-HTML-doc-version.patch b/debian/patches/mk-use-make-silent-flag-to-print-HTML-doc-version.patch
new file mode 100644 (file)
index 0000000..35d0bac
--- /dev/null
@@ -0,0 +1,36 @@
+Description: mk: use make silent flag to print HTML doc version
+
+Depending on the environment, make might echo the command being ran.
+In mk/rte.sdkdoc.mk make is used to print the DPDK version to be
+piped to doxygen. This causes the following to be written:
+
+<div id="projectname">DPDK
+&#160;<span id="projectnumber">/usr/bin/make-f/build/dpdk-jYjqnr/dpdk-16.11.2/mk/rte.sdkconfig.mkshowversion</span>
+</div>
+
+Use -s (--silent) to prevent echoing.
+
+Origin: http://dpdk.org/dev/patchwork/patch/25673/
+Forwarded: yes
+Author: Luca Boccassi <luca.boccassi@gmail.com>
+Last-Update: 2017-06-24
+---
+ mk/rte.sdkdoc.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk
+index fb8f91555..c0eaa3502 100644
+--- a/mk/rte.sdkdoc.mk
++++ b/mk/rte.sdkdoc.mk
+@@ -73,7 +73,7 @@ api-html: $(API_EXAMPLES)
+       $(Q)mkdir -p $(RTE_OUTPUT)/doc/html
+       $(Q)(cat $(RTE_SDK)/doc/api/doxy-api.conf     && \
+           printf 'PROJECT_NUMBER = '                && \
+-                            $(MAKE) -rR showversion && \
++                           $(MAKE) -rRs showversion && \
+           echo INPUT           += $(API_EXAMPLES)   && \
+           echo OUTPUT_DIRECTORY = $(RTE_OUTPUT)/doc && \
+           echo HTML_OUTPUT      = html/api          && \
+-- 
+2.11.0
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..c2b79f0
--- /dev/null
@@ -0,0 +1,10 @@
+fix-vhost-user-socket-permission.patch
+fix-power-default-config.patch
+mk-use-make-silent-flag-to-print-HTML-doc-version.patch
+mk-fix-excluding-.doctrees-when-installing-docs.patch
+mk-sort-list-of-shared-objects-in-linker-script.patch
+mk-sort-list-of-files-in-examples.dox.patch
+mk-sort-headers-before-wildcard-inclusion.patch
+mk-sort-source-files-before-passing-them-to-the-comp.patch
+mk-sort-object-files-when-building-deps-lists.patch
+mk-order-CFLAGS-so-that-ISCDIR-comes-before-IRTE_OUT.patch
diff --git a/debian/prep-modules b/debian/prep-modules
new file mode 100755 (executable)
index 0000000..0caf81e
--- /dev/null
@@ -0,0 +1,123 @@
+#! /bin/sh
+#
+# Copyright (c)  2009-2016 Andreas Beckmann <anbe@debian.org>
+#                2010-2016 Russ Allbery <rra@debian.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this script.  If not, see <http://www.gnu.org/licenses/>.
+#
+# This script originally comes from:
+# https://anonscm.debian.org/viewvc/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/module/debian/prep-modules?view=markup
+# The original copyright and license (GPL2+) can be found at:
+# https://anonscm.debian.org/viewvc/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/copyright?view=markup
+#
+# Prepares to build kernel modules.  This script figures out and munges
+# version strings.  The goal is:
+#
+#  * Set the package name to dpdk-modules-$(KVERS) where $(KVERS) is the
+#    major kernel revision plus the debian subrevision and whatever
+#    architecture string is appropriate if building against the stock Debian
+#    kernels.  $(KVERS) should be identical to the version component contained
+#    in the Debian kernel package names (in other words, the ABI version, not
+#    the package version).
+#
+#  * Make the package depend on linux-image-$(KVERS) (= version) as appropriate
+#    for the kernel version that we're building against.  Use depend as the
+#    kernel ABI is not stable and it's not guaranteed that a module built
+#    against a version of the headers will work under a different kernel.
+#
+#  * Save the version number of the binary package in debian/VERSION for later
+#    use by dh_gencontrol.  This will be the version number of the source
+#    package followed by a + and the version number of the kernel package that
+#    we're building against.  If the kernel package version contains an epoch,
+#    try to hack our way into doing the right thing by using that epoch number
+#    as our own.  This isn't quite the right thing, but seems reasonably good.
+#
+# This script generates debian/control from debian/control.template using sed.
+# Unfortunately, substvars cannot be used since the name of the package is
+# modified and substvars happens too late.  It also outputs debian/VERSION,
+# containing the version of the binary package.
+
+set -e
+
+if [ "$#" -ne 1 ]; then
+    echo "Usage: $0 <kernel-source-location>"
+    exit 1
+fi
+
+# We can get the kernel version from one of three places.  If KVERS and KDREV
+# are both already set in the environment (which will be the case when invoked
+# by make-kpkg or module-assistant), use them.  Otherwise, if we have a kernel
+# source directory that contains debian/changelog (generated by make-kpkg),
+# parse that file to find the version information.  Finally, if neither works,
+# extract the kernel version from the kernel headers, append INT_SUBARCH to
+# that version if it's available, and assume a kernel package revision of -1
+# if none is provided.
+#
+# Set the variables $dpdk_kvers, which will hold the revision of the kernel,
+# and $dpdk_kdrev, which will hold the version of the kernel package that
+# we're building against.
+
+changelog="$1/debian/changelog"
+if [ -n "$KVERS" ] && [ -n "$KDREV" ]; then
+    dpdk_kvers="${KVERS}${INT_SUBARCH}"
+    dpdk_kdrev="${KDREV}"
+elif [ ! -f "$changelog" ] ; then
+    if [ -n "$KVERS" ] ; then
+        dpdk_kvers="$KVERS"
+    else
+        dpdk_kvers=`perl debian/kernel-version "$1"`
+    fi
+    if [ -z "$KDREV" ] ; then
+        set +e
+        dpdk_kdrev=`dpkg-query -W -f='${Version}\n' linux-headers-${dpdk_kvers} 2> /dev/null`
+        if [ $? -ne 0 ] ; then
+            dpdk_kdrev="${dpdk_kvers}-1"
+        fi
+        set -e
+    else
+        dpdk_kvers="${dpdk_kvers}${INT_SUBARCH}"
+        dpdk_kdrev="${KDREV}"
+    fi
+else
+    if [ -n "$KVERS" ] ; then
+        dpdk_kvers="$KVERS"
+    else
+        dpdk_kvers=`head -1 "$changelog" \
+            | sed -e 's/.*source-\([^ ]*\) (\([^)]*\)).*/\1/'`
+    fi
+    dpdk_kdrev=`head -1 "$changelog" \
+        | sed -e 's/.*source-\([^ ]*\) (\([^)]*\)).*/\2/'`
+fi
+
+# Sanitize.
+dpdk_kvers="$(echo "$dpdk_kvers" | tr _ -)"
+dpdk_kdrev="$(echo "$dpdk_kdrev" | tr _ -)"
+
+# Generate the control file from the template.
+
+sed -e "s/#KVERS#/${dpdk_kvers}/g" -e "s/#KDREV#/(= ${dpdk_kdrev})/g" debian/control.modules.in > debian/control.modules
+
+# Now, calcuate the binary package version.  Extract the epoch from the kernel
+# package revision and add it to the beginning of the binary package version
+# if present.  Then, concatenate the source version, '+', and the kernel
+# package revision without the epoch.
+
+dpdk_version=`head -1 debian/changelog | sed -e 's/.*(\([^)]*\)).*/\1/'`
+dpdk_epoch=`echo ${dpdk_kdrev} | sed -n -e 's/^\([0-9]*\):.*/\1/p'`
+dpdk_version="${dpdk_version}+`echo ${dpdk_kdrev} | sed 's/^[0-9]*://'`"
+if [ -n "$dpdk_epoch" ] ; then
+    dpdk_version="${dpdk_epoch}:${dpdk_version}"
+fi
+
+echo "$dpdk_version" > debian/VERSION
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..16f1a67
--- /dev/null
@@ -0,0 +1,354 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+export DH_VERBOSE=1
+export DH_OPTIONS=-v
+
+VERSION := $(shell dpkg-parsechangelog | sed -nr '/^Version:/s/Version: (.*:)?(.*)-(.*)/\2/p')
+DPDK_ABI := $(shell echo $(VERSION) | cut -d '.'  -f1-2)
+
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+include /usr/share/dpkg/default.mk
+
+DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+# Support backporting to jessie
+dpkg_version_lt = $(shell dpkg --compare-versions $$(dpkg --status dpkg-dev | grep Version | cut -d' ' -f2) lt-nl "1.18.11" && echo yes)
+ifeq (yes, $(dpkg_version_lt))
+       # package maintainers to append CFLAGS
+       # For Debian, dpkg-dev >= 1.18.11 and gcc 6.x, dpkg-buildflags and gcc
+       # handle -fPIC and related flags relying on specs files
+       # (/usr/share/dpkg/*specs)
+       export DEB_CFLAGS_MAINT_APPEND  = -fPIC
+       export EXTRA_CFLAGS=$(CFLAGS)
+       export EXTRA_CPPFLAGS=$(CPPFLAGS)
+       export HOST_EXTRA_CFLAGS=$(CFLAGS)
+       export HOST_EXTRA_CPPFLAGS=$(CPPFLAGS)
+       # need to be stripped as DPDK build system adds them and it would be -Wl,-Wl,opt
+       export EXTRA_LDFLAGS=$(shell echo $(LDFLAGS) | sed 's/-Wl,//g')
+       # HOST_CC build system does not add -Wl ...
+       export EXTRA_HOST_LDFLAGS=$(LDFLAGS)
+endif
+
+export RTE_DEVEL_BUILD=n
+export EXTRA_CFLAGS+=-g
+
+# People rebuilding this package can overwrite DPDK_CONFIG, RTE_MACHINE and
+# RTE_TARGET via DEB_BUILD_OPTIONS if they like
+ifneq (,$(filter dpdk_config=%,$(DEB_BUILD_OPTIONS)))
+    DPDK_CONFIG ?= $(patsubst dpdk_config=%,%,$(filter dpdk_config=%,$(DEB_BUILD_OPTIONS)))
+endif
+ifneq (,$(filter rte_machine=%,$(DEB_BUILD_OPTIONS)))
+    RTE_MACHINE ?= $(patsubst rte_machine=%,%,$(filter rte_machine=%,$(DEB_BUILD_OPTIONS)))
+endif
+ifneq (,$(filter rte_target=%,$(DEB_BUILD_OPTIONS)))
+    RTE_TARGET ?= $(patsubst rte_target=%,%,$(filter rte_target=%,$(DEB_BUILD_OPTIONS)))
+endif
+
+ifneq (,$(filter $(DEB_HOST_ARCH), arm64))
+DPDK_CONFIG ?= "arm64-armv8a-linuxapp-gcc"
+RTE_MACHINE ?= "armv8a"
+RTE_TARGET ?= "arm64-armv8a-linuxapp-gcc"
+INCLUDE_ARCH := arm
+else
+ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el))
+DPDK_CONFIG ?= "ppc_64-power8-linuxapp-gcc"
+RTE_MACHINE ?= "power8"
+RTE_TARGET ?= "ppc_64-power8-linuxapp-gcc"
+INCLUDE_ARCH := ppc_64
+else
+DPDK_CONFIG ?= "$(DEB_HOST_GNU_CPU)-native-linuxapp-gcc"
+RTE_MACHINE ?= "default"
+RTE_TARGET ?= "$(DEB_HOST_GNU_CPU)-default-linuxapp-gcc"
+INCLUDE_ARCH := x86
+endif
+endif
+DPDK_STATIC_DIR = "debian/build/static-root"
+DPDK_SHARED_DIR = "debian/build/shared-root"
+
+# now stable with parallel comilation, so support -j
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+    PAR := $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+    MAKEFLAGS += -j$(PAR)
+endif
+
+ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
+BUILD_DOCS=n
+else
+BUILD_DOCS=y
+endif
+
+ifneq (,$(findstring nostatic,$(DEB_BUILD_OPTIONS)))
+BUILD_STATIC_LIB=n
+else
+BUILD_STATIC_LIB=y
+endif
+
+# kernel_modules can be passed via DEB_BUILD_OPTIONS to enable building the
+# optional binary kernel modules package. By default it will be built against
+# the current kernel, or ksrc can be passed with a path to the target kernel
+# sources instead.
+ifeq (,$(findstring kernel_modules,$(DEB_BUILD_OPTIONS)))
+DPDK_CONFIG_BUILD_KMOD=n
+KSRC=""
+else
+ifneq (,$(filter ksrc=%,$(DEB_BUILD_OPTIONS)))
+    KSRC := $(patsubst ksrc=%,%,$(filter ksrc=%,$(DEB_BUILD_OPTIONS)))
+else
+    KSRC := /lib/modules/$(shell uname -r)/build
+endif
+
+KVERS := $(shell perl debian/kernel-version $(KSRC))
+export KVERS
+export MODULE_CFLAGS=-fno-PIE
+
+DPDK_CONFIG_BUILD_KMOD=y
+
+# Since the binary module package is generated at build time depending on the
+# local kernel version, we have to append the new package in d/control.
+# We cannot use a separate control file since that wouldn't work with
+# dpkg-genchanges, and also would require a lot of overrides for debhelpers.
+get_built_using        ?= $(filter-out (=),$(shell dpkg-query -f='$${source:Package} (=$${source:Version})' -W $1))
+
+build:
+       @if [ x"$(KVERS)" = x ] ; then \
+           echo 'No version in $(KSRC)/include/linux/version.h' >&2; \
+           exit 1; \
+       fi
+       sh debian/prep-modules $(KSRC)
+       cat debian/control.modules >> debian/control
+       dh $@ --with python2,dkms
+endif
+
+%:
+       dh $@ --with python2,dkms
+
+override_dh_gencontrol:
+       dh_gencontrol
+       # debian/files will not exist until dh_gencontrol has ran at least once,
+       # so we need to run gencontrol for libdpdk-dev and libdpdk-dbgsym after.
+       # The list of libraries and PMDs is everchanging, so generate the dependency
+       # list for libdpdk-dev to avoid having to maintain it manually.
+       # Same for the recommends list for dpdk, were we want the PMDs and the mempools.
+       dh_gencontrol -p libdpdk-dev -- -V"librte:Depends=`grep -E 'librte-*' ./debian/files | grep -v dbgsym | tr '_' ' ' | awk '{ print $$1,"(=",$$2 ")" }' | paste -sd ',' - | sed -e 's/,/, /g'`"
+       dh_gencontrol -p dpdk -- -V"librte:Recommends=`grep -E 'librte-(pmd|mempool).*' ./debian/files | grep -v dbgsym | tr '_' ' ' | awk '{ print $$1,"(=",$$2 ")" }' | paste -sd ',' - | sed -e 's/,/, /g'`"
+ifneq (,$(findstring kernel_modules,$(DEB_BUILD_OPTIONS)))
+       dh_gencontrol -p dpdk-modules-$(KVERS) -- \
+               -v`cat debian/VERSION` \
+               -V'built:using:kernel=$(call get_built_using,linux-headers-$(KVERS))'
+endif
+ifneq (,$(findstring dbgsym_meta,$(DEB_BUILD_OPTIONS)))
+       ./debian/dh-dbgsym-metapkg libdpdk$(DPDK_ABI)-dbgsym
+endif
+
+# dbgsym_meta can be passed via DEB_BUILD_OPTIONS to enable building the
+# optional dbgsym meta package libdpdk<ABI>-dbgsym.
+# This is not built by default as it would go in main but depend on
+# packages in the debian-debug archive.
+# Debian Developers and FTP masters strongly discourage this.
+# We provide this optional flag as a convenience for rebuilders.
+ifneq (,$(findstring dbgsym_meta,$(DEB_BUILD_OPTIONS)))
+override_dh_builddeb:
+       dh_builddeb
+       dh_builddeb -plibdpdk$(DPDK_ABI)-dbgsym
+endif
+
+override_dh_auto_clean:
+       rm -rf debian/build debian/tmp debian/dpdk-modules-* \
+               debian/control.modules debian/VERSION
+       sed -i '/Package: dpdk-modules-/,/`tail -n1 debian/control.modules.in`/d' debian/control
+       test -L config/defconfig_$(DPDK_CONFIG) && rm -f config/defconfig_$(DPDK_CONFIG) || true
+
+override_dh_auto_configure:
+       # Add support for a custom defconfig file in the debian directory.
+ifneq (,$(filter dpdk_config=%,$(DEB_BUILD_OPTIONS)))
+       test -e config/defconfig_$(DPDK_CONFIG) || ln -fs ../debian/defconfig_$(DPDK_CONFIG) config/defconfig_$(DPDK_CONFIG)
+endif
+       # report dpkg-buildflags status to build log
+       dpkg-buildflags --status
+       echo EXTRA_CFLAGS $$EXTRA_CFLAGS
+       echo EXTRA_LDFLAGS: $$EXTRA_LDFLAGS
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_STATIC_DIR) T=$(DPDK_CONFIG) config
+ifeq (,$(filter dpdk_config=%,$(DEB_BUILD_OPTIONS)))
+       sed -ri -e 's,(RTE_MACHINE=).*,\1$(RTE_MACHINE),' \
+               -e 's,(RTE_NEXT_ABI=).*,\1n,' \
+               -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,(LIBRTE_PMD_XENVIRT=).*,\1y,' \
+               -e 's,(CONFIG_RTE_EAL_PMD_PATH=).*,\1"/usr/lib/$(DEB_HOST_MULTIARCH)/dpdk-pmds/",' \
+               $(DPDK_STATIC_DIR)/.config
+       # xen not available on ppc64el
+ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el))
+       sed -ri -e 's,(LIBRTE_PMD_XENVIRT=).*,\1n,' $(DPDK_STATIC_DIR)/.config
+endif
+endif
+       echo "CONFIG_RTE_MAJOR_ABI=\"$(DPDK_ABI)\"" >> \
+               $(DPDK_STATIC_DIR)/.config
+       dh_auto_configure
+
+override_dh_auto_build-indep:
+ifeq (y,$(BUILD_DOCS))
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_STATIC_DIR) doc-api-html doc-guides-html
+endif
+
+override_dh_auto_install-indep:
+       # Package: dpdk-doc
+       # All files based on the install-doc rule (includes examples)
+ifeq (y,$(BUILD_DOCS))
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_STATIC_DIR) prefix=/usr \
+               DESTDIR=debian/dpdk-doc install-doc
+endif
+
+override_dh_auto_build-arch:
+ifeq (y,$(BUILD_STATIC_LIB))
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_STATIC_DIR) RTE_KERNELDIR=$(KSRC) build
+endif
+       # Unfortunately the decision about having static or shared libraries is
+       # made for the whole build, which then produces only .a or .so files
+       # (but not both).
+       # And the target layout for target selection has no field for the
+       # type of library.
+       # Right now I hack this by doing a second build which only differs in
+       # the selection of shared libs.
+       # Shared libs should be default, so the previous static build is only
+       # used to get static libraries.
+       cp -a $(DPDK_STATIC_DIR) $(DPDK_SHARED_DIR)
+       sed -ri 's,(RTE_BUILD_SHARED_LIB=).*,\1y,' \
+               $(DPDK_SHARED_DIR)/.config
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_SHARED_DIR) RTE_KERNELDIR=$(KSRC) build
+ifeq (y,$(BUILD_DOCS))
+       # need to be around for dh_installman to be picked up
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_SHARED_DIR) RTE_KERNELDIR=$(KSRC) doc-guides-man
+endif
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_SHARED_DIR) RTE_KERNELDIR=$(KSRC) test-build
+
+override_dh_auto_install-arch: LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
+override_dh_auto_install-arch:
+       # Package: dpdk (runtime)
+ifeq (y,$(BUILD_STATIC_LIB))
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_STATIC_DIR) prefix=/usr libdir=$(LIBDIR) \
+               DESTDIR=debian/dpdk install-runtime
+endif
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_SHARED_DIR) prefix=/usr libdir=$(LIBDIR) \
+               DESTDIR=debian/dpdk install-runtime
+       mkdir -p debian/dpdk/etc/dpdk
+       cp debian/dpdk.interfaces debian/dpdk/etc/dpdk/interfaces
+       rm debian/dpdk/usr/sbin/dpdk-devbind
+       mkdir -p debian/dpdk/sbin
+       ln -s /usr/share/dpdk/tools/dpdk-devbind.py \
+               debian/dpdk/sbin/dpdk-devbind
+       # Package: dpdk-dev (build environment)
+       # workaround to fix symbolic link creation
+       mkdir -p debian/dpdk-dev/$(LIBDIR)
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_SHARED_DIR) prefix=/usr libdir=$(LIBDIR) \
+               DESTDIR=debian/dpdk-dev install-sdk
+       # remove workaround
+       rm -fr debian/dpdk-dev/usr/lib
+       cp $(DPDK_SHARED_DIR)/.config debian/dpdk-dev/usr/share/dpdk/config
+       sed -e 's/SDK_TARGET/$(RTE_TARGET)/' debian/dpdk-sdk-env.sh.in > \
+               debian/dpdk-dev/usr/share/dpdk/dpdk-sdk-env.sh
+       # include the bundled autotest suite to be usable from the dpdk-dev package
+       if grep -qs 'CONFIG_RTE_APP_TEST=y' $(DPDK_SHARED_DIR)/.config; then \
+               mkdir -p debian/dpdk-dev/usr/share/dpdk/test; \
+               cp -a test/test/autotest* debian/dpdk-dev/usr/share/dpdk/test; \
+               cp $(DPDK_SHARED_DIR)/app/test debian/dpdk-dev/usr/share/dpdk/test/; \
+               cp $(DPDK_SHARED_DIR)/app/testacl debian/dpdk-dev/usr/share/dpdk/test/; \
+               cp $(DPDK_SHARED_DIR)/app/testpipeline debian/dpdk-dev/usr/share/dpdk/test/; \
+       fi
+       # since we move libs to multiarch dirs update the non aware symlink
+       rm debian/dpdk-dev/usr/share/dpdk/$(RTE_TARGET)/lib
+       ln -rs debian/dpdk-dev/$(LIBDIR)/ \
+               debian/dpdk-dev/usr/share/dpdk/$(RTE_TARGET)/lib
+       # Package: libdpdk-dev (bare headers, static devel libs and linker
+       # script)
+       mkdir -p debian/libdpdk-dev/$(LIBDIR)
+       # linker script
+       mv debian/dpdk/$(LIBDIR)/libdpdk.so debian/libdpdk-dev/$(LIBDIR)/
+       # includes
+       # Some headers have architecture-specific content, but the upstream build
+       # system installs them in the same directory, breaking multiarch.
+       # Move them in /usr/include/<arch>/dpdk instead.
+       mkdir -p debian/libdpdk-dev/usr/include/$(DEB_HOST_MULTIARCH)/dpdk
+       mv $(addprefix debian/dpdk-dev/usr/include/dpdk/,$(notdir $(wildcard lib/librte_eal/common/include/arch/$(INCLUDE_ARCH)/*.h))) \
+               debian/libdpdk-dev/usr/include/$(DEB_HOST_MULTIARCH)/dpdk/
+       mv debian/dpdk-dev/usr/include/dpdk/rte_config.h \
+               debian/libdpdk-dev/usr/include/$(DEB_HOST_MULTIARCH)/dpdk/
+       mv debian/dpdk-dev/usr/include/dpdk debian/libdpdk-dev/usr/include/
+       # all static libs are in the dev package
+ifeq (y,$(BUILD_STATIC_LIB))
+       mv debian/dpdk/$(LIBDIR)/lib*.a debian/libdpdk-dev/$(LIBDIR)/
+endif
+       # symlinks to last .so's are in the non versioned libdpdk-dev as well
+       # this allows multiple libdpdk-<NAME><VER> at different VER concurrently
+       # libdpdk-dev depends on all sublibs so symlinks are never broken
+       mv debian/dpdk/$(LIBDIR)/*.so debian/libdpdk-dev/$(LIBDIR)/
+       # Package(s): libdpdk-<NAME><VER> (bare runtime libs)
+       for lib in $$(ls -1 debian/dpdk/$(LIBDIR)/*.so.*); do \
+         BN=$$(basename $${lib}); \
+         LN=$$(echo $${BN} | sed -e 's/\.so\.[0-9\.]*$$//' | tr '_' '-'); \
+         if echo $${LN} | grep -q ".*[0-9]$$"; then \
+           PKG=$${LN}-$(DPDK_ABI); \
+         else \
+           PKG=$${LN}$(DPDK_ABI); \
+         fi; \
+         LIBF="$$(basename $${lib})"; \
+         LIBD="debian/$${PKG}/$(LIBDIR)"; \
+         echo "moving $${lib} to dir $${LIBD} (PKG=$${PKG} BN=$${BN} LN={$${LN} LIBF=$${LIBF} LIBD=$${LIBD})"; \
+         mkdir -p $${LIBD}; \
+         mv $${lib} $${LIBD}; \
+         if [ "$${LIBF#librte_pmd_}x" != "$${LIBF}x" ]; then \
+           mkdir -p $${LIBD}/dpdk-pmds; \
+           echo "PMD: linking $${LIBF} into RTE_EAL_PMD_PATH at $${LIBD}/dpdk-pmds/"; \
+           ln -s --relative --target-directory=$${LIBD}/dpdk-pmds/ $${LIBD}/$${LIBF}; \
+         fi; \
+         if [ "$${LIBF#librte_mempool_}x" != "$${LIBF}x" ]; then \
+           mkdir -p $${LIBD}/dpdk-pmds; \
+           echo "MEMPOOL: linking $${LIBF} into RTE_EAL_PMD_PATH at $${LIBD}/dpdk-pmds/"; \
+           ln -s --relative --target-directory=$${LIBD}/dpdk-pmds/ $${LIBD}/$${LIBF}; \
+         fi; \
+         if [ "$${LIBF#librte_eal}x" != "$${LIBF}x" ]; then \
+           mkdir -p $${LIBD}/dpdk-pmds; \
+         fi; \
+       done
+       # pkg-config
+       mkdir -p debian/libdpdk-dev/$(LIBDIR)/pkgconfig
+       LIBS=$$(sed -e 's/GROUP ( \(.*\) )/\1/' -e 's/lib/-l/g' -e 's/\.so//g' \
+               $(CURDIR)/debian/libdpdk-dev/$(LIBDIR)/libdpdk.so); \
+       sed -e "s/@DPDK_LIBS@/$${LIBS}/" -e "s/@VERSION@/$(VERSION)/" \
+               -e "s|@DEB_HOST_MULTIARCH@|$(DEB_HOST_MULTIARCH)|g" \
+               debian/libdpdk.pc.in > debian/libdpdk-dev/$(LIBDIR)/pkgconfig/libdpdk.pc
+       # Package: dpdk-igb-uio-dkms
+       mkdir -p debian/dpdk-igb-uio-dkms/usr/src/dpdk-igb-uio-$(VERSION)
+       cp lib/librte_eal/linuxapp/igb_uio/* \
+               debian/dpdk-igb-uio-dkms/usr/src/dpdk-igb-uio-$(VERSION)
+       # Package: dpdk-rte-kni-dkms
+       mkdir -p debian/dpdk-rte-kni-dkms/usr/src/dpdk-rte-kni-$(VERSION)
+       cp -a lib/librte_eal/linuxapp/kni/* \
+               debian/dpdk-rte-kni-dkms/usr/src/dpdk-rte-kni-$(VERSION)
+ifneq (,$(KVERS))
+       # Package: dpdk-modules-<kernel version>
+       $(MAKE) V=$(DH_VERBOSE) O=$(DPDK_SHARED_DIR) \
+               kerneldir=/lib/modules/$(KVERS)/extra/dpdk \
+               DESTDIR=debian/dpdk-modules-$(KVERS) install-kmod
+endif
+
+override_dh_dkms:
+       dh_dkms -V $(VERSION)
+
+override_dh_installinit:
+       dh_installinit --no-start --no-restart-on-upgrade
+
+override_dh_systemd_start:
+       dh_systemd_start --no-start --no-restart-on-upgrade
+
+override_dh_auto_test:
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644 (file)
index 0000000..5fd30a1
--- /dev/null
@@ -0,0 +1 @@
+extend-diff-ignore = '(^|/)(\.gitreview|\.git)$'
diff --git a/debian/tests/check-dpdk-supported-arch.sh b/debian/tests/check-dpdk-supported-arch.sh
new file mode 100644 (file)
index 0000000..1105dc2
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+arch=$(dpkg --print-architecture)
+case $arch in
+    amd64|arm64|i386|ppc64el)
+        echo "Architecture ${arch} supported, go on with test"
+        ;;
+    *)
+        echo "Architecture ${arch} not supported, SKIP test"
+        exit 0
+        ;;
+esac
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644 (file)
index 0000000..7d62421
--- /dev/null
@@ -0,0 +1,17 @@
+Tests: test-initscripts
+Restrictions: allow-stderr, isolation-machine, needs-root
+Depends: dpdk [amd64 arm64 i386 ppc64el], gawk, mount, systemd, sysvinit-utils
+
+Tests: test-linkage
+Restrictions: allow-stderr
+Depends: libdpdk-dev [amd64 arm64 i386 ppc64el], libc6, libc6-dev, gcc,
+ grep, libpcap-dev, libxenstore3.0 [amd64 arm64 i386], pax-utils
+
+Tests: test-dkms
+Restrictions: allow-stderr, isolation-machine, needs-root
+Depends: kmod, dpdk-igb-uio-dkms [amd64 arm64 i386 ppc64el],
+ dpdk-rte-kni-dkms [amd64 arm64 i386 ppc64el]
+
+Tests: test-autotest
+Restrictions: allow-stderr, isolation-machine, needs-root
+Depends: dpdk-dev, python, python-pexpect
diff --git a/debian/tests/test-autotest b/debian/tests/test-autotest
new file mode 100644 (file)
index 0000000..0ab308f
--- /dev/null
@@ -0,0 +1,62 @@
+#!/bin/bash
+set -u
+
+basedir=$(dirname "$0")
+. "${basedir}"/check-dpdk-supported-arch.sh
+
+# since these tests really execute dpdk code they have to check for the
+# required minimum cpu features
+ARCH=$(dpkg --print-architecture)
+echo "Check required features on arch: ${ARCH}"
+case "${ARCH}" in
+    amd64)
+        if ! grep -q '^flags.*sse3' /proc/cpuinfo; then
+            echo "Missing sse3 on ${ARCH} - not supported, SKIP test"
+            exit 0
+        fi
+        ;;
+    *)
+        echo "DPDK autotest not supported on ${ARCH}, SKIP test"
+        exit 0
+        ;;
+esac
+echo "no known missing feature on ${ARCH}, continue test"
+
+echo "Get required 1G huge pages"
+echo 512 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
+sleep 5s
+realhp=$(cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages)
+if [[ "$realhp" != "512" ]]; then
+    echo "Unable to allocate the huge pages required for the test, SKIP test"
+    exit 0
+fi
+
+# fetch build config
+. /usr/share/dpdk/dpdk-sdk-env.sh
+
+# Reasons for not being an dh_autotest
+# - needs root and hugepages
+# - build environment capabilities too unpredictable
+# - certain workarounds needed to get running, needing root for some which is
+#   not available in the build environment
+
+# blacklist reasons:
+# known upstream: http://www.dpdk.org/ml/archives/dev/2016-May/038849.html
+# - KNI: we deliver via dkms but test doesn't match
+# - power_acpi_cpufreq: in many environments blocked by other cpufreq
+# - power_kvm_vm_autotest: no avail in all environments, only for virt power management e.g. /dev/virtio-ports/virtio.serial.port.poweragent.0
+# - IVSHMEM fails in virtual environment
+# - eal_flags needs at least 8 cpus for lcores test not to fail
+# - pci doesn't initialize in all virt env causing command not found issues
+# - rather slow performance tests not suited for regular build associated tests: ring_perf,mempool_perf,memcpy_perf,hash_perf,timer_perf
+
+python "${RTE_SDK}/test/autotest.py" \
+    "${RTE_SDK}/test/test" \
+    "${RTE_TARGET}" \
+    "-KNI,power_acpi_cpufreq,power_kvm_vm,IVSHMEM,eal_flags,pci,ring_perf,mempool_perf,memcpy_perf,hash_perf,timer_perf" \
+
+# Pass/Fail
+# For now the autotest is too unreliable, so we run it to get some logs in
+# different environments, but never (want to) fail until it is stable.
+
+echo "OK"
diff --git a/debian/tests/test-dkms b/debian/tests/test-dkms
new file mode 100644 (file)
index 0000000..5db36af
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/bash
+set -eu
+
+basedir=$(dirname "$0")
+. "${basedir}"/check-dpdk-supported-arch.sh
+
+if [ -d /var/lib/dkms ]; then
+    (cd /var/lib/dkms; find -name "make.log" -print0 | xargs -0 tar c) > "$ADT_ARTIFACTS/dkms-make-logs.tar"
+fi
+
+# check that the dkms build fine (on dep install), load and unload
+printf "\n\nChecking igb_uio\n"
+modinfo igb_uio
+modprobe igb_uio
+rmmod igb_uio
+echo "OK"
+
+printf "\n\nChecking igb_uio\n"
+modinfo rte_kni
+modprobe rte_kni
+rmmod rte_kni
+echo "OK"
diff --git a/debian/tests/test-initscripts b/debian/tests/test-initscripts
new file mode 100644 (file)
index 0000000..1643a2e
--- /dev/null
@@ -0,0 +1,149 @@
+#!/bin/sh
+set -e
+
+basedir=$(dirname "$0")
+. "${basedir}"/check-dpdk-supported-arch.sh
+
+# Overall that could require up to 1.2G for hugepages in the test environment
+EXPECT2MHP=10
+# Some page sizes like e.g. 1G might not be available in all test environments
+# The test still configures 1 page of 1G size.
+# One of two things will happen, depending on the test environment:
+# - has 1G huge page size => they will tried to be allocated (usually env is
+#   too small, but we want to see it fail gracefully for that)
+#   We will not check for the 1G alloc, as we know it often fails in small adt's
+# - has no 1G huge page size (HW feature) => we check if it fails gracefully
+EXPECT1GHP=1
+EXPECT16MHP=2
+
+DPDK_CONF="/etc/dpdk/dpdk.conf"
+DPDK_INTERF="/etc/dpdk/interfaces"
+
+checkhp() {
+    MMDIR="/sys/kernel/mm/hugepages/${1}"
+    EXPECTHP="${2}"
+    if [ -d "$MMDIR" -a -r "$MMDIR/nr_hugepages" ]; then
+        hpcount=$(cat "$MMDIR/nr_hugepages")
+        if [ "${hpcount}" -ne "${EXPECTHP}" ]; then
+            echo "Hugepages (${hpcount}) not as expected (${EXPECTHP})"
+            exit 1
+        else
+            echo "Hugepages ok (${hpcount})"
+        fi
+    fi
+}
+
+checkstatus() {
+    MARK=${1}
+    EXPMPCOUNT=${2}
+    PRE=${3}
+    POST=${4}
+    EXPECTEDSTATUS=${5}
+    echo "Status after ${MARK}"
+    echo "Status of the Service"
+    ${PRE} status "${POST}" || true
+
+    GOTSTATUS=$(${PRE} status "${POST}" | awk '/^ *Active: / { print $2 }')
+    if [ "${GOTSTATUS}" != "${EXPECTEDSTATUS}" ]; then
+        echo "Service status (${GOTSTATUS}) not as expected (${EXPECTEDSTATUS})"
+        exit 1
+    else
+        echo "Service status (${GOTSTATUS}) as expected"
+    fi
+
+    echo "Status of hugetlbfs mount points"
+    # this section is ok to create bad RCs when no mounts are available
+    set +e
+    grep hugetlbfs < /proc/mounts
+    htlbfscount=$(grep -c hugetlbfs < /proc/mounts)
+    set -e
+
+    # we have to reduce the expected mountpoint count in case some sizes are
+    # not supported by the current kernel/environment
+    if [ ${EXPMPCOUNT} -gt 0 ]; then
+        if [ ! -d /sys/kernel/mm/hugepages/hugepages-2048kB ]; then
+            EXPMPCOUNT=$((EXPMPCOUNT-1))
+        fi
+        if [ ! -d /sys/kernel/mm/hugepages/hugepages-16384kB ]; then
+            EXPMPCOUNT=$((EXPMPCOUNT-1))
+        fi
+        if [ ! -d /sys/kernel/mm/hugepages/hugepages-1048576kB ]; then
+            EXPMPCOUNT=$((EXPMPCOUNT-1))
+        fi
+    fi
+
+    if [ "${htlbfscount}" -eq "${EXPMPCOUNT}" ]; then
+        echo "MP Count (${htlbfscount}) as expected (${EXPMPCOUNT})"
+    else
+        echo "MP Count (${htlbfscount}) not as expected (${EXPMPCOUNT})"
+        exit 1
+    fi
+
+    # check if setting HP worked
+    if [ "${EXPMPCOUNT}" -ne "0" ]; then
+        checkhp "hugepages-2048kB" "${EXPECT2MHP}"
+        checkhp "hugepages-16384kB" "${EXPECT16MHP}"
+        # We do not check 1G/16M alloc, as it is known to be often not available
+    fi
+}
+
+resetservice() {
+    # help a bit with memory fragmentation regarding huge page allocation
+    sync
+    echo 3 > /proc/sys/vm/drop_caches
+
+    # stopping and resetting Service
+    systemctl stop dpdk.service || /bin/true
+    systemctl reset-failed dpdk.service || /bin/true
+
+    echo "Unmounting all potential hugetlbfs mounts"
+    awk '/hugetlbfs/ {print $2}' /proc/mounts | while read hugetlbmount; do
+        umount -v "$hugetlbmount"
+    done
+}
+
+checkinitstyle() {
+    # We want to verify that
+    # - initially our environment has no hugetlbfs mount
+    # - a system without hugetlbfs mount gets it mounted
+    # - a restart of the service does neither drop nor duplicate the mount
+    PRE=${1}
+    POST=${2}
+    TYPE=${3}
+    printf "\n\n### Checking Type %s ###\n" "${TYPE}"
+    resetservice
+    checkstatus "${TYPE}-BEGIN" 0 "${PRE}" "${POST}" "inactive"
+    echo "### Starting Service ###"
+    ${PRE} start "${POST}"
+    checkstatus "${TYPE}-START" 3 "${PRE}" "${POST}" "active"
+    echo "### Restarting Service ###"
+    ${PRE} restart "${POST}"
+    checkstatus "${TYPE}-RESTART" 3 "${PRE}" "${POST}" "active"
+}
+
+echo "NR_2M_PAGES=$EXPECT2MHP" >> ${DPDK_CONF}
+echo "NR_1G_PAGES=$EXPECT1GHP" >> ${DPDK_CONF}
+echo "NR_16M_PAGES=$EXPECT16MHP" >> ${DPDK_CONF}
+
+# We can't rely on any real device for DPDK tests in adt-* environments. But
+# we can expect all kind of broken configuration not to break it (would be
+# detected via set -e).
+# So add all kind of known-to-be-broken definitions and expect it not to fail.
+cat <<EOF > ${DPDK_INTERF}
+# wrong bus
+pTi 0000:04:00.0 uio-pci-generic
+# not enough parms
+0000:04:00.0 uio-pci-generic
+# empty line
+
+# non existing device
+pci 1234:56:78.9 uio-pci-generic
+EOF
+
+# some had issues in the past caused by different init systems, so we test all
+# Direct Calls
+checkinitstyle "/etc/init.d/dpdk" "" "Direct"
+# System V style init
+checkinitstyle "service dpdk" "" "SysV"
+# SystemD style init
+checkinitstyle "systemctl" "dpdk.service" "SystemD"
diff --git a/debian/tests/test-linkage b/debian/tests/test-linkage
new file mode 100644 (file)
index 0000000..31e409e
--- /dev/null
@@ -0,0 +1,49 @@
+#!/bin/bash
+set -eu
+
+basedir=$(dirname "$0")
+. "${basedir}"/check-dpdk-supported-arch.sh
+
+cat > testlinkage.c << EOF
+#include <stdio.h>
+#include "dpdk/rte_common.h"
+
+int main()
+{
+        printf("Hello rte_exit %p\n", rte_exit);
+        return 0;
+}
+EOF
+
+# -ldpdk actually refers to a linker script now, not a real .so
+# with broken linkage this will fail with undefined symbols
+printf "\n\nChecking compile with link against DPDK\n"
+gcc -v testlinkage.c -o testlinkage.bin -Wall -Werror -ldpdk
+echo "OK"
+
+printf "\n\nLinkage info\n"
+lddtree testlinkage.bin
+
+printf "\n\nChecking for expected internal libraries\n"
+# a few of the sublibs that it should use
+lddtree testlinkage.bin | grep '^    librte_eal.so'
+echo "OK"
+
+printf "\n\nChecking for expected secondary library dependencies\n"
+lddtree testlinkage.bin | grep '^        libpthread.so'
+echo "OK"
+
+printf "\n\nChecking for expected feature dependent library dependencies\n"
+# features only used by the lib that we enabled
+ldd /usr/lib/*/librte_pmd_pcap.so | grep libpcap
+echo "OK"
+
+printf "\n\nChecking test execution\n"
+# It doesn't do much, but it should work - so calling it is a minor extra test.
+# It is known to fail without SSE3 in e.g. some adt environments, in that
+# case check at least that we get the correct error message (this will trigger
+# a test fail if it neither finds the success nor the expected error message)
+(./testlinkage.bin 2>&1 || /bin/true ) | \
+grep -E 'ERROR: This system does not support "SSSE3".|Hello rte_exit 0x'
+
+echo "OK"
diff --git a/debian/update-control.py b/debian/update-control.py
new file mode 100644 (file)
index 0000000..1f0d39a
--- /dev/null
@@ -0,0 +1,82 @@
+#! /usr/bin/env python
+#
+# based on https://anonscm.debian.org/viewvc/pkg-boost/boost/trunk/debian/update-control.py
+#
+
+import sys
+reload(sys)
+sys.setdefaultencoding('utf-8')
+
+from deb822 import Deb822
+import re
+
+gOldVersion = None
+gNewVersion = None
+
+class DpdkVersion:
+    def __init__(self, version):
+        (self.Major,self.Minor) = version.split('.')
+        self.PackageVersion = self.Major + '.' + self.Minor
+
+def replaceVersion(string, ver1, ver2):
+    '''Search 'string' for a DpdkVersion ver1.  If
+    SharedObjectVersion or PackageVersion of ver1 is found, replace by
+    corresponding ver2 version string.  Return the updated string.'''
+    string = re.sub(ver1.PackageVersion, ver2.PackageVersion, string)
+    return string
+
+def updateVersionedValue(paragraph, key):
+    if not paragraph.has_key(key): return
+    oldValue = paragraph[key]
+    paragraph[key] = replaceVersion(paragraph[key], gOldVersion, gNewVersion)
+    return (oldValue, paragraph[key])
+
+def conflictsWithPrevious(paragraph):
+    if not paragraph.has_key('Conflicts'): return False
+    nameRe = re.sub('\d', '\\d', paragraph['Package'])
+    return re.search(nameRe, paragraph['Conflicts']) is not None
+
+def updateConflicts(paragraph, oldPkgName):
+    newPkgName = paragraph['Package']
+    needsConflict = (newPkgName.endswith("-dev") and not newPkgName.endswith("-all-dev")) or conflictsWithPrevious(paragraph)
+    if not needsConflict: return
+    if paragraph.has_key('Conflicts'):
+        if paragraph['Conflicts'].find(oldPkgName) == -1:
+            paragraph['Conflicts'] += ', ' + oldPkgName
+    else:
+        paragraph['Conflicts'] = oldPkgName
+
+def processSourceParagraph(p):
+    updateVersionedValue(p, 'Source')
+
+def processPackageParagraph(p):
+    (oldPkgName, newPkgName) = updateVersionedValue(p, 'Package')
+    updateVersionedValue(p, 'Depends')
+    updateVersionedValue(p, 'Recommends')
+    updateVersionedValue(p, 'Suggests')
+    updateConflicts(p, oldPkgName)
+
+def printParagraph(p):
+    for key in p.keys():
+        print "%s: %s" % (key, p[key])
+
+def processControl():
+    firstParagraph = True
+    for paragraph in Deb822.iter_paragraphs(open('control')):
+        if firstParagraph:
+            processSourceParagraph(paragraph)
+            printParagraph(paragraph)
+            firstParagraph = False
+        else:
+            processPackageParagraph(paragraph)
+            print
+            printParagraph(paragraph)
+
+if len(sys.argv) < 3:
+    print "Usage: cd debian/; %s <old version> <new version> > control_new" % sys.argv[0]
+    exit(1)
+
+gOldVersion = DpdkVersion(sys.argv[1])
+gNewVersion = DpdkVersion(sys.argv[2])
+processControl()
+print
diff --git a/debian/update-helper-control.py b/debian/update-helper-control.py
new file mode 100755 (executable)
index 0000000..fe974ab
--- /dev/null
@@ -0,0 +1,97 @@
+#! /usr/bin/env python3
+#
+# based on https://anonscm.debian.org/viewvc/pkg-boost/boost/
+#    trunk/debian/update-control.py
+#
+
+import re
+import sys
+
+from deb822 import Deb822
+
+gOldVersion = None
+gNewVersion = None
+
+
+class DpdkVersion:
+    def __init__(self, version):
+        (self.Major, self.Minor) = version.split('.')
+        self.PackageVersion = self.Major + '.' + self.Minor
+
+
+def replaceVersion(string, ver1, ver2):
+    '''Search 'string' for a DpdkVersion ver1.  If
+    SharedObjectVersion or PackageVersion of ver1 is found, replace by
+    corresponding ver2 version string.  Return the updated string.'''
+    string = re.sub(ver1.PackageVersion, ver2.PackageVersion, string)
+    return string
+
+
+def updateVersionedValue(paragraph, key):
+    if key not in paragraph:
+        return
+    oldValue = paragraph[key]
+    paragraph[key] = replaceVersion(paragraph[key], gOldVersion, gNewVersion)
+    return (oldValue, paragraph[key])
+
+
+def conflictsWithPrevious(paragraph):
+    if 'Conflicts' not in paragraph:
+        return False
+    nameRe = re.sub('\d', '\\d', paragraph['Package'])
+    return re.search(nameRe, paragraph['Conflicts']) is not None
+
+
+def updateConflicts(paragraph, oldPkgName):
+    newPkgName = paragraph['Package']
+    needsConflict = ((newPkgName.endswith("-dev")
+                      and not newPkgName.endswith("-all-dev"))
+                     or conflictsWithPrevious(paragraph))
+    if not needsConflict:
+        return
+    if 'Conflicts' in paragraph:
+        if paragraph['Conflicts'].find(oldPkgName) == -1:
+            paragraph['Conflicts'] += ', ' + oldPkgName
+    else:
+        paragraph['Conflicts'] = oldPkgName
+
+
+def processSourceParagraph(p):
+    updateVersionedValue(p, 'Source')
+
+
+def processPackageParagraph(p):
+    (oldPkgName, newPkgName) = updateVersionedValue(p, 'Package')
+    updateVersionedValue(p, 'Depends')
+    updateVersionedValue(p, 'Recommends')
+    updateVersionedValue(p, 'Suggests')
+    updateConflicts(p, oldPkgName)
+
+
+def printParagraph(p):
+    for key in p.keys():
+        print("%s: %s" % (key, p[key]))
+
+
+def processControl():
+    firstParagraph = True
+    for paragraph in Deb822.iter_paragraphs(open('control')):
+        if firstParagraph:
+            processSourceParagraph(paragraph)
+            printParagraph(paragraph)
+            firstParagraph = False
+        else:
+            processPackageParagraph(paragraph)
+            print
+            printParagraph(paragraph)
+
+
+if len(sys.argv) < 3:
+    print("Usage: cd debian/; %s <old version> <new version>"
+          " > control_new" % sys.argv[0])
+    exit(1)
+
+gOldVersion = DpdkVersion(sys.argv[1])
+gNewVersion = DpdkVersion(sys.argv[2])
+processControl()
+print
diff --git a/debian/update-helper-symbols.sh b/debian/update-helper-symbols.sh
new file mode 100755 (executable)
index 0000000..c6d0f08
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+if [ "$#" -lt 2 ]; then
+    echo "Need at least two arguments"
+    echo "Usage: $0 <newversion> <symbol-files>..."
+fi
+
+newv=${1}
+
+for symbolf in ${@:2}
+do
+    echo "modifying ${symbolf}"
+    perl -pi -e "s/\.so\.[0-9.]*/.so.${newv}.0/g" "${symbolf}"
+    perl -pi -e "s/[0-9.]* #MINVER#/${newv} #MINVER#/g" "${symbolf}"
+done
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..5de4f73
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+http://fast.dpdk.org/rel/dpdk-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))