aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-05Drop/Refresh patches due to moving to 16.07.2Christian Ehrhardt13-371/+22
* Adapt patches for the upgrade to 16.07.2 - 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 Change-Id: I78a1ea0ed14444b118c0d7ca96f7ec6476d6f2c7 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-12-05Imported Upstream version 16.07.2Christian Ehrhardt114-1249/+1746
Change-Id: I76bc313e0942233ce259612069ded302dd6c87bb Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-11-11Update changelog for Multi-Arch: foreign in dpdk-docLuca Boccassi1-0/+1
Change-Id: I69fcfe6e7958986361759808d92e10b9b32232d4 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-11-11Mark dpdk-doc as Multi-Arch: foreignLuca Boccassi1-0/+1
As suggested by multiarch hinter, this package is architecture: all and it does not depend on arch-specific packages, so it can be marked multiarch-foreign. This way it can satisfy a dependency on any architecture. Change-Id: I3ccd2c749a8a2098d4a61baf4900359b183e9e13 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-11-11Update changelog for kernel 4.9 build failures patchLuca Boccassi1-0/+2
Change-Id: Ie332e03f9b56cc8b96b7defa7bf41ebdd19d3490 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-11-11Backport patch to fix kernel modules builds on 4.9Luca Boccassi2-0/+90
Change-Id: I82ea4413b45bc59ea5550118a9dbf5a30fb25b80 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-11-10Add changelog entry for -fno-PIE kernel module build fixLuca Boccassi1-0/+2
Change-Id: I9e978f7aa7f0820049414180963aa31827a66bb6 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-11-10Use -fno-PIE when building kernel modulesLuca Boccassi3-2/+3
In Debian 9 -fPIE is now default, which causes build failures when building kernel modules. Pass -fno-PIE to fix it. Change-Id: Ib9187ef6ed72bd25b92fb9f449a9435fcc5cc6cf Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-11-10Update changelog and close bug for DKMS kernel versionLuca Boccassi1-0/+4
Change-Id: Id79117da74ffd4b7b99d9de788e6561d2b811114 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-11-10DKMS: build against the requested kernelLuca Boccassi2-2/+2
Currently DKMS builds the modules against the running kernel. Pass RTE_KERNELDIR to the make call, using the DKMS-provided ${kernelver} variable. Change-Id: I33b1d06b6f862fa9dd58a2a96898621ed547e3ba Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-11-10Merge "update debian/changelog about closing 843685" into deb_dpdk_16.07Christian Ehrhardt1-0/+5
2016-11-10Merge "debian/changelog: move post-first-debian-release changes to a new ↵Christian Ehrhardt1-21/+32
changelog stanza" into deb_dpdk_16.07
2016-11-09update debian/changelog about closing 843685Santiago1-0/+5
Change-Id: I9a2fe279f01b3e9a065f9628b827e10523b8e5ed Gbp-Dch: Ignore Signed-off-by: Santiago <santiagorr@riseup.net>
2016-11-09debian/changelog: move post-first-debian-release changes to a new changelog ↵Santiago1-21/+32
stanza Change-Id: Ie11bb8646d7696666611ab5765e7fbacc7ad5f6a Signed-off-by: Santiago <santiagorr@riseup.net>
2016-11-09debian/rules: Only export hardening related building HOST_/EXTRA flags when ↵Santiago1-13/+19
dpkg-dev < 1.18.11. On newer dpkg-dev versions, dpkg-buildflags handle them directly and are injected by gcc (6.x). Change-Id: I1fd99405d9b07e10c3bc41034256212ebeaf7549 Signed-off-by: Santiago <santiagorr@riseup.net>
2016-10-12changelog: enable dpdk autotests as dep8 testsChristian Ehrhardt1-0/+4
Change-Id: I70fa11a88e25fd3e9922bb18fef2ca6d410d79b9 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-10-12enable dpdk autotests as dep8 testsChristian Ehrhardt2-0/+62
The autotests we bundle can be used on machines able to run DPDK. But sadly almost none of them can run inside most common build environments which makes it unavailable for a classic "dh_autotest". But we can define certain characteristics of an dep8 test. In there at least the majority of the tests runs fine. So this adds the autotests as dep8 test. To do so it defines the test as "isolation-machine, needs-root", but even then checks further required capabilities like sse3 and the required huge pages. If prereqs are not met it exits by skipping the test, which counts as PASS. The tests can run successful e.g. with an autopkgtest call that adds the required CPU characteristics. To do so run it like usual but with: autopkgtest [...] -- qemu --qemu-options='-cpu qemu64,+ssse3' [...] So far only amd64 is supported and as mentioned before only if the prereqs are met. But it is written in a way that this can be the groundwork for any other architecture that wants to enable the autotests as well. Change-Id: Ia2a2839ce349b3ea5c22f0b8a589f8a71378adc1 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-10-12changelog: include the autotest suite in dpdk-devChristian Ehrhardt1-0/+2
Change-Id: Ie4a9963a2391c12c23a2750a9fd67c7d49909aeb Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-10-12include the autotest suite in dpdk-devChristian Ehrhardt1-0/+4
The autotest suite is ready to use after build and built by default. It can be useful to developers and tools to have access to the test toolchains built together with the packaged content. Change-Id: I5d5fe58b4ccc6960edde92bbec2577526d0c9916 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-10-11changelog: support DEB_BUILD_OPTIONS parallelChristian Ehrhardt1-0/+1
Change-Id: Iec7cca243b3de1331b18a14ddbbb1366f8f2bc56 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-10-11d/rules support DEB_BUILD_OPTIONS parallelChristian Ehrhardt1-3/+10
Build seems stable enough to support DEB_BUILD_OPTIONS parallel these days. Since we don't just dh we have to explicitly support that flag. Change-Id: Ia7fc590f81cdae5b4bd5abdfb36af7aaeddfa10c Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-10-04changelog: fixing dl_open issues in ip_pipelineChristian Ehrhardt1-0/+2
Change-Id: Iff8e6a2805041e0a753842ee6e07d737478a97cb Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-10-04Fix dl_open issues in ip_pipelineChristian Ehrhardt1-2/+6
Update d/p/dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch fixing dl_open issues Change-Id: I338bd8ba4375a412a892ec803f1a2d3c9d1aa6a8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-09-30Merge "changelog: fix ip_pipeline -d parameter" into deb_dpdk_16.07Christian Ehrhardt1-0/+2
2016-09-30Merge "changelog: fix typo" into deb_dpdk_16.07Christian Ehrhardt1-1/+1
2016-09-30changelog: fix ip_pipeline -d parameterChristian Ehrhardt1-0/+2
Change-Id: I9185287598ac2636b9b05dbd933dc70390f98492 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-09-30changelog: fix typoChristian Ehrhardt1-1/+1
fix typo in changelog Change-Id: I3f7f7b6bf9abbcd4091e1079a8954d114228da95 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-09-29Merge changes from topic 'fix-autoloader' into deb_dpdk_16.07Luca Boccassi4-4/+49
* changes: changelog: add PMDs as recommend for dpdk runtime add PMDs as recommend for dpdk runtime. add empty RTE_EAL_PMD_PATH dir to librte_eal changelog: utilize RTE_EAL_PMD_PATH document pmd autoloading utilize RTE_EAL_PMD_PATH
2016-09-29changelog: add PMDs as recommend for dpdk runtimeChristian Ehrhardt1-0/+2
Change-Id: I1aeb0f62e2abeb42b5e75a1058b45400a934fabb Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-09-29add PMDs as recommend for dpdk runtime.Christian Ehrhardt1-1/+19
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>
2016-09-29add empty RTE_EAL_PMD_PATH dir to librte_ealChristian Ehrhardt1-0/+3
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>
2016-09-29changelog: utilize RTE_EAL_PMD_PATHChristian Ehrhardt1-0/+2
changelog update split to ease branch maintenance Change-Id: Ifa396a72b39504b74eb7c39852266dec0423f219 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-09-29document pmd autoloadingChristian Ehrhardt1-1/+13
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>
2016-09-29utilize RTE_EAL_PMD_PATHChristian Ehrhardt1-2/+10
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>
2016-09-29dpdk-dev: fix ip_pipeline to load PMD driver correctlyGowrishankar Muthukrishnan2-0/+36
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>
2016-09-29changelog: d/control add python-elftools and hwdata dependenciesChristian Ehrhardt1-0/+2
changelog update split to ease branch maintenance Change-Id: I2e4790824b7e061a4cd1a9f6d12e33f0c55084fc Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-09-29changelog: Fix d/p/fix-vhost-user-socket-permission.patch for dpdk 16.07Christian Ehrhardt1-0/+2
changelog update split to ease branch maintenance Change-Id: I979db91ed1a71089c465bee5517db15365778e43 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-09-29add dependencies for dpdk-pmdinfoChristian Ehrhardt1-0/+2
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>
2016-09-29fix fix-vhost-user-socket-permission.patch for 16.07Christian Ehrhardt1-8/+8
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>
2016-09-27Add myself to UploadersSantiago1-0/+1
Change-Id: Ib2f5546e0c769d2d9008abb432d571b7fdb9928e Gbp-Dch: Ignore Signed-off-by: Santiago <santiagorr@riseup.net>
2016-09-27Add myself as uploaderChristian Ehrhardt1-0/+1
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>
2016-09-26debian/control: dpdk binary package Recommends [arm64] and Suggest dpdk dkms ↵Santiago1-3/+3
packages Change-Id: I90d6cfded77c2d182b70053022a296c9e8f9dc3d Signed-off-by: Santiago <santiagorr@riseup.net>
2016-09-26update debian/changelogSantiago1-0/+4
Change-Id: I68cd6a63d69da0263524e607d0c6fe20cbc6dc50 Gbp-Dch: Ignore Signed-off-by: Santiago <santiagorr@riseup.net>
2016-09-26debian/control: Include spaces between packages descriptionsSantiago1-44/+94
Change-Id: I14cc5444558066c6dcd7a8120e20294157a68c82 Gbp-Dch: Ignore Signed-off-by: Santiago <santiagorr@riseup.net>
2016-09-26debian/control: libdpdk-dev, Remove another duplicated HomepageSantiago1-1/+0
Change-Id: Ifb801ddae137052a0f936025e21c619690ed520a Gbp-Dch: Ignore Signed-off-by: Santiago <santiagorr@riseup.net>
2016-09-26debian: update changelog for enabling missing libraries in ppc64leGowrishankar Muthukrishnan1-0/+6
Change-Id: Ied365df4e8298ce90a09b778131b6bc2a43514e4 Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
2016-09-26debian: fix control file to enable virtio pmd for ppc64leGowrishankar Muthukrishnan1-2/+2
Change-Id: I65ff2c7e6c69b9c46e0bb6cbc83cd630742424c7 Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
2016-09-26debian: fix control file to enable additional libs for ppc64leGowrishankar Muthukrishnan1-12/+12
Change-Id: I57f021fd776f2943247e551db0e72e8802e8685d Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
2016-09-26dpdk-dev: enable lpm, acl, sched, table, port and pipeline libs in ppc64leGowrishankar Muthukrishnan8-0/+1131
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>
2016-09-25Add myself as uploaderLuca Boccassi1-0/+1
Change-Id: Iedac669925b3f85e3a76c035d3c4a848bcfb7670 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>