Christian Ehrhardt [Thu, 29 Sep 2016 16:25:34 +0000 (18:25 +0200)]
add PMDs as recommend for dpdk runtime.
Once people pull in dpdk runtime they likely want to use it.
These days PMDs are usually not covered by depends (other libraries
are linked if used).
To avoid the issue of systems that would work if just those packages
would be installed recommend them.
It is no real "dependency" things can work, therefore no depends. But it
is as much recommends as recommendations can go.
This got a bit amplified by removing libdpdk-dev from the depends which
formerly pulled all in.
Change-Id: I03cc329412de9d37c4fd203d09c8e27812bc9e5b
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Thu, 29 Sep 2016 14:40:50 +0000 (16:40 +0200)]
add empty RTE_EAL_PMD_PATH dir to librte_eal
If EAL is initialized and the path isn't existing at all (=no PMDs at
all are installed) the initialization fails with:
EAL: /usr/lib/x86_64-linux-gnu/dpdk-pmds/: cannot open shared object
file: No such file or directory
So since we support RTE_EAL_PMD_PATH now but can never guarantee that
there always will be a PMD it becomes a requirement of librte_eal to
have at least an empty path.
An empty path is fine and will not load anything, but avoid the
initializaiton error.
Change-Id: I2725169c67c190f8ed8b608fc5ae508ae66eab1c
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Thu, 29 Sep 2016 08:01:39 +0000 (10:01 +0200)]
changelog: utilize RTE_EAL_PMD_PATH
changelog update split to ease branch maintenance
Change-Id: Ifa396a72b39504b74eb7c39852266dec0423f219
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Thu, 29 Sep 2016 11:09:43 +0000 (13:09 +0200)]
document pmd autoloading
Add a section to debian/dpdk-doc.README.Debian to document pmd
autoloading.
Change-Id: Idbdc5b8634f5030cc6c845e7320d063d32f54c9b
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Thu, 29 Sep 2016 07:57:13 +0000 (09:57 +0200)]
utilize RTE_EAL_PMD_PATH
This sets RTE_EAL_PMD_PATH to /usr/lib/$(shell dpkg-architecture
-qDEB_HOST_MULTIARCH)/dpdk-pmds.
On creating the pmd library packages those get a symlink from that dir.
This allows DPDK applications to autoload pmd drivers and only rely on
the EAL -d option for those provided in other places (e.g. custom
drivers).
By that one can use testpmd/l2fwd/openvswitch-dpdk and others without
passing -d <full-path-to-pmd.so> to EAL.
Each lib gets an extra relative symlink from the RTE_EAL_PMD_PATH dir to
the lib itself e.g. for librte_vhost:
./usr/lib/x86_64-linux-gnu/dpdk-pmds/
./usr/lib/x86_64-linux-gnu/dpdk-pmds/librte_vhost.so.3 -> ../librte_vhost.so.3
Change-Id: Idf997e58cfa5060961239b3ee0c22de89e0ed1a3
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Gowrishankar Muthukrishnan [Thu, 29 Sep 2016 11:15:59 +0000 (16:45 +0530)]
dpdk-dev: fix ip_pipeline to load PMD driver correctly
There is typo in init.c of ip_pipeline example due to which,
invalid file path is added to -d option of EAL i.e path starting
with =.
Change-Id: I8de64a916cb36d707942bdd984936a547b1d17ec
Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Christian Ehrhardt [Thu, 29 Sep 2016 07:17:23 +0000 (09:17 +0200)]
changelog: d/control add python-elftools and hwdata dependencies
changelog update split to ease branch maintenance
Change-Id: I2e4790824b7e061a4cd1a9f6d12e33f0c55084fc
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Thu, 29 Sep 2016 07:16:43 +0000 (09:16 +0200)]
changelog: Fix d/p/fix-vhost-user-socket-permission.patch for dpdk 16.07
changelog update split to ease branch maintenance
Change-Id: I979db91ed1a71089c465bee5517db15365778e43
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Thu, 29 Sep 2016 07:11:43 +0000 (09:11 +0200)]
add dependencies for dpdk-pmdinfo
The tool dpdk-pmdinfo depends on python-pyelftools and hwdata to
work. Without those the exits are very non-graceful so add those
dependencies.
So far dpdk-pmdinfo is not py3 compatible, so no py3 dependency.
dh-python won't fill ${python:Depends} for us as the dpdk build system
doesn't populate setup.py/requirements.txt.
Change-Id: I747d13d74ab9e8571aed39edd558ca82b17967f1
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Wed, 28 Sep 2016 12:29:52 +0000 (14:29 +0200)]
fix fix-vhost-user-socket-permission.patch for 16.07
Since preparation and actual creation of sockets was split to support
client/server sockets the call to fix up the sockets permissions has to
be moved until after the fd is created.
Otherwise the chmod/chown will fail with:
EAL: vhost-user socket cannot set permissions to 0666 (Unknown error -1).
EAL: vhost-user socket unable to set ownership to libvirt-qemu:kvm (Unknown
error -1).
Change-Id: Ia91eda2f5b217a5a9aa6c2f5ddf2c882048e42b8
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Santiago [Tue, 27 Sep 2016 15:39:03 +0000 (17:39 +0200)]
Add myself to Uploaders
Change-Id: Ib2f5546e0c769d2d9008abb432d571b7fdb9928e
Gbp-Dch: Ignore
Signed-off-by: Santiago <santiagorr@riseup.net>
Christian Ehrhardt [Tue, 27 Sep 2016 14:16:33 +0000 (16:16 +0200)]
Add myself as uploader
While not a DM/DD yet, it probably is right to help any sponsor later on
to recognize myself as one of the primary maintainers/uploaders.
Change-Id: I36f9a51efc7f7f54f92b7fe859159a87be9775bc
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Santiago [Fri, 23 Sep 2016 16:12:47 +0000 (18:12 +0200)]
debian/control: dpdk binary package Recommends [arm64] and Suggest dpdk dkms packages
Change-Id: I90d6cfded77c2d182b70053022a296c9e8f9dc3d
Signed-off-by: Santiago <santiagorr@riseup.net>
Santiago [Fri, 23 Sep 2016 09:49:07 +0000 (11:49 +0200)]
update debian/changelog
Change-Id: I68cd6a63d69da0263524e607d0c6fe20cbc6dc50
Gbp-Dch: Ignore
Signed-off-by: Santiago <santiagorr@riseup.net>
Santiago [Fri, 23 Sep 2016 08:31:21 +0000 (10:31 +0200)]
debian/control: Include spaces between packages descriptions
Change-Id: I14cc5444558066c6dcd7a8120e20294157a68c82
Gbp-Dch: Ignore
Signed-off-by: Santiago <santiagorr@riseup.net>
Santiago [Thu, 22 Sep 2016 16:10:16 +0000 (18:10 +0200)]
debian/control: libdpdk-dev, Remove another duplicated Homepage
Change-Id: Ifb801ddae137052a0f936025e21c619690ed520a
Gbp-Dch: Ignore
Signed-off-by: Santiago <santiagorr@riseup.net>
Gowrishankar Muthukrishnan [Wed, 21 Sep 2016 14:31:47 +0000 (20:01 +0530)]
debian: update changelog for enabling missing libraries in ppc64le
Change-Id: Ied365df4e8298ce90a09b778131b6bc2a43514e4
Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Gowrishankar Muthukrishnan [Wed, 21 Sep 2016 14:16:25 +0000 (19:46 +0530)]
debian: fix control file to enable virtio pmd for ppc64le
Change-Id: I65ff2c7e6c69b9c46e0bb6cbc83cd630742424c7
Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Gowrishankar Muthukrishnan [Wed, 21 Sep 2016 13:03:36 +0000 (18:33 +0530)]
debian: fix control file to enable additional libs for ppc64le
Change-Id: I57f021fd776f2943247e551db0e72e8802e8685d
Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Gowrishankar Muthukrishnan [Wed, 21 Sep 2016 11:32:03 +0000 (17:02 +0530)]
dpdk-dev: enable lpm, acl, sched, table, port and pipeline libs in ppc64le
This patchset enables lpm, acl, sched, table, port and pileline libs in ppc64le
and also address few patches in related examples (ip_pipeline and l3fwd).
Upstream patches pulled into deb_dpdk.
Change-Id: I73bf0a2a20da227476601b748448f16e2b471eaf
Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Luca Boccassi [Sun, 25 Sep 2016 18:23:18 +0000 (19:23 +0100)]
Add myself as uploader
Change-Id: Iedac669925b3f85e3a76c035d3c4a848bcfb7670
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Sun, 25 Sep 2016 11:05:46 +0000 (12:05 +0100)]
Close ITP 815760 in changelog
Change-Id: I1745d19c386dc8c8ccbfa17dac654709206d1c19
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Fri, 23 Sep 2016 14:09:54 +0000 (15:09 +0100)]
Have dpdk-modules-* conflicts with DKMS packages
They all build the same kernel modules so they should not be
installed together.
Change-Id: If9e1d0d428e829a56f77aaafcda0a5da0ed60e97
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Thu, 22 Sep 2016 16:41:01 +0000 (17:41 +0100)]
Update changelog for DPDK_CONFIG overrides
Change-Id: I02a4d8f457603e031e0ea631ed308dc88051c4fb
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Christian Ehrhardt [Thu, 22 Sep 2016 13:10:54 +0000 (13:10 +0000)]
Merge "debian/copyright: more fixes" into deb_dpdk_16.07
Santiago [Thu, 22 Sep 2016 08:36:40 +0000 (10:36 +0200)]
debian/copyright: more fixes
From the License field specification in the Policy: "If there are no
remaining lines, then all of the short names or short names followed by
license exceptions making up the first line must be described in
stand-alone License paragraphs. Otherwise, this field should either
include the full text of the license(s) or include a pointer to the
license file under /usr/share/common-licenses..."
As discussed on IRC, icedove (thunderbird) for example uses a similar
debian/copyright file:
http://sources.debian.net/src/icedove/1:45.2.0-4/debian/copyright/?hl=3742#L3742
This patch solves a lintian warning about missing Licenses paragraphs.
Change-Id: I605e141983e3ac8a4193d196bf6967b6846cc711
Gbp-Dch: Ignore
Signed-off-by: Santiago <santiagorr@riseup.net>
Luca Boccassi [Thu, 22 Sep 2016 10:18:24 +0000 (11:18 +0100)]
Switch default branch to deb_dpdk_16.07
Change-Id: I30c9f072f611acda7d0762ca62b77ada30b14dcc
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Wed, 21 Sep 2016 15:10:02 +0000 (16:10 +0100)]
Allow DPDK_CONFIG, RTE_MACHINE, RTE_TARGET overrides
Parse DEB_BUILD_OPTIONS and let users override the defaults.
If DPDK_CONFIG is overridden, allow users to store it in the debian/
directory, to avoid modifying the upstream tree, and also avoid
modifying it during dh_auto_configure.
Change-Id: I6b4f449a36ab079fab271b5930b020fbafc24905
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Wed, 21 Sep 2016 15:07:57 +0000 (16:07 +0100)]
Use ?= to allow env var overrides in d/rules
In order to allow users to call debian/rules manually and overriding
the default values of DPDK_CONFIG, RTE_MACHINE and RTE_TARGET assign
the defaults with ?= instead of :=
Change-Id: I5b4b63e62572705b37ff37d610df6305546c62f5
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 20 Sep 2016 21:24:45 +0000 (22:24 +0100)]
Update changelog for d/watch fix
Change-Id: If6d2777a100073d5788305101324d3531639374d
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 20 Sep 2016 21:21:58 +0000 (22:21 +0100)]
Fix d/watch file to point to fast.dpdk.org/rel
uscan does not work with the current URL:
$ uscan --report-status
uscan warning: In debian/watch,
no matching hrefs for watch line
http://www.dpdk.org/download /browse/dpdk/snapshot/
dpdk-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
Switch to fast.dpdk.org.rel to fix it.
Change-Id: Id375c375ef7254c8e2c023b290c8ce85e8171ce7
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 20 Sep 2016 16:16:26 +0000 (17:16 +0100)]
Fix README build-dep bash snippet
Change-Id: I8efb4f41d53324c10cc902c6927a7f463f614fea
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Christian Ehrhardt [Mon, 19 Sep 2016 12:36:25 +0000 (14:36 +0200)]
changelog: mention dkms related fixes
As usual separate from the functional commit to ease cherry picking.
Change-Id: I2bb5adfefde0078b5b2734c763a03d25d4b7e819
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Mon, 19 Sep 2016 12:27:37 +0000 (14:27 +0200)]
fix dkms of rte_kni for kernel >=4.8
Linux kernel v4.8 removes macro DEFINE_PCI_DEVICE_TABLE
Linux:
7e9321599011 ("treewide: remove references to the now unnecessary
DEFINE_PCI_DEVICE_TABLE")
Replaced macro with its value in kni ethtool drivers.
Backport of upstream http://dpdk.org/dev/patchwork/patch/15717/
Change-Id: I7d6cef8e1087c7f71d5a8783c282bf64ab0278a4
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Mon, 19 Sep 2016 12:06:45 +0000 (14:06 +0200)]
retain dkms build as adt artifacts
In case the test is failing this allows to debug the case as the adt
artifacts will include the dkms build logs.
Change-Id: I26a68199428b28332adea2a83da23a647f7756da
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 16 Sep 2016 09:43:32 +0000 (11:43 +0200)]
changelog: mention the contributions of santiago
Mention the contributions of santiago to copyright and d/control.
Change-Id: I1e07c1a5aed147605fd5058cb60ffbe503a4b615
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 16 Sep 2016 09:43:07 +0000 (11:43 +0200)]
changelog: man page generation
Add the matching changlog entry for man page creation.
Change-Id: I40cac61f858dba69901146a44ea0262cf546dc31
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 16 Sep 2016 09:35:10 +0000 (11:35 +0200)]
remove duplicate homepage and lib entries
d/control fix by from santiagorr@riseup.net
Since already listed at the source there is no need to relist the home
page on further packages.
The section of the source defines the sections for binaries built, so
since source is libs there is no need to list libs again.
Change-Id: I41703607c265f06966d4c589cce42d8ffeee63e9
Signed-off-by: Santiago RR <santiagorr@riseup.net>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 16 Sep 2016 09:29:46 +0000 (11:29 +0200)]
debian/copyright: fix some wrong file entries
Copyright fixes from santiagorr@riseup.net
Change-Id: I00c8ae6933aa63df30f0d7a2efe42be57b49e622
Signed-off-by: Santiago RR <santiagorr@riseup.net>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 16 Sep 2016 09:28:15 +0000 (11:28 +0200)]
debian/changelog: fix minor typos
Typo fix from santiagorr@riseup.net
Change-Id: I7cbf360639b25e25975d8745d7282de8e154ce08
Signed-off-by: Santiago RR <santiagorr@riseup.net>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 16 Sep 2016 09:22:58 +0000 (11:22 +0200)]
d/rules build man pages
Call the build of manpages in d/rules arch indep build to be available for
later install-runtime (which is arch dep, but uses the same directories).
Change-Id: I9035d09a9d44c6fbc049f20a20db8bbb51c6478a
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 16 Sep 2016 09:16:11 +0000 (11:16 +0200)]
add man pages for installed binaries
Backport of the expected to be accepted patches to add man page
generation for installed binaries.
http://dpdk.org/ml/archives/dev/2016-August/045079.html
Change-Id: I53046cc707ef312f7b036ad3cb4ef7265bf5276a
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Luca Boccassi [Wed, 14 Sep 2016 18:37:26 +0000 (19:37 +0100)]
Update debian/copyright with changes from santiagorr
Update copyright years, and more accurately reflect the license of
each file.
Thanks Santiago <santiagorr@riseup.net> for the patch (slightly
modified)!
Change-Id: I14278731348535a983f71d8f54d3d55303370655
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 13 Sep 2016 19:04:14 +0000 (20:04 +0100)]
Build with RTE_DEVEL_BUILD=n to remove rpath
Pass RTE_DEVEL_BUILD=n to make calls to avoid building the test
pmds with rpath set to the current path, which is wrong for binaries
shipped by distributions.
Fixes Lintian Error:
E: dpdk: binary-or-shlib-defines-rpath usr/bin/dpdk-pdump
/home/lboccass/git/dpdk_deb/debian/build/shared-root/lib
Change-Id: I45e6a72beed1769fe35277ec5a2bcf50788254bd
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Christian Ehrhardt [Mon, 12 Sep 2016 09:56:42 +0000 (11:56 +0200)]
changelog: ppc64el enablement
Update the changelog about the ppc64el enablement
Change-Id: I6b9623f9f907e3f8905d8830d9e4417f279a95c5
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Mon, 12 Sep 2016 10:27:45 +0000 (12:27 +0200)]
runtime: add 16M hugepages to config and init
ppc64el has 16M huge pages so they are added to the config and init
scripts.
Along that it became obvious that the comment in the conf should be
tweaked at least a bit to be more readable.
Change-Id: Ic97f20f17203b0a423439f7a6323879e25c47886
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 2 Sep 2016 07:41:31 +0000 (09:41 +0200)]
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)
Change-Id: I926546c4ff666d00fa9565afad72cd77e3af99e3
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 2 Sep 2016 08:07:53 +0000 (10:07 +0200)]
d/tests: extend test-initscripts for 16M huge pages
Since we already had the code from 1G pages to not fail if not supported
this was just adding about the same.
But for a 16M supporting environment we expect is to be able to get
2x16M hugepages, so as with 2M pages we test for mountpoints and the
actual alloc to be correct.
Change-Id: I0b4e106f11eaebfe068dbb20130add5840e98368
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Mon, 12 Sep 2016 10:22:47 +0000 (12:22 +0200)]
d/tests: make tests compatible with ppc64el
Tests are now functional on ppc64el as well, enable them in the guarding
script and d/t/control.
Change-Id: I0b92ccee43cab66fdb5bbb05b79902344a899746
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 2 Sep 2016 07:45:53 +0000 (09:45 +0200)]
symbols: stop x86 only symbol to be required on ppc64el
As with arm there is no rte_rtm_supported on ppc64el, so adding an arch
qualifier in the symbols file.
Change-Id: Icbc457f3d9378120524bc817f3f3e650cd54cf85
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Mon, 12 Sep 2016 09:53:51 +0000 (11:53 +0200)]
build: enable powerpc
Enable ppc64el to build supported packages on that architecture as well.
xen dependencies are not available on ppc64el, so disable xen pmd in
that case.
powerpc currently has several libraries and pmds disabled in its default
dpdk config. That defines the range of expected-to-work packages.
Follow that and remove ppc64el architecture on those libs and pmds as packages.
Change-Id: I7f18962ad9e021c42e80739ddd569db4ecfe65dc
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Change-Id: Ic0bb0741f4027dd4ed371e3228aa770fb3b698f9
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Luca Boccassi [Tue, 6 Sep 2016 10:50:57 +0000 (11:50 +0100)]
Restore d/control via sed rather than control.orig
When the binary kernel module build is enabled, a new package is
autogenerated. This requires adding it to the debian/control file,
and then cleaning it up.
Doing this via a backup debian/control.orig file that is gitignored
is error prone and can lead to changes being inadvertently and
silently overwritten.
Use a sed expression to remove the exact autogenerated snippet
instead to avoid this issue.
Change-Id: If04c25d2b267f654475567b78a36fd1de8318d76
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 6 Sep 2016 10:50:28 +0000 (11:50 +0100)]
Pass RTE_KERNELDIR to static build too
Otherwise the DPDK build errors out when the other environment
variables are set.
Change-Id: Iaa63a8e747be4daae5d23fa986e184a63eed827f
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Wed, 31 Aug 2016 11:02:17 +0000 (12:02 +0100)]
Fix rte-compile-pre-cppflags.patch header
Add missing forwarded, origin, author, last-update fields to patch
header.
Change-Id: I6c422286232a2a1171e40429a478898ac4b3c6f0
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Wed, 31 Aug 2016 10:58:33 +0000 (11:58 +0100)]
Add missing entries in debian/changelog
- Note about README.source instructions
- Note about setting compiler flags in debian/rules
- Note about rte-compile-pre-cppflags.patch backport
Change-Id: I5f931b28a73f844147b032b36dce1d54701b333e
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 30 Aug 2016 17:40:12 +0000 (18:40 +0100)]
Document how to build in debian/README.source
Change-Id: If56b884bc682988665a21c534f7637e3497cf006
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 30 Aug 2016 17:33:37 +0000 (18:33 +0100)]
Set EXTRA/HOST CPP/LD/CFLAGS in debian/rules
Part of fix for:
W: dpdk-dev: hardening-no-relro usr/share/dpdk/x86_64-default-linuxapp-gcc/app/dpdk-pmdinfogen
Change-Id: I27805d114619944d2cb0df2d35ddbf3d157aea18
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 30 Aug 2016 17:33:10 +0000 (18:33 +0100)]
Import patch to set *CPPFLAGS in upstream's mkfile
Part of fix for:
W: dpdk-dev: hardening-no-relro usr/share/dpdk/x86_64-default-linuxapp-gcc/app/dpdk-pmdinfogen
Change-Id: I16b05ddb5ca59dc57be462bf756cb25fb5baaf95
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Christian Ehrhardt [Tue, 30 Aug 2016 12:12:21 +0000 (12:12 +0000)]
Merge "Change debian version to 16.07-0~git1" into deb_dpdk_16.07
Luca Boccassi [Tue, 30 Aug 2016 11:45:21 +0000 (12:45 +0100)]
Change debian version to 16.07-0~git1
Fixes Lintian error, as the Debian version cannot end in 0.
Change-Id: I59983cba3879b667142f894385f830d8e1cd3146
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Christian Ehrhardt [Tue, 30 Aug 2016 06:43:06 +0000 (08:43 +0200)]
changelog: fix d/t/test-initscripts
Mention the dep8 changes in the changelog as well.
Change-Id: I5963a127b1aafea8653884df4139864e5cc48325
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Luca Boccassi [Sat, 13 Aug 2016 11:58:30 +0000 (12:58 +0100)]
Add optional binary kernel modules package
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.
Useful for downstream projects that ship a complete ISO, where it is
not desirable to include a whole building environment for DKMS
packages.
Change-Id: I7e0ab239eaf08da71f9d58d60e32abf7cd42bec4
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Christian Ehrhardt [Fri, 12 Aug 2016 10:49:25 +0000 (12:49 +0200)]
d/t/test-initscripts fix false positive in adt
Due to recent upgrades some commands of the reset function can fail
if the service wasn't loaded before.
But in that case no reset has to be done, so make it non fatal by adding
a ||/bin/true
Change-Id: I1da6bf315eefc9a4348c8dbae09d534a8fab9355
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Thu, 11 Aug 2016 08:17:24 +0000 (10:17 +0200)]
d/changelog: mark version as 16.07-0 until released
This gives derivatives like Ubuntu the chance to branch of and publish
the interim state now as 16.07-0* but pickup 16.07-1 once we released it
into Debian.
Change-Id: I1ddcb3d7c74e9438dc243a6508c2aa51a7948188
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Wed, 3 Aug 2016 14:11:06 +0000 (16:11 +0200)]
scripts: make load-devel-config not to appear as executable
Quoting the first line of the script: "#! /bin/echo must be loaded with ."
Given that we should drop the .sh file ending as well as the executable
flag - both are not needed to source the file.
Backport of http://dpdk.org/dev/patchwork/patch/15100/
Already got an ack to be commited, but no git commit id yet.
Change-Id: Iadad8b2454feb82361731fce19928b395b256fa2
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Wed, 3 Aug 2016 14:05:16 +0000 (16:05 +0200)]
doc: fix old dpdk-nic-bind.py references
Backport of upstream fix http://dpdk.org/dev/patchwork/patch/15057/
Change-Id: Ia96157a7415da4c2817ef0b8d2b72ea6e2f86c79
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Wed, 3 Aug 2016 13:56:11 +0000 (15:56 +0200)]
Add lintian-overrides for: E: dpdk-dev: arch-dependent-file-in-usr-share
As discussed, these binaries are part of the sdk and meant to be shipped with
the sdk. They are installed into dpdk-dev by the official
"make install-sdk" rule. Since dpdk-dev is arch dependent it should be
safe to ignore the warning.
Change-Id: I540f043ff056392c3bf6a4c31ed2bcc91bfc4e05
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Luca Boccassi [Tue, 2 Aug 2016 15:27:54 +0000 (16:27 +0100)]
Override lintian W: embedded-javascript-library
As discussed upstream ships a human-readable version of some
javascript libraries in the documentation that are known to work.
It is not deemed worthwhile to try and maintain out of tree patches
to make the documentation work with the version of those libraries
shipped by each distribution.
Change-Id: Ib56955f842bac72e7a580a168ae8bd3c375a28e9
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Ricardo Salveti [Tue, 2 Aug 2016 14:48:17 +0000 (11:48 -0300)]
changelog: fix debian-changelog-line-too-long lintian warning
Change-Id: I37a6eaf8be830ed0e233cb7324558448cbc09687
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Luca Boccassi [Tue, 2 Aug 2016 11:17:13 +0000 (12:17 +0100)]
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
Change-Id: I12424e445ba539f0767006db22beff07adad9f71
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 2 Aug 2016 10:50:20 +0000 (11:50 +0100)]
Fix typo in dpdk-doc.README.Debian
Change-Id: I6776a67f94866057d02039fc659866e030119fea
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 2 Aug 2016 10:36:37 +0000 (11:36 +0100)]
Add python to dpdk-doc Recommends to fix Lintian W
Change-Id: I05685943c9d4d956bdf51e0c3089b5b866583dbb
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 2 Aug 2016 09:21:39 +0000 (10:21 +0100)]
Convert debian/rules to new style DH targets
Simplify debian/rules targets by using overrides on debhelper targets
Change-Id: Id018eae33b5f93acf54b3f24e0f4733683371ad5
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 2 Aug 2016 09:20:53 +0000 (10:20 +0100)]
Install api and guides in dpdk-doc
The api and guides docs are built in the static build dir but
installed from the shared dir, which is empty. Use the static dir
in both the build and install targets.
Change-Id: Ibd532d8cfce770b8109e04a88b51307dae2a7fde
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 2 Aug 2016 09:19:35 +0000 (10:19 +0100)]
Add ${shlib:Depends} to dpdk-dev dependencies
Needed for libc6 dependenc
Change-Id: I5f8171c2f8a9b2f4d219fd8d65ecdaa85274d73f
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Christian Ehrhardt [Tue, 2 Aug 2016 06:53:10 +0000 (08:53 +0200)]
Changelog: mention socket permission patch renaming
Change-Id: Ie9b39a3b93ec4cc685f701b2e0a4ee0f24bbaf65
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Tue, 2 Aug 2016 06:51:39 +0000 (08:51 +0200)]
Update changelog regarding lintian fixes
Change-Id: I700e9637facae2cc7faebf59148aba298461061e
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Tue, 2 Aug 2016 06:50:33 +0000 (08:50 +0200)]
Drop ubuntu prefix from patches
Since we are now packaging together in a generic .deb way I removed the
ubuntu file prefix in d/p/*.
Change-Id: Iae64f76129b0814148703ba402670c14cebdaa95
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Tue, 2 Aug 2016 06:47:52 +0000 (08:47 +0200)]
evolve "fix unusual interpreters" along the upstream discussion
In a Discussion with Luca and Upstream DPDK it became clear that
"/usr/bin/env python" is preferred for Lintian as well as in general.
So change the #! to that.
Change-Id: I09cd0d01ef2a086a77c9dacb530f2d06f0db163a
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Luca Boccassi [Mon, 1 Aug 2016 15:21:47 +0000 (16:21 +0100)]
Add d/source/options to ignore .gitreview
dpkg-buildpackage and debuild source builds fail due to the
.gitreview file in the root directory, which is not present in the
upstream tarball, and thus causes a build failure due to the
unexpected diff.
Add a source/options file to extend the default file ignore list to
fix the problem.
Change-Id: I43336493670c68b3d3ab1c65ad432f95dbe3462b
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Christian Ehrhardt [Mon, 1 Aug 2016 12:33:13 +0000 (14:33 +0200)]
examples: fix unusual-interpreter
Due to regular lintian checks in Debian packaging it surfaced that these
two scripts had a space in their #! statement which renders it to be
human, but not shell readable.
Fixes:
8673a3e8 ("examples/ip_pipeline: add config diagram generator")
Fixes:
fa667b46 ("examples/ip_pipeline: add core mappings script")
This gets rid of lintian warning "W: dpdk-doc: unusual-interpreter"
Change-Id: Ic5fd88467814ed77e0e3e0bb3747b7fa555b5d3a
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Mon, 1 Aug 2016 12:34:06 +0000 (14:34 +0200)]
ethtool: remove triple license information
License information is already in LICENSE.GPL.
Remove two extra copies and change referred filename in the files.
This gets rid of lintian warning "W: dpdk-rte-kni-dkms:
extra-license-file"
Change-Id: I28e03be99c009e2248c884c355f043f0fe807204
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Luca Boccassi [Mon, 1 Aug 2016 11:54:20 +0000 (12:54 +0100)]
Add debian/.gitignore for debuild output files
Change-Id: I6c5292ef92023c61a7aa2c243a2f1e37aa4fd56b
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Anders Roxell [Fri, 29 Jul 2016 14:10:13 +0000 (16:10 +0200)]
debian/control: add pciutils to the dpdk depends list
lspci is used by the dpdk-devbind script.
Change-Id: I9339e3225a04a7bc374194fc9963e1393c8c37d7
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Christian Ehrhardt [Fri, 29 Jul 2016 06:52:32 +0000 (08:52 +0200)]
Updating packaging with the 16.07 release
Change-Id: I2de8861ed7ce61819e12620b5faff67094cb2710
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 29 Jul 2016 06:45:28 +0000 (08:45 +0200)]
Imported Upstream version 16.07
Change-Id: I8bf3b1fc950b92eb78860f8bc8dd675e06e85e48
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Christian Ehrhardt [Fri, 29 Jul 2016 06:45:28 +0000 (08:45 +0200)]
Imported Upstream version 16.07
Change-Id: I73f4ef6ae63fc904ba82b09d5510a8712e72dad1
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Luca Boccassi [Tue, 26 Jul 2016 12:06:58 +0000 (13:06 +0100)]
Document use of dquilt in debian/README.source
Add link to Debian's wiki and short snippets with setup instrunctions
Change-Id: I306723034c7f215f5244e9b3eacfaaa5c2aa4388
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Luca Boccassi [Tue, 26 Jul 2016 11:11:38 +0000 (12:11 +0100)]
Generate pkgconfig and ship it in libdpkg-dev
The content of the libdpdk.so linker script is read at build time and
the libraries included are used to generate the LIBS flags. Also the
version is read from the changelog.
Change-Id: I52a6dd01706713feb91004d138dbeac7e870aca5
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Ricardo Salveti [Tue, 26 Jul 2016 17:30:48 +0000 (14:30 -0300)]
Updating packaging with the 16.07-rc5 release
Change-Id: I8a7ec754c9aa3268afffd8567c1c31066a3c7217
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Ricardo Salveti [Tue, 26 Jul 2016 17:11:48 +0000 (14:11 -0300)]
Imported Upstream version 16.07-rc5
Change-Id: I1780a4c3b475eaf7e08e8ea67fba3a5257daa39c
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Ricardo Salveti [Tue, 26 Jul 2016 17:11:48 +0000 (14:11 -0300)]
Imported Upstream version 16.07-rc5
Change-Id: I3f93dd2982ddb9c0209bc44466d05a2320175938
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Ricardo Salveti [Mon, 25 Jul 2016 16:27:13 +0000 (13:27 -0300)]
Updating packaging with the 16.07-rc4 release
Changes:
- Tools renamed, dpdk_nic_bind is now dpdk-devbind
- Adapt d/p/ubuntu-fix-vhost-user-socket-permission.patch to 16.07-rc4
Change-Id: I7b476d3d063db3b321ba6e79289ea99e337f0da0
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Ricardo Salveti [Mon, 25 Jul 2016 16:22:22 +0000 (13:22 -0300)]
Imported Upstream version 16.07-rc4
Change-Id: Ic57f6a3726f2dbd1682223648d91310f45705327
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Ricardo Salveti [Mon, 25 Jul 2016 16:22:22 +0000 (13:22 -0300)]
Imported Upstream version 16.07-rc4
Change-Id: Ic57f6a3726f2dbd1682223648d91310f45705327
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Anders Roxell [Fri, 22 Jul 2016 20:13:39 +0000 (22:13 +0200)]
debian/control: add libpcap-dev to libdpdk-dev's Depends list
Projects linking against librte-pmd-pcap1 can fail unless libpcap-dev
is also installed.
Change-Id: If17edbd5d62d15e27c4c2ebc7d3f1b5ce42c7a25
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Christian Ehrhardt [Tue, 19 Jul 2016 12:42:37 +0000 (14:42 +0200)]
put a note in empty symbols files
We wondered that some symbols files were empty.
The TL;DR is that those are essentially driers (not libs) that registers
themselve on load and are then only driven by callbacks.
To avoid confising others next time looking at it we added a comment to
these symbols files.
Change-Id: I5e8e575d95622ff74875c22ee7c4a98b65a25912
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Ricardo Salveti [Tue, 19 Jul 2016 12:12:10 +0000 (09:12 -0300)]
Merging symbols files, handling the arch differences inline instead
Change-Id: Ifd6830ba96d553ac078d2900a0dd60b820ba8032
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Ricardo Salveti [Tue, 19 Jul 2016 01:35:50 +0000 (22:35 -0300)]
Adding package librte-pmd-bnxt1
Change-Id: I20f98d244069d4ddadb753fbffa987a114d1e045
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Ricardo Salveti [Tue, 19 Jul 2016 00:23:02 +0000 (21:23 -0300)]
Renaming package librte-pmd-e10001 to librte-pmd-e1000-1
Needed to avoid mixing package name with soversion
(lintian package-name-doesnt-match-sonames).
Change-Id: Ic00208cf8b0568d027306d487abae827b03dbabd
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>