Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add missing forwarded, origin, author, last-update fields to patch
header.
Change-Id: I6c422286232a2a1171e40429a478898ac4b3c6f0
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
- 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>
|
|
Change-Id: If56b884bc682988665a21c534f7637e3497cf006
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
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>
|
|
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>
|
|
|
|
Fixes Lintian error, as the Debian version cannot end in 0.
Change-Id: I59983cba3879b667142f894385f830d8e1cd3146
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Mention the dep8 changes in the changelog as well.
Change-Id: I5963a127b1aafea8653884df4139864e5cc48325
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Backport of upstream fix http://dpdk.org/dev/patchwork/patch/15057/
Change-Id: Ia96157a7415da4c2817ef0b8d2b72ea6e2f86c79
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
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>
|
|
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>
|
|
Change-Id: I37a6eaf8be830ed0e233cb7324558448cbc09687
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
|
|
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>
|
|
Change-Id: I6776a67f94866057d02039fc659866e030119fea
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I05685943c9d4d956bdf51e0c3089b5b866583dbb
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Simplify debian/rules targets by using overrides on debhelper targets
Change-Id: Id018eae33b5f93acf54b3f24e0f4733683371ad5
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
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>
|
|
Needed for libc6 dependenc
Change-Id: I5f8171c2f8a9b2f4d219fd8d65ecdaa85274d73f
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Ie9b39a3b93ec4cc685f701b2e0a4ee0f24bbaf65
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
Change-Id: I700e9637facae2cc7faebf59148aba298461061e
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I6c5292ef92023c61a7aa2c243a2f1e37aa4fd56b
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
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>
|
|
Change-Id: I2de8861ed7ce61819e12620b5faff67094cb2710
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
Change-Id: I73f4ef6ae63fc904ba82b09d5510a8712e72dad1
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
Add link to Debian's wiki and short snippets with setup instrunctions
Change-Id: I306723034c7f215f5244e9b3eacfaaa5c2aa4388
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
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>
|
|
Change-Id: I8a7ec754c9aa3268afffd8567c1c31066a3c7217
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
|
|
Change-Id: I1780a4c3b475eaf7e08e8ea67fba3a5257daa39c
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
|
|
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>
|
|
Change-Id: Ic57f6a3726f2dbd1682223648d91310f45705327
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
|
|
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>
|
|
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>
|
|
Change-Id: Ifd6830ba96d553ac078d2900a0dd60b820ba8032
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
|
|
Change-Id: I20f98d244069d4ddadb753fbffa987a114d1e045
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
|
|
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>
|