summaryrefslogtreecommitdiff
path: root/.travis
Commit message (Collapse)AuthorAgeFilesLines
* dpdk: Use DPDK 17.11.1 release.Ian Stokes2018-03-211-1/+1
| | | | | | | | | | | | | | Modify docs and travis linux build script to use the DPDK 17.11.1 release branch to benefit from most recent bug fixes. There are no new features introduced in the DPDK release, only back ported bug fixes. For completeness these bug fixes have been documented under the 17.11.1 section in the link below. http://dpdk.org/doc/guides-17.11/rel_notes/release_17_11.html#id1 Signed-off-by: Ian Stokes <ian.stokes@intel.com> Acked-by: Kevin Traynor <ktraynor@redhat.com>
* travis: build the selinux policy under linuxAaron Conole2018-02-281-0/+2
| | | | | | | | | When performing a linux build, create the selinux policy. This ensures that the selinux policy files are at least 'compile' tested when changes occur. Signed-off-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* travis: Unify DPDK build directory for stable/not stable releases.Ilya Maximets2017-12-131-4/+6
| | | | | | | | | | | | | | | | | | | | | | Currently stable dpdk releases has 'dpdk-stable-$DPDK_VER' directory in the tarball, but not stable has just 'dpdk-$DPDK_VER'. This produces issues while moving from stable release to not stable and vice versa. For example recent update to DPDK v17.11 broke the travis build: 'dpdk-17.11.tar.gz' saved ./.travis/linux-build.sh: line 61: cd: dpdk-stable-17.11: No such file or directory With this change 'dpdk-$DPDK_VER' format will be used for all the types of dpdk releases by renaming the source directory. CC: Mark Kavanagh <mark.b.kavanagh@intel.com> Fixes: 5e925ccc2a6f ("netdev-dpdk: DPDK v17.11 upgrade") Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Ian Stokes <ian.stokes@intel.com> Tested-by: Ian Stokes <ian.stokes@intel.com>
* travis: Use pip2 instead of pip for OSX build.Ilya Maximets2017-12-121-2/+2
| | | | | | | | | | | | | | | | xcode8.3 is a new default image for OS X on Travis-CI, but it does not have 'pip': pip install --user six ./.travis/osx-prepare.sh: line 3: pip: command not found 'pip2' or 'pip3' should be used explicitly instead: https://github.com/travis-ci/travis-ci/issues/8829 Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Acked-by: Alin Gabriel Serdean <aserdean@ovn.org> Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
* netdev-dpdk: DPDK v17.11 upgradeMark Kavanagh2017-12-081-1/+1
| | | | | | | | | | | | | | | | | This commit adds support for DPDK v17.11: - minor updates to accomodate DPDK API changes - update references to DPDK version in Documentation - update DPDK version in travis' linux-build script - document DPDK v17.11 virtio driver bug Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: Ciara Loftus <ciara.loftus@intel.com> Acked-by: Jan Scheurich <jan.scheurich@ericsson.com> Tested-by: Jan Scheurich <jan.scheurich@ericsson.com> Tested-by: Guoshuai Li <ligs@dtdream.com> Acked-by: Kevin Traynor <ktraynor@redhat.com> Signed-off-by: Ian Stokes <ian.stokes@intel.com>
* travis: Fix OSX build on travisWilliam Tu2017-10-231-0/+1
| | | | | | | | | | Run "brew update" before any installs. This yields a clean build: https://travis-ci.org/williamtu/ovs-travis/builds/291616874 Signed-off-by: William Tu <u9012063@gmail.com> Acked-by: Yi-Hung Wei <yihung.wei@gmail.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
* docs: Use DPDK 17.05.2 release.Ian Stokes2017-09-221-1/+1
| | | | | | | | | | | | | | Modify docs and travis linux build script to use the DPDK 17.05.2 release branch to benefit from most recent bug fixes. There are no new features introduced in the DPDK release, only back ported bug fixes. For completeness these bug fixes have been documented under the 17.05.2 section in the link below. http://dpdk.org/doc/guides-17.05/rel_notes/release_17_05.html Signed-off-by: Ian Stokes <ian.stokes@intel.com> Signed-off-by: Darrell Ball <dlu998@gmail.com>
* travis: parallel builds and testsLance Richardson2017-08-101-4/+4
| | | | | | | | | | | | | | | Some recent travis builds have failed due to having exceeded the per-job time limit of 50 minutes. This change enables parallel builds and parallel test execution in order to reduce overall execution time, and will hopefully allow this class of build failures to be avoided. Since the travis build environment is provisioned with two CPUs, use -j2 for builds and -j4 for tests. Testing in a cloned repository shows slightly more than a 50% reduction in overall test time. Signed-off-by: Lance Richardson <lrichard@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* travis: Fix DPDK builds in new environment.Darrell Ball2017-08-091-0/+1
| | | | | | | | | | | | | | | The following error is seen: 17.05.1/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:29: /home/travis/build/darball/ovs/linux-3.16.46/arch/x86/include/asm/ dma-mapping.h:32:35: error: inlining failed in call to ‘get_dma_ops’: call is unlikely and code size would grow [-Werror=inline] -Wno-error=inline is used to address the issues with the new environment. Suggested-by: Ben Pfaff <blp@ovn.org> Signed-off-by: Darrell Ball <dlu998@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Update relevant artifacts to add support for DPDK 17.05.1.Michal Weglicki2017-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Upgrading to DPDK 17.05.1 stable release adds new significant features relevant to OVS, including, but not limited to: - tun/tap PMD, - VFIO hotplug support, - Generic flow API. Following changes are applied: - netdev-dpdk: Changes required by DPDK API modifications. - doc: Because of DPDK API changes, backward compatibility with previous DPDK releases will be broken, thus all relevant documentation entries are updated. - .travis: DPDK version change from 16.11.1 to 17.05.1. - rhel/openvswitch-fedora.spec.in: DPDK version change from 16.11 to 17.05.1 Signed-off-by: Michal Weglicki <michalx.weglicki@intel.com> Acked-by: Kevin Traynor <ktraynor@redhat.com> Acked-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Tested-by: Ian Stokes <ian.stokes@intel.com> Acked-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Darrell Ball <dlu998@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* travis: Fail the build if any of the Linux build preparations fail.Ben Pfaff2017-07-271-0/+2
| | | | | | | | | | | | We want the build to fail if we can't prepare properly for it, but linux-prepare.sh ignored errors. This fixes the problem. This would have made it more obvious where the problem fixed by the previous commit originated. (osx-prepare.sh already does the right thing.) Signed-off-by: Ben Pfaff <blp@ovn.org>
* travis: Explicitly disable LLVM for sparse build.Ben Pfaff2017-07-271-1/+6
| | | | | | | | | Newer travis environments claim to have LLVM support (llvm-config exists and works) but in reality don't, which prevents sparse from building and later parts of the build from succeeding. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
* docs: Use DPDK 16.11.2 stable release.Ian Stokes2017-07-061-1/+1
| | | | | | | | | | Modify docs and travis linux build script to use the DPDK 16.11.2 stable branch to benefit from most recent bug fixes. Signed-off-by: Ian Stokes <ian.stokes@intel.com> Acked-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Acked-by: Darrell Ball <dlu998@gmail.com> Signed-off-by: Justin Pettit <jpettit@ovn.org>
* travis: Break Mac OS build for format specifier warnings.Ben Pfaff2017-05-011-1/+1
| | | | | | | | | | Until now, the Travis build for Mac OS X has been configured to ignore format specifier warnings. These warnings have now been fixed, so this commit changes such warnings to error. Suggested-by: Daniele Di Proietto <diproiettod@ovn.org> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Jarno Rajahalme <jarno@ovn.org>
* travis: Fix build on Travis by installing new-enough docutils.Ben Pfaff2017-03-202-0/+2
| | | | | | | | | This yields a clean build: https://travis-ci.org/blp/ovs-reviews/builds/213085784 Suggested-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Lance Richardson <lrichard@redhat.com>
* docs: Use DPDK 16.11.1 stable release.Ian Stokes2017-03-101-6/+6
| | | | | | | | | DPDK now provides a stable release branch. Modify dpdk docs and travis linux build script to use the DPDK 16.11.1 stable branch to benefit from most recent bug fixes. Signed-off-by: Ian Stokes <ian.stokes@intel.com> Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
* doc: Don't limit ourselves to flake8 2.xStephen Finucane2017-01-041-4/+1
| | | | | | | | | | | There was a bug when using hacking with flake8 3.x. This bug has since been resolved [1], meaning we no longer need to call out the need to use the older version of flake8. [1] https://review.openstack.org/#/c/335965/ Signed-off-by: Stephen Finucane <stephen@that.guru> Signed-off-by: Ben Pfaff <blp@ovn.org>
* dpdk: update download urlThomas Monjalon2016-12-021-1/+1
| | | | | | | | | | The documentation and the travis script were getting the DPDK sources from the DPDK cgit service at dpdk.org/browse/dpdk. A fastest alternative is to use the CDN fast.dpdk.org. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Kevin Traynor <ktraynor@redhat.com> Signed-off-by: Simon Horman <simon.horman@netronome.com>
* netdev-dpdk: Add support for DPDK 16.11Ciara Loftus2016-11-251-1/+1
| | | | | | | | | This commit announces support for DPDK 16.11. Compatibility with DPDK v16.07 is not broken yet thanks to only minor code changes being needed for the upgrade. Signed-off-by: Ciara Loftus <ciara.loftus@intel.com> Signed-off-by: Simon Horman <simon.horman@netronome.com>
* travis: Work around glibtoolize error.Joe Stringer2016-09-211-0/+2
| | | | | Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Lance Richardson <lrichard@redhat.com>
* datapath: Add support for kernel 4.7Pravin B Shelar2016-08-221-0/+12
| | | | | Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Jesse Gross <jesse@kernel.org>
* netdev-dpdk: Add support for DPDK 16.07Ciara Loftus2016-08-031-1/+1
| | | | | | | | | | | | | | | This commit introduces support for DPDK 16.07 and consequently breaks compatibility with DPDK 16.04. DPDK 16.07 introduces some changes to various APIs. These have been updated in OVS, including: * xstats API: changes to structure of xstats * vhost API: replace virtio-net references with 'vid' Signed-off-by: Ciara Loftus <ciara.loftus@intel.com> Tested-by: Maxime Coquelin <maxime.coquelin@redhat.com> Tested-by: Robert Wojciechowicz <robertx.wojciechowicz@intel.com> Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
* travis: Fix flake8 failures from flake8 3.0.Russell Bryant2016-07-291-1/+5
| | | | | | | | | The "hacking" plugin for flake8 is not currently compatible with flake8 3.0. Ensure that we install flake8 2.x on travis-ci. Also update the docs to indicate this incompatibility. Signed-off-by: Russell Bryant <russell@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org>
* Travis: Added python plugins flake8 and hacking.William Townsend2016-07-021-1/+1
| | | | | | | | | Travis builds will now automatically run flake8 and hacking checks against Python code and generate warnings. Signed-off-by: William Townsend <wtownsen@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Flavio Fernandes <flavio@flaviof.com>
* Update relevant artifacts to add support for DPDK 16.04.mweglicx2016-04-151-2/+1
| | | | | | | | | | | | | | | | | | Following changes are applied: - INSTALL.DPDK.md: CONFIG_RTE_BUILD_COMBINE_LIBS step has been removed because it is no longer present in DPDK configuration (combined library is created by default), - INSTALL.DPDK.md: VHost Cuse configuration is updated, - netdev-dpdk.c: Link speed definition is changed in DPDK and netdev_dpdk_get_features is updated accordingly, - netdev-dpdk.c: TSO and checksum offload has been disabled for vhostuser device. - .travis/linux-build.sh: DPDK version is updated and legacy flags have been removed in configuration. Signed-off-by: Michal Weglicki <michalx.weglicki@intel.com> Signed-off-by: Panu Matilainen <pmatilai@redhat.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
* travis: support OS X buildsLance Richardson2016-03-234-0/+31
| | | | | | | | | | | | Add support for travis-ci OS X builds: - Add linux- prefix to existing build/prepare scripts - Create new OS X flavored build/prepare scripts - Update .travis.yml for OS X At this time only one build job included in the matrix for OS X. Signed-off-by: Lance Richardson <lrichard@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* travis: Automatically recheck failed tests.Ben Pfaff2016-02-241-1/+1
| | | | | | | | | This should make the automatic testsuite more reliable on Travis. It's better to fix tests to be more reliable, of course, but in practie it's difficult to make all of them 100% reliable. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org>
* Update relevant artifacts to add support for DPDK v2.2.0.mweglicx2016-01-251-1/+1
| | | | | | | | | Following changes have been applied: - INSTALL.DPDK.md: change DPDK version number, - build.sh: change DPDK version number. Signed-off-by: Michal Weglicki <michalx.weglicki@intel.com> Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
* travis: Install six Python library.Russell Bryant2016-01-211-0/+1
| | | | | | | | | The travis-ci build is broken because the Python six library is not installed. Signed-off-by: Russell Bryant <russell@ovn.org> Tested-by: Joe Stringer <joe@ovn.org> Acked-by: Joe Stringer <joe@ovn.org>
* travis: Use container infrastructure.Daniele Di Proietto2015-09-291-8/+1
| | | | | | | | | | | | | | | | | | | | | Recently some testcases have been failing in travis because of a warning related to the use of an L3 device (OpenVZ specific) inside the workers. To get travis tests working again we can move to the newer container infrastructure: this commit does that. The disadvantage is that there's no sudo access anymore, but we can install packages with the apt plugin, and we shouldn't use root for anything else Also, since we're building DPDK with vhost-user (not vhost-cuse), libfuse-dev is not needed anymore. Tested-at: https://travis-ci.org/ddiproietto/ovs/builds/81764972 Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> CC: Joe Stringer <joestringer@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* travis: Fix build with --enable-shared and DPDK 2.1.Daniele Di Proietto2015-09-091-3/+1
| | | | | | | | | | | | | | | | | | When building OVS with --enable-shared, -fPIC should be used in DPDK CFLAGS. We used to add a custom option for this (CONFIG_RTE_BUILD_FPIC) to the DPDK configuration, right after CONFIG_RTE_LIBNAME. Since CONFIG_RTE_LIBNAME has been removed, it seems simpler to add our custom option at the end of the file. Furthermore, since vhost support is enabled by default in DPDK 2.1 and vhost-user is OVS primary target, there's no need to customize the vhost related option anymore. Tested-at: https://travis-ci.org/ddiproietto/ovs/builds/79451461 Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Ben Pfaff <blp@nicira.com>
* dpdk: add support for v2.1.0Timo Puha2015-09-081-1/+1
| | | | | | | | | | | | | | | | | | | | Update relevant artifacts to add support for DPDK v2.1.0 - INSTALL.DPDK.md - acinclude.m4: Change DPDK library name - netdev-dpdk: Limit minimum mbuf size to to adapt to DPDK bug fix that changes the treatment of the requested mbuf size - build.sh: Change DPDK version number Note that this breaks compatibility with DPDK v2.0.0 although only for the library name change. Note that throughput for vhost ports with mergeable buffers is reduced about 10% due to a necessary bug fix in DPDK vhost code. Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Signed-off-by: Michal Weglicki <michalx.weglicki@intel.com> Signed-off-by: Timo Puha <timox.puha@intel.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
* datapath: Add support for 4.0 kernel.Joe Stringer2015-05-081-1/+3
| | | | | Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
* travis: Fix clang build for DPDK-2.0.Joe Stringer2015-05-081-1/+1
| | | | | | | -Wno-cast-align is a CFLAG, not a configure option. Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
* DPDK: add support for v2.0.0Mark Kavanagh2015-04-291-4/+7
| | | | | | | | | | | | | | Update relevant artifacts to add support for DPDK v2.0.0 - INSTALL.DPDK.md - travis build script - acinclude.m4: add 'mssse3' flag to OVS_CFLAGS - netdev-dpdk: fix build with unified offload types in DPDK v2.0.0 Note that this breaks compatibility with DPDK v1.8.0 Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Signed-off-by: Panu Matilainen <pmatilai@redhat.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
* travis: fix errorsMark Kavanagh2015-04-132-13/+13
| | | | | | | | | | | | | Fix two issues observed in travis scripts: - prepare.sh: add '-E' flag to ensure user environmental variables (for example, URL of the proxy server) are passed to 'sudo' - build.sh: add quotes around compiler variable to fix 'unary operator expected' error [tgraf: Fixed two additional occurrences of missing "] Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
* DPDK: Update documentation and travis build for vhost.Daniele Di Proietto2015-03-202-0/+4
| | | | | | | | DPDK vhost support is mandatory to compile OVS with DPDK. This commit updates INSTALL.DPDK.md and the travis build procedure to reflect that. Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
* lib: upgrade to DPDK v1.8.0Mark Kavanagh2015-03-041-2/+2
| | | | | | | | | | | | | DPDK v1.8.0 makes significant changes to struct rte_mbuf, including removal of the 'pkt' and 'data' fields. The latter, formally a pointer, is now calculated via an offset from the start of the segment buffer. So now dp_packet data is also stored as offset from base pointer. Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Signed-off-by: Rory Sexton <rory.sexton@intel.com> Signed-off-by: Kevin Traynor <kevin.traynor@intel.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
* travis: Add 32 bit (-m32) cross-compile buildThomas Graf2015-02-042-2/+7
| | | | | | | | | | | | | | | Inspired by Ben Pfaff's email on 32 bit build environment, this adds a 32bit build to the travis build matrix to catch alignment and padding issues. The 32 bit build is only enabled for non-DPDK builds as DPDK itself is currently not capable to be compiled with -m32. The build also has SSL disabled as the Ubuntu libssl-devel package is not multiarch compatible on the travis build system. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Ben Pfaff <blp@nicira.com>
* travis: support versioning of DPDK and options to specify git repo and tagShu Shen2015-01-051-4/+14
| | | | | | | | | | | | | | | | | | | | | | | Use DPDK_VER to specify the version of DPDK, and DPDK_GIT to specify the URL of the DPDK git repository. Both flags require "DPDK=1" and "--with-dpdk" shall no longer be specified as part of "OPTS" environment. Example uses: - skip both flags to use v1.7.1 tarball from dpdk.org as before: KERNEL=3.17.4 DPDK=1 - specify DPDK_VER only to use a version of tarball from dpdk.org: KERNEL=3.17.4 DPDK=1 DPDK_VER=1.7.1 - specify both DPDK_VER and DPDK_GIT to check out the tag "v$DPDK_VER" from the git repository "$DPDK_GIT": KERNEL=3.18 DPDK=1 DPDK_VER=1.7.1sp1 DPDK_GIT=https://github.com/shushen/dpdk Signed-off-by: Shu Shen <shu.shen@radisys.com> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
* travis: Only run testsuite for gcc buildsThomas Graf2014-12-051-1/+1
| | | | | | | | This reduces the total travis build time significantly. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* travis: Extended kernel build matrixThomas Graf2014-12-051-6/+27
| | | | | | | | | | | | | | | | When doing test builds, build against the following kernels: - KERNEL=3.17.4 - KERNEL=3.16.7 - KERNEL=3.14.25 - KERNEL=3.12.33 - KERNEL=3.10.61 - KERNEL=3.4.104 - KERNEL=2.6.32.64 When doing pure kernel test builds, skip compilation of user space bits. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Build: Add support for shared libraries and versioning.Scott Mann2014-11-111-0/+2
| | | | | | | | | | | | | | | | | These changes allow for the building of shared libraries by providing the --enable-shared option to configure. In particular, lib/libopenvwitch.so, lib/libsflow.so, ofproto/libofproto.so, and ovsdb/libovsdb.so will be built. Original behavior of building static remains the same. Additionally, versioning is introduced to each of the libraries objects paving the way for APIs to be built around them. A detailed comment outlining the rules for changing a version number is provided in configure.ac. Note that at this time, the version number is set to 1.0.0, no API is specified yet, and there are no requirements to maintain any sort of compatibility in any of the libraries. Signed-off-by: Scott Mann <smann@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* travis: Enable -Wsparse-error and fail on new sparse warningsThomas Graf2014-11-112-5/+7
| | | | | | | | | | | | | | A new option -Wsparse-error has been introduced to sparse in the commits: 4d8811 sparse: Make -Werror turn warnigns into errors fe57af rename -Werror to -Wsparse-error which makes sparse fail on warnings. Start using the sparse git tree for verification and make use of the new flag. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* netdev-dpdk: Move to DPDK 1.7.1maryam.tahhan2014-10-201-3/+3
| | | | | | | | | | | | This patch updates the documentation to reflect that DPDK 1.7.1 is supported. Travis scripts have also been updated to reflect this. DPDK phy and ring ports were validated against DPDK 1.7.1. Reviewed-by: Mark D. Gray <mark.d.gray@intel.com> Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com> Acked-by: Daniele Di Proietto <ddiproietto@vmware.com> Acked-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
* datapath: Provide compatibility for kernels up to 3.17Thomas Graf2014-09-201-3/+3
| | | | | | | | | | | Port datapath to work with kernrels up to 3.17 and use 3.16.2 as the new kernel for CI testing. Tested with 3.14, 3.16.2, and net-next (3.17). Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Co-authored-by: Madhu Challa <challa@noironetworks.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
* travis: Allow testsuite to run with GCC or Clang.Ben Pfaff2014-09-191-6/+7
| | | | | | | I don't see why the testsuite is supported only with GCC. Acked-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* travis: Include testsuite.log on failure.Ben Pfaff2014-09-191-1/+7
| | | | | Acked-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* travis: Fix DPDK build and treat bad-function-cast warning as non-errorThomas Graf2014-09-111-4/+10
| | | | | | | | | | | | | | | | A missing " prevented the DPDK build in the matrix from functioning so far. This patch enables the DPDK build by properly building DPDK as a single library and by pointing the OVS build to the corresponding build directory. Also removes the 'make install' as it is not required and only slows down the build. Due to incorrect casts in the DPDK headers, we have to disable bad-function-cast and cast-align warnings as being treated as errors for now. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Co-authored-by: Daniele Di Proietto <ddiproietto@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* travis: Run 'make distcheck' instead of 'make check'Thomas Graf2014-08-301-1/+1
| | | | | | | | | make distcheck runs a superset of make check and will additionally catch failures in adding new files to the Makefile. It will also test installation and uninstallation of the package. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>