summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-09-14Build with RTE_DEVEL_BUILD=n to remove rpathLuca Boccassi4-0/+44
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>
2016-09-12changelog: ppc64el enablementChristian Ehrhardt1-0/+7
Update the changelog about the ppc64el enablement Change-Id: I6b9623f9f907e3f8905d8830d9e4417f279a95c5 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-09-12runtime: add 16M hugepages to config and initChristian Ehrhardt2-2/+12
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>
2016-09-12config: fix power8 default confChristian Ehrhardt2-0/+22
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>
2016-09-12d/tests: extend test-initscripts for 16M huge pagesChristian Ehrhardt1-3/+9
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>
2016-09-12d/tests: make tests compatible with ppc64elChristian Ehrhardt2-5/+5
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>
2016-09-12symbols: stop x86 only symbol to be required on ppc64elChristian Ehrhardt1-1/+1
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>
2016-09-12build: enable powerpcChristian Ehrhardt2-50/+60
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>
2016-09-06Restore d/control via sed rather than control.origLuca Boccassi4-5/+3
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>
2016-09-06Pass RTE_KERNELDIR to static build tooLuca Boccassi1-1/+1
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>
2016-08-31Fix rte-compile-pre-cppflags.patch headerLuca Boccassi1-0/+5
Add missing forwarded, origin, author, last-update fields to patch header. Change-Id: I6c422286232a2a1171e40429a478898ac4b3c6f0 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-31Add missing entries in debian/changelogLuca Boccassi1-0/+9
- 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>
2016-08-30Document how to build in debian/README.sourceLuca Boccassi1-0/+14
Change-Id: If56b884bc682988665a21c534f7637e3497cf006 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-30Set EXTRA/HOST CPP/LD/CFLAGS in debian/rulesLuca Boccassi1-0/+5
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>
2016-08-30Import patch to set *CPPFLAGS in upstream's mkfileLuca Boccassi2-0/+44
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>
2016-08-30Merge "Change debian version to 16.07-0~git1" into deb_dpdk_16.07Christian Ehrhardt1-1/+1
2016-08-30Change debian version to 16.07-0~git1Luca Boccassi1-1/+1
Fixes Lintian error, as the Debian version cannot end in 0. Change-Id: I59983cba3879b667142f894385f830d8e1cd3146 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-30changelog: fix d/t/test-initscriptsChristian Ehrhardt1-0/+1
Mention the dep8 changes in the changelog as well. Change-Id: I5963a127b1aafea8653884df4139864e5cc48325 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-15Add optional binary kernel modules packageLuca Boccassi7-4/+277
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>
2016-08-12d/t/test-initscripts fix false positive in adtChristian Ehrhardt1-2/+2
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>
2016-08-11d/changelog: mark version as 16.07-0 until releasedChristian Ehrhardt1-1/+1
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>
2016-08-03scripts: make load-devel-config not to appear as executableChristian Ehrhardt3-0/+90
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>
2016-08-03doc: fix old dpdk-nic-bind.py referencesChristian Ehrhardt3-0/+129
Backport of upstream fix http://dpdk.org/dev/patchwork/patch/15057/ Change-Id: Ia96157a7415da4c2817ef0b8d2b72ea6e2f86c79 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-03Add lintian-overrides for: E: dpdk-dev: arch-dependent-file-in-usr-shareChristian Ehrhardt2-0/+5
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>
2016-08-02Override lintian W: embedded-javascript-libraryLuca Boccassi2-0/+2
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>
2016-08-02changelog: fix debian-changelog-line-too-long lintian warningRicardo Salveti1-4/+5
Change-Id: I37a6eaf8be830ed0e233cb7324558448cbc09687 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-08-02Fix upstream rc versions by using "~" instead of "-"Luca Boccassi11-218/+223
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>
2016-08-02Fix typo in dpdk-doc.README.DebianLuca Boccassi2-1/+3
Change-Id: I6776a67f94866057d02039fc659866e030119fea Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02Add python to dpdk-doc Recommends to fix Lintian WLuca Boccassi2-1/+4
Change-Id: I05685943c9d4d956bdf51e0c3089b5b866583dbb Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02Convert debian/rules to new style DH targetsLuca Boccassi2-63/+29
Simplify debian/rules targets by using overrides on debhelper targets Change-Id: Id018eae33b5f93acf54b3f24e0f4733683371ad5 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02Install api and guides in dpdk-docLuca Boccassi2-1/+2
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>
2016-08-02Add ${shlib:Depends} to dpdk-dev dependenciesLuca Boccassi2-1/+4
Needed for libc6 dependenc Change-Id: I5f8171c2f8a9b2f4d219fd8d65ecdaa85274d73f Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02Changelog: mention socket permission patch renamingChristian Ehrhardt1-0/+2
Change-Id: Ie9b39a3b93ec4cc685f701b2e0a4ee0f24bbaf65 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-02Update changelog regarding lintian fixesChristian Ehrhardt1-0/+5
Change-Id: I700e9637facae2cc7faebf59148aba298461061e Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-02Drop ubuntu prefix from patchesChristian Ehrhardt4-3/+3
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>
2016-08-02evolve "fix unusual interpreters" along the upstream discussionChristian Ehrhardt1-4/+8
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>
2016-08-01Add d/source/options to ignore .gitreviewLuca Boccassi1-0/+1
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>
2016-08-01examples: fix unusual-interpreterChristian Ehrhardt2-0/+32
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>
2016-08-01ethtool: remove triple license informationChristian Ehrhardt2-0/+1325
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>
2016-08-01Add debian/.gitignore for debuild output filesLuca Boccassi1-0/+58
Change-Id: I6c5292ef92023c61a7aa2c243a2f1e37aa4fd56b Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-07-29debian/control: add pciutils to the dpdk depends listAnders Roxell2-0/+6
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>
2016-07-29Updating packaging with the 16.07 releaseChristian Ehrhardt1-0/+6
Change-Id: I2de8861ed7ce61819e12620b5faff67094cb2710 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-29Imported Upstream version 16.07Christian Ehrhardt12-39/+231
Change-Id: I73f4ef6ae63fc904ba82b09d5510a8712e72dad1 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-26Document use of dquilt in debian/README.sourceLuca Boccassi2-0/+29
Add link to Debian's wiki and short snippets with setup instrunctions Change-Id: I306723034c7f215f5244e9b3eacfaaa5c2aa4388 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-07-26Generate pkgconfig and ship it in libdpkg-devLuca Boccassi3-0/+20
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>
2016-07-26Updating packaging with the 16.07-rc5 releaseRicardo Salveti1-0/+6
Change-Id: I8a7ec754c9aa3268afffd8567c1c31066a3c7217 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-26Imported Upstream version 16.07-rc5Ricardo Salveti11-16/+35
Change-Id: I1780a4c3b475eaf7e08e8ea67fba3a5257daa39c Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-25Updating packaging with the 16.07-rc4 releaseRicardo Salveti4-72/+96
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>
2016-07-25Imported Upstream version 16.07-rc4Ricardo Salveti98-355/+4114
Change-Id: Ic57f6a3726f2dbd1682223648d91310f45705327 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-25debian/control: add libpcap-dev to libdpdk-dev's Depends listAnders Roxell2-0/+4
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>