summaryrefslogtreecommitdiff
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
...
* travis: Update datapath target kernel list.Pravin B Shelar2016-07-261-6/+6
| | | | | | | Update kernel list to latest stable release. Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Jesse Gross <jesse@kernel.org>
* netdev-dpdk: NUMA Aware vHost UserCiara Loftus2016-06-171-0/+1
| | | | | | | | | | | | | | | | | | This commit allows for vHost User memory from QEMU, DPDK and OVS, as well as the servicing PMD, to all come from the same socket. The socket id of a vhost-user port used to be set to that of the master lcore. Now it is possible to update the socket id if it is detected (during VM boot) that the vhost device memory is not on this node. If this is the case, a new mempool is created from the new node, and the PMD thread currently servicing the port will no longer, in favour of a thread from the new node (if enabled in the pmd-cpu-mask). To avail of this functionality, one must enable the CONFIG_RTE_LIBRTE_VHOST_NUMA DPDK configuration option. Signed-off-by: Ciara Loftus <ciara.loftus@intel.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
* travis: support OS X buildsLance Richardson2016-03-231-2/+11
| | | | | | | | | | | | 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>
* INSTALL.md: Suggest jemalloc memory allocator.Rodriguez Betancourt, Esteban2016-03-161-0/+3
| | | | | | | | | | | Change installing documentation to suggest to use jemalloc memory allocator. This memory allocator showed great performance gains when used at ovsdb-server and other components. Signed-off-by: Esteban Rodriguez Betancourt <estebarb@hpe.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* datapath: Drop support for kernel older than 3.10Pravin B Shelar2016-03-141-3/+0
| | | | | | | | | | | | | | | | Currently OVS out of tree datapath supports a large number of kernel versions. From 2.6.32 to 4.3 and various distribution-specific kernels. But at this point major features are only available on more recent kernels. For example, stateful services are only available starting in kernel 3.10 and STT is available on starting with 3.5. Since these features are becoming essential to many OVS deployments, and the effort of maintaining the backports is high. We have decided to drop support for older kernel. Following patch drops supports for kernel older than 3.10. Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Jesse Gross <jesse@kernel.org>
* travis: Update kernel matrix.Joe Stringer2016-02-041-8/+8
| | | | | | | | Remove v4.2 as it is EOL; Add v4.3 as we support this version in OVS-2.5. Update other versions to the latest listed on kernel.org. Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Pravin B Shelar <pshelar@ovn.org>
* travis: Update target kernel list.Pravin B Shelar2015-11-021-9/+9
| | | | | | | Update the kernel list to sync with stable kernels from kernel.org Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* travis: Install `bc` utility for kernel compilationDaniele Di Proietto2015-09-291-1/+2
| | | | | | | | | | Newer kernels appear to require `bc` to build all the headers Also, alphabetize the package list Tested-at: https://travis-ci.org/ddiproietto/ovs/builds/82757574 Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Ben Pfaff <blp@nicira.com>
* travis: Use container infrastructure.Daniele Di Proietto2015-09-291-1/+10
| | | | | | | | | | | | | | | | | | | | | 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>
* datapath: Add support for 4.2 kernel.Pravin B Shelar2015-09-231-1/+1
|
* datapath: Fix compilation on kernel 3.18Pravin B Shelar2015-09-221-1/+1
| | | | | | | | | | Fixes following compilation error: In file included from ovs/datapath/linux/actions.c:30: ovs/datapath/linux/compat/include/linux/if_vlan.h:65: error: redefinition of ‘__vlan_hwaccel_push_inside’ include/linux/if_vlan.h:353: note: previous definition of ‘__vlan_hwaccel_push_inside’ was here ovs/datapath/linux/compat/include/linux/if_vlan.h:83: Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
* datapath: Add support for 4.1 kernel.Joe Stringer2015-09-181-1/+2
| | | | | | Signed-off-by: Joe Stringer <joestringer@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
* .travis.yml: Direct email notifications to ovs-build without encryption.Ben Pfaff2015-09-041-1/+1
| | | | | | | Maybe it'll work, this way. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Justin Pettit <jpettit@nicira.com>
* .travis.yml: Tell travis-ci that sudo support is requiredAaron Conole2015-07-211-0/+2
| | | | | | | .travis/prepare.sh calls sudo. Signed-off-by: Aaron Conole <aaron@bytheb.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
* datapath: Add support for 4.0 kernel.Joe Stringer2015-05-081-0/+1
| | | | | Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
* travis: Generate new secret key for build@openvswitch.orgThomas Graf2015-03-131-1/+1
| | | | | Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Ben Pfaff <blp@nicira.com>
* travis: Add 32 bit (-m32) cross-compile buildThomas Graf2015-02-041-0/+1
| | | | | | | | | | | | | | | 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: Update build matrix to include latest stable kernelsThomas Graf2015-01-071-8/+9
| | | | | Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
* travis: support versioning of DPDK and options to specify git repo and tagShu Shen2015-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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: Extended kernel build matrixThomas Graf2014-12-051-3/+9
| | | | | | | | | | | | | | | | 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>
* travis: Add building of shared library to CI matrix.Thomas Graf2014-11-121-0/+2
| | | | | 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-1/+1
| | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | 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: Fix DPDK build and treat bad-function-cast warning as non-errorThomas Graf2014-09-111-1/+1
| | | | | | | | | | | | | | | | 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: Add build@openvswitch.org email list for build notifications.Thomas Graf2014-08-291-0/+5
| | | | | | | | Enable build notifications to build@openvswitch.org Co-authored-by: Ben Pfaff <blp@nicira.com> Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* build: Add travis continuous integration supportThomas Graf2014-08-251-0/+13
This enables the use of travis-ci via github. Linking any ovs github repo to travis-ci [0] will automatically lead to a build and testsuite run being triggered for each new commit or pull requests against the repo. The introduction of any warnings will cause the build to fail as both gcc and clang are invoked with -Werror. The build matrix currently includes: * --disable-ssl * --with-linux=linux-3.14.7 * --with-dpdk=1.7.0 Each of these builds is performed with gcc+sparse and clang. The testsuite is only run for the --with-linux build to keep the total build time on an acceptable level. Build failures are reported to the author and commiter by email, through the travis-ci web UI, and in the github pull request. A full build report example can be found here [1] [0] http://travis-ci.org/ [1] https://travis-ci.org/tgraf/ovs/builds/33485228 Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Signed-off-by: Ben Pfaff <blp@nicira.com>