summaryrefslogtreecommitdiff
path: root/utilities/ovs-dev.py
Commit message (Collapse)AuthorAgeFilesLines
* ovs-dev: Load all available vport modules on modinstThomas Graf2015-04-221-0/+1
| | | | | | | | | Automatically load all vport modules upon 'modinst' in case they are not properly installed and thus not autoloaded. Suggested-by: Flavio Leitner <fbl@sysclose.org> Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Flavio Leitner <fbl@sysclose.org>
* ovs-dev: Hint that vport modules may need to be loaded manuallyThomas Graf2015-04-221-0/+5
| | | | | | | | In case the openvswitch.ko is loaded manually without dependencies built, the vport modules need to be loaded manually as well. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Flavio Leitner <fbl@sysclose.org>
* ovs-dev.py: Remove vport-*.ko at same time as openvswitch.ko.Ben Pfaff2015-04-051-2/+3
| | | | | | | | My guess is that this is the intent. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Justin Pettit <jpettit@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
* ovs-dev.py: Support running the clang binaries.Ethan Jackson2014-09-161-4/+14
| | | | | | | | They have slightly different support characteristics, so it's nice to easily switch between them for testing. Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Daniele Di Proietto <ddiproietto@vmware.com>
* ovs-dev.py: Support additional optimization flags.Ethan Jackson2014-09-161-4/+7
| | | | | | | | They may or may not make a difference, but there's no reason not to support passing them. Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Daniele Di Proietto <ddiproietto@vmware.com>
* ovs-dev.py: do not pass --enable-dummy to ovsdbDaniele Di Proietto2014-09-151-2/+2
| | | | | | | | --enable-dummy was useless anyway for ovsdb-server. Now it is an error to pass it. Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* ovs-dev.py: Support check-valgrind in the Makefile.Ethan Jackson2014-08-051-0/+1
| | | | | Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* ovs-dev.py: Add option to run tests in parallel.Joe Stringer2014-06-041-0/+6
| | | | | Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
* ovs-dev.py: Add option to specify which tests to run.Joe Stringer2014-06-041-0/+14
| | | | | Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
* ovs-dev.py: add option to run with dpdkDaniele Di Proietto2014-05-291-0/+19
| | | | | Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com> Acked-by: Ethan Jackson <ethan@nicira.com>
* ovs-dev.py: Add support for dpdk builds.Ethan Jackson2014-05-081-2/+12
| | | | Signed-off-by: Ethan Jackson <ethan@nicira.com>
* ovs-dev.py: Update repository location.Ben Pfaff2014-04-081-2/+2
| | | | | | | | The Open vSwitch repository has moved to Github. CC: Ethan Jackson <ethan@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Justin Pettit <jpettit@nicira.com>
* ovs-dev.py: Only build the Linux datapath with GCC.Ethan Jackson2014-01-241-2/+1
| | | | | | | | In practice, Linux kernel modules are only built with GCC, so it doesn't make much sense to spend time compiling them with clang. Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* configure: Enable silent rules.Ethan Jackson2014-01-221-1/+1
| | | | | | | | Configure has an option which supports quieter compilation. Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* ovs-dev.py: Configure silently.Ethan Jackson2014-01-221-1/+1
| | | | | Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* ovs-dev.py: Add compiler optimization options.Ethan Jackson2014-01-221-1/+9
| | | | | Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
* ovs-dev.py: Add "-fno-omit-frame-pointer" compiler argument.Ethan Jackson2014-01-221-1/+1
| | | | | | | | This makes it easier for development tools including "perf", give clean backtraces on x86-64 systems. Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
* ovs-dev.py: Pass leak-check=full to valgrind.Ethan Jackson2013-12-231-1/+1
| | | | | | | This valgrind leak checker isn't really useful without this. Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* ovs-dev.py: Build with both GCC and Clang.Ethan Jackson2013-12-121-16/+57
| | | | | | | | | | | Many deployments prefer to use gcc in production and it supports sparse, while clang supports thread safety analysis and has more/better warnings and error messages. This patch changes ovs-dev.py to build with both so that developers are unlikely to miss something that one or the other could catch. Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* ovs-dev.py: Remove duplicate name from the help string.Saurabh Shah2013-11-111-1/+1
| | | | | Signed-off-by: Saurabh Shah <ssaurabh@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* ovs-dev.py: Use custom suppressions when running valgrind.Ethan Jackson2013-07-291-1/+3
| | | | Signed-off-by: Ethan Jackson <ethan@nicira.com>
* ovs-dev.py: Add support for clang builds.Ethan Jackson2013-07-291-1/+10
| | | | | Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* ovs-dev.py: Rely on configure for warning options.Ethan Jackson2013-07-291-1/+1
| | | | | | | | Both -Wall and -Wextra are handled by autoconf, so there's no longer a need for ovs-dev.py to pass them through CFLAGS. Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* utilities: New helper script ovs-dev.py.Ethan Jackson2013-07-091-0/+300
ovs-dev.py is a script I've written to help perform common tasks necessary for developing Open vSwitch. It allows a developer to configure, build, and run the switch with a minimum of effort or knowledge of the various idiosyncrasies involved. Signed-off-by: Ethan Jackson <ethan@nicira.com>