aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-07-19put a note in empty symbols filesChristian Ehrhardt13-0/+26
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>
2016-07-19Merging symbols files, handling the arch differences inline insteadRicardo Salveti5-162/+5
Change-Id: Ifd6830ba96d553ac078d2900a0dd60b820ba8032 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19Adding package librte-pmd-bnxt1Ricardo Salveti3-0/+16
Change-Id: I20f98d244069d4ddadb753fbffa987a114d1e045 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19Renaming package librte-pmd-e10001 to librte-pmd-e1000-1Ricardo Salveti5-7/+14
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>
2016-07-19Fix libdpdk-dev headers pathRicardo Salveti2-1/+4
Since libdpdk-dev.dirs was removed, we need to manually create the correct includes path for libdpdk-dev. Change-Id: I9abd78ed4567623590a1d5480df488a74787156a Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19debian/rules: allow all make commands to be verboseRicardo Salveti2-6/+9
Change-Id: Ief0486ccabc1244f123fee7af03ccbfd1c67a5f2 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19Removing old patches, not used anymoreRicardo Salveti2-93/+0
Patches: - debian/patches/ubuntu-backport-44-linking-cleanup.patch - debian/patches/ubuntu-fix-xenvirt-support-dynamic-page-size.patch Change-Id: I2edf454da801bf726866aa5cb85965396f5d3a04 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19librte-port3.symbols is now arch specificChristian Ehrhardt1-0/+22
since the following upstream commit librte-port3.symbols is arch specific. There was a feature added which itslef is arch neutral, but it is based on KNI which is not 32 bit compatible, and thereby disabled on i386. But the new feature of port to exploit it obviously depends on configured KNI, therefore the arch difference in the symbols. commit 9fc37d1c071c0b0227c0a41431d3beb2a14e31a3 Author: WeiJie Zhuang <zhuangwj@gmail.com> Date: Tue Jun 21 18:55:52 2016 +0800 port: support KNI Change-Id: I290ab11dfbeae0e301b5fe55d3404a9d46639c17 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19librte-eal2.symbols now arch specificChristian Ehrhardt1-0/+136
Since the following upstream commit symbols differ per arch. commit a088b5ea35e78d3866d492ed5e8c8f47118696a6 Author: Damjan Marion <damarion@cisco.com> Date: Thu Jul 14 15:27:29 2016 +0200 spinlock: move constructor out of x86 header file Change-Id: Ia56a6ba25b252c8551d163bdb0d96915e98a916a Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19changelog for dpdk 16.07-rc3Christian Ehrhardt1-0/+12
Change-Id: I2f25e4e212f3598d0ff89529a45833e457063653 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19update symbols of librte-pmd-bond1.symbolsChristian Ehrhardt1-2/+0
rte_eth_bond_8023ad_conf_get and rte_eth_bond_8023ad_setup Fixed broken symbols upstream by: commit 2bf4c835554a382f22a58194180ebacc2e9a5399 Author: Christian Ehrhardt <christian.ehrhardt@canonical.com> Date: Mon Jul 11 13:27:01 2016 +0200 net/bonding: fix exported symbol versioning Change-Id: Ib5fed98c8a95f11de446cb2fc1af696a6afc9aa3 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19update symbol rte_hash_get_key_with_positionChristian Ehrhardt1-0/+2
Added upstream by commit 6dc34e0afe7a7b8815c4e09ae5cc7b01486df420 Author: Yari Adan Petralanda <yari.adan.petralanda@ericsson.com> Date: Mon Jul 4 10:59:52 2016 +0200 hash: retrieve a key given its position Change-Id: I23e177c63dc6fe96012ff38685bbc85bfa8ccefe Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19update symbols rte_rtm_supportedChristian Ehrhardt1-0/+1
Was added upstream by: commit a088b5ea35e78d3866d492ed5e8c8f47118696a6 Author: Damjan Marion <damarion@cisco.com> Date: Thu Jul 14 15:27:29 2016 +0200 spinlock: move constructor out of x86 header file Change-Id: I741f13f1b96e27af007fc850afe8304d90a665c2 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19adapt symbols to 16.07-rc3, rte_eth_dev_get_reg_lengthChristian Ehrhardt1-1/+0
This was intentionally dropped by upstream commit: commit 001a1c0f98f4e3ac19c26515892e2448a7547c38 Author: Zyta Szpak <zyta.szpak@semihalf.com> Date: Mon Jul 4 13:36:46 2016 +0200 ethdev: get registers width Change-Id: I9a588a27d17f3295e15b5e38254d0433fb7b6cb1 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19refresh d/p/ubuntu-fix-vhost-user-socket-permission.patchChristian Ehrhardt1-45/+29
There was another symbol faded out since DPDK 2.2 which made the diff no more apply cleanly, but required no other change. Change-Id: I19cc2c42bd6d3d5b2af44a3961b5c1533165e0ad Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19droping upstreamed backport for fd >1023 handlingChristian Ehrhardt2-130/+0
File was d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch Change-Id: I0ed62bf2c9432356595b5eca04b4583549b827df Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19droping upstreamed backports d/p/ubuntu-fix-bond-symbol-export.patchChristian Ehrhardt2-64/+0
Change-Id: I8033e131db207b35d345bc4472d853acc59e7bc8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19Imported Upstream version 16.07-rc3Ricardo Salveti113-596/+467
Change-Id: I321148bfa234858ba1986d109470b7aa280cd429 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org> Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19Imported Upstream version 16.07-rc2Ricardo Salveti149-2207/+4501
Change-Id: Ie9e8ec528a2a0dace085c5e44aa7fa3b489d4ba0 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org> Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-07symbols: remove debian package versioning from symbols fileChristian Ehrhardt8-213/+213
This accidentially came in and was pointed out by Luca Boccassi in review. Not a transition problem since nothing was published yet. Change-Id: I835894b926a243c8fa52e0d255d001359f768b68 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-06initial changelog for the merge to dpdk 16.07-rc1Christian Ehrhardt1-1/+35
Change-Id: I8d08bd6da6e72c54ed579da2d439f01e5c541510 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-06update symbols files for dpdk 16.07Christian Ehrhardt8-162/+217
Overview of changing files: - libethdev4, librte-mempool2, librte-port3, librte-vhost3 got ABI bump anyway - librte-cryptodev1, librte-eal2 only added symbols - librte-pmd-bond1 had dropped symbols - fix in d/p and sent upstream Change-Id: I999897fc8daf323f6c3e1ccc82a145e320574a98 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-06add librte_pdump1Christian Ehrhardt2-0/+15
Change-Id: Ia775c33a7b0bef06b9bcb96cf3d77ec87790f84e Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-06fix exported symbols in librte_bondChristian Ehrhardt2-0/+64
Change-Id: Ie02e1a8e8527f0987cb90b8a28778551bbfaff31 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-06bump library versions to match ABIs in dpdk 16.07Christian Ehrhardt5-8/+8
Change-Id: Ib2e8a0915a1ae384d59ba285ed25ea6054544503 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-06adapt packaging to the import of 16.07-rc1Christian Ehrhardt12-1401/+72
This includes dropping already accepted and forward-porting the other patches. Change-Id: I10fc222d49c99b20b23fe8bd8882b2e555259823 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-06Imported Upstream version 16.07-rc1Christian Ehrhardt707-20950/+119371
Change-Id: If3f757dc95532706b04053286c6b54492169f1a3 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-28debian/*.dirs sanitize dir files v2Christian Ehrhardt6-9/+1
*updates in v2* updated to adapt to changes we made when integrating earlier changes This is a cleanup from the early days of dpdk packaging. They are no more needed and not recommended if not needed according to https://www.debian.org/doc/manuals/maint-guide/dother.en.html#dirs The only remaining is a mkdir -p for dpdk_nic_bind which is much better in d/rules close to the remove and relink that is done there. Change-Id: Ife69e3fa23e5f061c86dec03d4b71d76a441e29d Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-27d/rules: unify whitespace v2Christian Ehrhardt1-7/+7
*updates in v2* rebased to match merge conflicts due to changes earlier in the series make the use of tab/spaces consistent throughout the file without discussinf or deciding which way it better (current majority wins). Change-Id: I86de3ffff1e25b3c31d8e909896e3e8c7f771912 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/rules: strip -Wl, from dpkg-buildflags outputChristian Ehrhardt1-1/+2
The DPKG build system adds a -Wl, to and EXTRA_LDFLAGS, by that the flags provided by dpkg-buildflags become -Wl,-Wl,option which fails to build. Fix by filtering the -Wl, prefix before exporting. Note: filtering with make text functions is hard if the pattern contains a comma, so sed was chosen. Change-Id: I9b91b86c80529855dfb1c5a52725c0d07a95e5c8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23changelog: use dpkg-buildflags and properly enable hardeningChristian Ehrhardt1-0/+1
d/rules didn't adapt to the DPDK build system to really tranfer the data from dpkg-buildflags into the DPDK buildsystem. By that hardening flags were lost while building. Change-Id: Ie3ddc0a35ada45a5b2d59b4b75a9660171529291 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/rules: transfer dpkg-buildflags to the dpdk build systemChristian Ehrhardt1-7/+8
DPDK build ignores the usual way of dpdk-buildflag exports. We have to set EXTRA_CFLAFS and EXTRA_LDFLAGS properly after setting up and including dpdk-buildflags properly to have the control over flags a debian package should have. LDFLAG fPIC is now added via DEB_CFLAGS_MAINT_APPEND and fPIE disabled from the default hardening set (incompatibility with fPIC on shared libraries) Change-Id: I74febe97da99c338e6c3e0992c65ca4a007f381c Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/rules: report on used build flagsChristian Ehrhardt1-0/+2
This can be very useful in the buildlog to analyze how certain flags were set. Change-Id: I2d80f5f5721516516c8418b7cb449ee3ac02b1d8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/rules: make build more verbose by defaultChristian Ehrhardt1-3/+4
With so many changes to linking, flags and also our plan for further optimization along the way it is useful to make the build more verbose by default to spot issues right in the main build log. Change-Id: I0c41d232bc7b353b9e8a91e7e3934a9b4a3a46cc Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-23d/control: add build dep to python-sphinx-rtd-themeChristian Ehrhardt1-0/+1
Avoids the following issue in sid: Theme error: sphinx_rtd_theme is no longer a hard dependency since version 1.4.0. Please install it manually.(pip install sphinx_rtd_theme) /<<PKGBUILDDIR>>/mk/rte.sdkdoc.mk:110: recipe for target 'guides-html' failed make[2]: *** [guides-html] Error 1 /<<PKGBUILDDIR>>/mk/rte.sdkroot.mk:107: recipe for target 'doc-guides-html' failed make[1]: *** [doc-guides-html] Error 2 make[1]: *** Waiting for unfinished jobs... Change-Id: Ia5662a7112b9fbf63a40db5ba7527c156b6536b8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/copyright: refer to full on system GPL-3 licenseChristian Ehrhardt1-0/+3
This follows the guidance of https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile Change-Id: Ic91671a261a1631f95c7de32a56268276aad3c6a Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/copyright include BSD license as recommended by debian policyChristian Ehrhardt1-2/+28
This follows the guidance of: https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile https://lintian.debian.org/tags/copyright-refers-to-deprecated-bsd-license-file.html Change-Id: Ic39ac1dc3104c383ac2fcbb331288009c12bd10b Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/control: drop unused mempool dependency from librte-eal2Christian Ehrhardt1-1/+1
Now that linking is fixed and there is no circular dependency anymore there is no need to still manually add the formerly hidden mempool dependency. Change-Id: Ieb3ae0bac70f42a7bbf6d6bc84f8c720e806f6c8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23fix package names to match sonamesChristian Ehrhardt56-143/+142
Following policy and fixing the warning regarding https://lintian.debian.org/tags/package-name-doesnt-match-sonames.html Change-Id: Ib946075ff64c0f1c30e32f7998a3aa99256ebce5 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/control bump to Standards-Version 3.9.8Christian Ehrhardt1-1/+1
This is the checklist for that bump and we pass them all: 2.1. Version 3.9.8.0 -------------------- Released February, 2016. 9.6 The menu system is deprecated in favor of the Free Desktop menu standard. 2.2. Version 3.9.7.0 -------------------- Released February, 2016. 10.5 Symbolic links must not traverse above the root directory. 9.2.2 32bit UIDs in the range 65536-4294967293 are reserved for dynamically allocated user accounts. 5.1 Empty field values in control files are only permitted in the `debian/control' file of a source package. 4.9 `debian/rules': required targets must not attempt network access. 12.3 recommend to ship additional documentation for package `pkg' in a separate package `pkg-doc' and install it into `/usr/share/doc/pkg'. Change-Id: I7cd59b62f548ef6ad1c7c72feddc608c8715ee74 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/control set maintainers to deb-dpdk@lists.fd.ioChristian Ehrhardt1-1/+1
Change-Id: Ib48d03fa3dd46914c4d7c9caffc9246a03239aca Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23Ignore quilt dirChristian Ehrhardt1-0/+1
Just add .pc to .gitignore to avoid making git status noisy Change-Id: I172bb9bae4372ee9d6751614ffbd5ac736120f7f Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23d/rules: allow external override of base dpdk configurationChristian Ehrhardt1-6/+8
By using := instead of = users that rebuild our packaging can overwrite the following via environment variables: DPDK_CONFIG RTE_MACHINE RTE_TARGET That is already used by some consumers of the Ubuntu packaging to get optimized build, but would allow them to go on without a patch on top. Also since it is a no-op, as long as the variables are not set, it is fairly safe. Change-Id: I26265c09c90d33a6e4cd37f8c26ac0ef5baac0c4 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23changelog: backport more dpdk 16.07 library linking fixesChristian Ehrhardt1-0/+1
Upstream identified more issues, this is the backport of some discussions around that. Change-Id: I0acdecf2e1d518fa81af7bb4c9b51fc81c36a418 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-23backport of further dpdk 16.07 fixes for library linkingChristian Ehrhardt2-0/+62
Adding d/p/ubuntu-backport-44-linking-cleanup.patch This is a merge of related upstream discussions: - [PATCH 1/3] mk: fix librte_pipeline dependency list truncation - [PATCH 3/3] mk: fail build on incomplete shared library dependencies Forwarded: yes (likely in DPDK 16.07 in some way) Author: Christian Ehrhardt <christian.ehrhardt@canonical.com> Last-Update: 2016-06-23 Change-Id: Id994f1dbf1906ee9fbabc6527b26f957d3af906f Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-15gitreview: set default branch in dpdk release specific branchChristian Ehrhardt1-1/+1
Now that we started our dpdk release 16.04 specific branch and git-review should automatically go into that branch. This does not affect master as we only change the deb_dpdk_16.04 branch itself and avoids accidentially pushing to master. Change-Id: Iea583c098d04791f911e912a1783fdac906e8549 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-06-15Merge Ubuntu DPDK packaging as of 15th June 2016Christian Ehrhardt82-0/+4505
As discussed this shall be our initial baseline. If history is needed for any sort of debugging or analysis it can be found at https://code.launchpad.net/~ubuntu-server/dpdk/+git/dpdk Change-Id: Ie95c7effbbea34d723df14f6451c1f782000cbc1 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>