[ovs-git] [openvswitch/ovs] 418d24: travis: fix errors

GitHub noreply at github.com
Thu May 7 23:53:07 UTC 2015


  Branch: refs/heads/ovn
  Home:   https://github.com/openvswitch/ovs
  Commit: 418d2485aa029015389768bbc2f66a50c6281880
      https://github.com/openvswitch/ovs/commit/418d2485aa029015389768bbc2f66a50c6281880
  Author: Mark Kavanagh <mark.b.kavanagh at intel.com>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M .travis/build.sh
    M .travis/prepare.sh

  Log Message:
  -----------
  travis: fix errors

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 at intel.com>
Signed-off-by: Thomas Graf <tgraf at noironetworks.com>


  Commit: aeef025a4a70352203852258b8fc1339a735139d
      https://github.com/openvswitch/ovs/commit/aeef025a4a70352203852258b8fc1339a735139d
  Author: Gurucharan Shetty <gshetty at nicira.com>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M INSTALL.Windows.md

  Log Message:
  -----------
  INSTALL.Windows: Correct invalid paths.

commit 0be55e389d2f1 (INSTALL.Windows: Add documentation about Windows
services.) added documentation about starting Windows services but
provided wrong executable paths. This commit fixes it.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Nithin Raju <nithin at vmware.com>


  Commit: 64d15689a841c02df0762c3b17da4246e4fb62de
      https://github.com/openvswitch/ovs/commit/64d15689a841c02df0762c3b17da4246e4fb62de
  Author: Nithin Raju <nithin at vmware.com>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M INSTALL.Windows.md

  Log Message:
  -----------
  INSTALL.Windows.md: add steps for disabling test-signing.

Added the commands to be able to install an unsigned driver.

Signed-off-by: Nithin Raju <nithin at vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: a75776e6091b8597d966bc1a1cabb150a2de08f0
      https://github.com/openvswitch/ovs/commit/a75776e6091b8597d966bc1a1cabb150a2de08f0
  Author: Jesse Gross <jesse at nicira.com>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M datapath/linux/compat/gso.h
    M datapath/linux/compat/include/linux/skbuff.h
    M datapath/linux/compat/skbuff-openvswitch.c

  Log Message:
  -----------
  datapath: Update inner offsets when expanding headroom.

skb protocol offsets are relative to the beginning of the
buffer and therefore must be updated if the buffer size is
expanded. Kernel functions do this automatically for existing
fields but obviously not for anything that we backport. This
introduces a wrapper for pskb_expand_head() to update the
inner protocol fields that we have backported.

Without this, a kernel crash can be triggered with tunnel
packets that do not have enough headroom and need to be
segmented. pskb_expand_head() is called in directly through
skb_cow_head() at the beginning of each of the tunnel transmit
routines.

Reported-by: Yinpeijun <yinpeijun at huawei.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 619c3a42dc1e3fb4e5d0afb3c926ac3d1e7ea7a2
      https://github.com/openvswitch/ovs/commit/619c3a42dc1e3fb4e5d0afb3c926ac3d1e7ea7a2
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M lib/automake.mk
    A lib/perf-counter.c
    A lib/perf-counter.h

  Log Message:
  -----------
  lib: add a hardware performance counter access library

First cut of adding a performance library that provides access to
hardware counters. Please see comments in perf-counter.h for
more details.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: 97a3c43515e86afaff0808e9a9f4cdfaca39792b
      https://github.com/openvswitch/ovs/commit/97a3c43515e86afaff0808e9a9f4cdfaca39792b
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M ovsdb/ovsdb-server.c

  Log Message:
  -----------
  ovsdb: integrate perf-counter infrastructure into ovsdb-server

This integration also adds two commands:

ovsdb-server/perf-counters-show -- show all counters
ovsdb-server/perf-counters-clear -- clear all counters

There is no pre-configured sample points. A programmer needs to
added sampling point by changing the source code. However he
does not need to worry about infrastructures such as initialization
or cleaning up memory when ovsdb-server exits.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: 77e2b03174d5e39eb99bcfba6fbc620402154674
      https://github.com/openvswitch/ovs/commit/77e2b03174d5e39eb99bcfba6fbc620402154674
  Author: Terry Wilson <twilson at redhat.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    A python/.gitignore
    A python/README.rst
    M python/automake.mk
    A python/setup.py

  Log Message:
  -----------
  python: Add setuptools for Python lib for PyPI.

This adds very basic support for setuptools so that the OVS Python
lib can be added to PyPI.

This currently uses the Open vSwitch version number and the
generated dirs.py, though there is no real reason to tie the
Python libraries releases or version numbers to the main project's.

Signed-off-by: Terry Wilson <twilson at redhat.com>
Acked-by: Russell Bryant <rbryant at redhat.com>
Acked-by: Kyle Mestery <mestery at mestery.com>
[blp at nicira.com adjusted automake.mk]
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 55e3ca97d1cb8ee7de496381ef48ff248f527787
      https://github.com/openvswitch/ovs/commit/55e3ca97d1cb8ee7de496381ef48ff248f527787
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M lib/dpif-netdev.c

  Log Message:
  -----------
  dpif-netdev: Add simple per pmd-thread cycles counters.

The counters use x86 TSC if available (currently only with DPDK). They
will be exposed by subsequents commits

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: c8973eb634a8efff7593d2a2c160e2b8c09a8c3f
      https://github.com/openvswitch/ovs/commit/c8973eb634a8efff7593d2a2c160e2b8c09a8c3f
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M lib/dpif-netdev.c
    M lib/dpif-netlink.c
    M lib/dpif-provider.h
    M lib/dpif.c

  Log Message:
  -----------
  dpif-provider: Add class init function.

This init function is called when the dpif class is registered. It will
be used by following commits

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: 6553d06bd1797bd4f2849dc8da6a994fc9504ac7
      https://github.com/openvswitch/ovs/commit/6553d06bd1797bd4f2849dc8da6a994fc9504ac7
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M INSTALL.DPDK.md
    M lib/dpif-netdev.c
    M vswitchd/ovs-vswitchd.8.in

  Log Message:
  -----------
  dpif-netdev: Add dpif-netdev/pmd-stats-* appctl commands.

These commands can be used to get packets and cycles counters on a pmd
thread basis.  They're useful to get a clearer picture about the
performance of the userspace datapath.

They export these pieces of information:

- A (per-thread) view of the caches hit rate. Hits in the exact match
  cache are reported separately from hits in the masked classifier
- A rough cycles count. This will allow to estimate the load of OVS and
  the polling overhead.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: 0ef3258d6098012e4f2ebb78e979c24357f1c276
      https://github.com/openvswitch/ovs/commit/0ef3258d6098012e4f2ebb78e979c24357f1c276
  Author: Flavio Leitner <fbl at redhat.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M lib/perf-counter.c

  Log Message:
  -----------
  perf-counter: Lower log level when no perf counter.

Some arches don't support perf counter and an error message
breaks many tests from the testsuite.  Since the software still
runs without it, just inform that perf counters are not available
with using INFO level instead.

Signed-off-by: Flavio Leitner <fbl at redhat.com>
Acked-by: Russell Bryant <rbryant at redhat.com>
[blp at nicira.com removed unneeded \n from log message]
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: f084224a88aff7bb3ce15319874592a2d240ede6
      https://github.com/openvswitch/ovs/commit/f084224a88aff7bb3ce15319874592a2d240ede6
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M lib/perf-counter.c

  Log Message:
  -----------
  perf-counter: Fix 32-bit build break due to incorrect printf specifiers.

Fixes the following warnings from GCC on 32-bit architectures:

    ../lib/perf-counter.c: In function 'perf_counter_to_ds':
    ../lib/perf-counter.c:119:19: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' [-Werror=format]
    ../lib/perf-counter.c:119:19: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' [-Werror=format]

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>


  Commit: d663136e85bdb88ec11c617bbf07570f612b81e4
      https://github.com/openvswitch/ovs/commit/d663136e85bdb88ec11c617bbf07570f612b81e4
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M lib/perf-counter.h

  Log Message:
  -----------
  perf-counters: fix non-linux build

Commit '97a3c43515e' misses definitions for non-Linux platforms thus
broke builds for any non-Linux platform.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: e43a07ba6e8995c196d20841ea58208232a3ffd8
      https://github.com/openvswitch/ovs/commit/e43a07ba6e8995c196d20841ea58208232a3ffd8
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M tutorial/ovs-sandbox

  Log Message:
  -----------
  ovs-sandbox: add delay before running ovs-vsctl

When running ovsdb-server under gdb, there is a race that ovs-vsctl
command can be called before ovsdb-server is fully launched. This will
cause ovs-vsctl to fail.  This patch fixes this by delay issuing
the ovs-vsctl command until ovsdb-server is fully launched.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 60ceeb6c16572e75e7609ec53cf22f6700fd876f
      https://github.com/openvswitch/ovs/commit/60ceeb6c16572e75e7609ec53cf22f6700fd876f
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M tutorial/Tutorial.md
    M tutorial/ovs-sandbox

  Log Message:
  -----------
  ovs-sandbox: add '-r' and '-e' options

'-e' option will run ovs-vswitchd under gdb, but runs immediately
instead of waiting for user input. '-r' options applies to ovsdb-server.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>


  Commit: 296527dffb8b6f90f2305bd20bae36be3add3cdc
      https://github.com/openvswitch/ovs/commit/296527dffb8b6f90f2305bd20bae36be3add3cdc
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M lib/perf-counter.c

  Log Message:
  -----------
  perf-counter: fix compiler warnings

Gcc complains about:
lib/perf-counter.c:43:13: error: ignoring return value of 'read',
declared with attribute warn_unused_result [-Werror=unused-result]
   read(fd__, counter, sizeof(*counter));

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>


  Commit: 8c0294bdfecfdf91b227f1eb2b48c1cabf287235
      https://github.com/openvswitch/ovs/commit/8c0294bdfecfdf91b227f1eb2b48c1cabf287235
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M lib/perf-counter.c

  Log Message:
  -----------
  perf-counter: use 'int' instead of size_t

'size_t' does not allow for catching the case where 'read' returns
an error code, which is a negative number.

Reported-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Andy Zhou <azhou at nicira.com>


  Commit: dbde55e7fa21881af18a48502c91168be269482a
      https://github.com/openvswitch/ovs/commit/dbde55e7fa21881af18a48502c91168be269482a
  Author: Mark D. Gray <mark.d.gray at intel.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M INSTALL.DPDK.md

  Log Message:
  -----------
  INSTALL.DPDK.md: Fix whitespace.

Signed-off-by: Mark D. Gray <mark.d.gray at intel.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 3088fab7cb5caf2308dfda3f2d713c87ac4f35df
      https://github.com/openvswitch/ovs/commit/3088fab7cb5caf2308dfda3f2d713c87ac4f35df
  Author: Mark D. Gray <mark.d.gray at intel.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M INSTALL.DPDK.md

  Log Message:
  -----------
  INSTALL.DPDK.md: Update ivshmem page size restrictions

Update ivshmem restrictions to indicate that ivshmem does
not currently support small pages when sharing with a guest
operating system.

Reported-by: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: Mark D. Gray <mark.d.gray at intel.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: ea4226359f634885ed4ff9b9fd291c0b3be93b11
      https://github.com/openvswitch/ovs/commit/ea4226359f634885ed4ff9b9fd291c0b3be93b11
  Author: Kevin Lo <kevlo at FreeBSD.org>
  Date:   2015-04-15 (Wed, 15 Apr 2015)

  Changed paths:
    M lib/netdev-bsd.c

  Log Message:
  -----------
  netdev-bsd: Remove duplicate header inclusion of <netinet/in.h>

Signed-off-by: Kevin Lo <kevlo at FreeBSD.org>
Acked-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 11b068428d32d5acb0599d251355d7fad6ff73ee
      https://github.com/openvswitch/ovs/commit/11b068428d32d5acb0599d251355d7fad6ff73ee
  Author: Justin Pettit <jpettit at nicira.com>
  Date:   2015-04-15 (Wed, 15 Apr 2015)

  Changed paths:
    M vswitchd/ovs-vswitchd.c

  Log Message:
  -----------
  ovs-vswitchd: Don't print supported OpenFlow versions with "-V".

When "-V" was supplied to ovs-vswitchd, it was returning a max supported
OpenFlow version of 1.0, which is no longer true.  There are other
methods to determine the supported OpenFlow versions in ovs-vswitchd, so
remove it from the "-V" output.

Reported-by: Russell Bryant <rbryant at redhat.com>
Signed-off-by: Justin Pettit <jpettit at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>


  Commit: f097013adabf50cf8d82562f0893d60999294bba
      https://github.com/openvswitch/ovs/commit/f097013adabf50cf8d82562f0893d60999294bba
  Author: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M tests/run-ryu

  Log Message:
  -----------
  run-ryu: Use the IANA OpenFlow port number

Specify the use of the port 6653 for ryu side explicitly
because it still defaults to port 6633.

Fixes check-ryu after commit d4763d1d4efbbcfd884df2d668980d61ec89d75a.
("Use the IANA-assigned ports for OpenFlow and OVSDB.")

Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 79ae214d2d93e4ae584455db0cc0e054b76cc711
      https://github.com/openvswitch/ovs/commit/79ae214d2d93e4ae584455db0cc0e054b76cc711
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M lib/dpctl.c

  Log Message:
  -----------
  dpctl: Fix error handling and reporting regressions.

Fixes multiple weaknesses in dpctl error reporting:

    * dpctl_set_if() didn't stop processing or report to the caller
      attempts to change a port type or number.

    * dpctl_set_if() didn't report the specifics when netdev_set_config()
      reported an error setting port configuration (which can happen even
      it returns 0).

    * The unixctl handler didn't report errors encountered during command
      processing through the JSON-RPC error mechanism, which meant that
      ovs-appctl's return code wasn't useful (as ovs-dpctl's return code
      is useful) for detecting errors in command execution.

At least the first of these is a regression from OVS 2.3.x.

A followup commit will add tests.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>


  Commit: 17050610ec44820dca59c3bfa617f55d3add2cfc
      https://github.com/openvswitch/ovs/commit/17050610ec44820dca59c3bfa617f55d3add2cfc
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M lib/dpif-netdev.c

  Log Message:
  -----------
  dpif-netdev: Reject adding duplicate ports.

Otherwise it is at least very confusing.

Found during testing.  An upcoming commit adds a test.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>


  Commit: 5acf2e916a830e4b93eaf18cce5cced9a2a1ab5d
      https://github.com/openvswitch/ovs/commit/5acf2e916a830e4b93eaf18cce5cced9a2a1ab5d
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M tests/automake.mk
    A tests/dpctl.at
    M tests/dpif-netdev.at
    M tests/testsuite.at

  Log Message:
  -----------
  dpctl: Add tests.

These tests prevent regressions against the problems fixed by the previous
two commits.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>


  Commit: f0b3bf9806356bda0db36c49e3356a3a1e3f5e59
      https://github.com/openvswitch/ovs/commit/f0b3bf9806356bda0db36c49e3356a3a1e3f5e59
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M lib/ovs-lldp.c

  Log Message:
  -----------
  ovs-lldp: Avoid free() of static data in aa_print_element_status_port().

In some cases 'id' could point to the static string "<None>", which was
then passed to free() even though it must not be.  This commit fixes the
problem.

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>
Acked-by: Dennis Flynn <drflynn at avaya.com>


  Commit: df4d9ec38a8ba20af7d2d834e0dc2519970228a6
      https://github.com/openvswitch/ovs/commit/df4d9ec38a8ba20af7d2d834e0dc2519970228a6
  Author: Nithin Raju <nithin at vmware.com>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M INSTALL.Windows.md

  Log Message:
  -----------
  INSTALL.Windows: external.1 should be part of 'br-pif'

Fixing a minor typo introduced in a previous commit.

Signed-off-by: Nithin Raju <nithin at vmware.com>
Acked-by: Eitan Eliahu <eliahue at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: c3db81e3eda7168287c421e4e6b3b53086e2238c
      https://github.com/openvswitch/ovs/commit/c3db81e3eda7168287c421e4e6b3b53086e2238c
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M datapath/linux/compat/netdevice.c

  Log Message:
  -----------
  datapath:netdevice: Export rpl_skb_gso_segment.

With the latest change of separating vports into their own modules,
we also need to explicitly export rpl_skb_gso_segment to avoid linker
error.

VMware-BZ: #1432578
VMware-BZ: #1308175

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


  Commit: 212c4d5a0c6967581346076961ef9f25881b336d
      https://github.com/openvswitch/ovs/commit/212c4d5a0c6967581346076961ef9f25881b336d
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M lib/rstp-state-machines.c

  Log Message:
  -----------
  lib/rstp: Remove a dead store.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Daniele Venturino <daniele.venturino at m3s.it>


  Commit: 9a6156bb8e8e4ae61d7a167f3a2337270e68f119
      https://github.com/openvswitch/ovs/commit/9a6156bb8e8e4ae61d7a167f3a2337270e68f119
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M configure.ac
    M lib/perf-counter.c
    M lib/perf-counter.h
    M m4/openvswitch.m4

  Log Message:
  -----------
  autoconf: check for linux/perf_event.h

Older Linux prior to version 2.6.32 do not support user mode
performance events, They also don't have 'linux/perf_event.h' header
file. Add check for those older Linux to conditionally compile
perf-counter.c

Reported-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Alex Wang <alexw at nicira.com>


  Commit: 8790a8b4eff04ab10fab3581ff97059899c72d6a
      https://github.com/openvswitch/ovs/commit/8790a8b4eff04ab10fab3581ff97059899c72d6a
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M lib/perf-counter.c
    M lib/perf-counter.h

  Log Message:
  -----------
  perf-counter: remove initial VLOG_INFO message when performance counter is not available

Unit tests "corrupted database log" and "database log with bad
transaction" will fail without this patch.

Reported-by: Ansis Atteka <aatteka at nicira.com>¬
Signed-off-by: Andy Zhou <azhou at nicira.com>


  Commit: 908995c56feeac6dc8dda3865a1c2eb3e7b718fb
      https://github.com/openvswitch/ovs/commit/908995c56feeac6dc8dda3865a1c2eb3e7b718fb
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-17 (Fri, 17 Apr 2015)

  Changed paths:
    M lib/ofp-parse.c
    M tests/ofproto.at

  Log Message:
  -----------
  ofp-parse: Properly report error for invalid bucket ID.

The inner 'error' shadowed an outer one, so that the error, when set, was
never returned to the caller.

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


  Commit: 23d735b043ab77f9823e39b299a73a371521a73a
      https://github.com/openvswitch/ovs/commit/23d735b043ab77f9823e39b299a73a371521a73a
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-17 (Fri, 17 Apr 2015)

  Changed paths:
    M lib/ovs-lldp.c

  Log Message:
  -----------
  ovs-lldp: Remove unused variable 'lldp_size'.

Doesn't seem to be good for anything.

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Kevin Lo <kevlo at FreeBSD.org>
Acked-by: Dennis Flynn <drflynn at avaya.com>


  Commit: 255a54ea9099a44974f6102248424ee0399a39d3
      https://github.com/openvswitch/ovs/commit/255a54ea9099a44974f6102248424ee0399a39d3
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-17 (Fri, 17 Apr 2015)

  Changed paths:
    M lib/ofp-actions.c

  Log Message:
  -----------
  ofp-actions: Remove dead store in ofpacts_pull_openflow_instructions().

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


  Commit: 38221f4ed21ad89b2490dd583f3d4c5196041027
      https://github.com/openvswitch/ovs/commit/38221f4ed21ad89b2490dd583f3d4c5196041027
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-17 (Fri, 17 Apr 2015)

  Changed paths:
    M lib/nx-match.c

  Log Message:
  -----------
  nx-match: Avoid null pointer dereference in nx_pull_header__() error case.

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


  Commit: e7d6348614249fe147070a955632b119102d6626
      https://github.com/openvswitch/ovs/commit/e7d6348614249fe147070a955632b119102d6626
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-17 (Fri, 17 Apr 2015)

  Changed paths:
    M lib/netdev-bsd.c

  Log Message:
  -----------
  netdev-bsd: Fix netdev_bsd_get_mtu() return value.

When netdev_bsd_get_mtu() failed, it didn't report the error to the caller,
so the caller couldn't work around not knowing the MTU, and ended up using
an uninitialized 'mtu' value.

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Kevin Lo <kevlo at FreeBSD.org>
Acked-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>


  Commit: 577a81141ffc2e31e1e84b9f5de38bcb536b2cce
      https://github.com/openvswitch/ovs/commit/577a81141ffc2e31e1e84b9f5de38bcb536b2cce
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-17 (Fri, 17 Apr 2015)

  Changed paths:
    M lib/ovs-lldp.c

  Log Message:
  -----------
  ovs-lldp: Avoid use-after-free in aa_mapping_unregister().

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Dennis Flynn <drflynn at avaya.com>


  Commit: 494356bf551e62bc37f3610c3484ffea1ad4a2c1
      https://github.com/openvswitch/ovs/commit/494356bf551e62bc37f3610c3484ffea1ad4a2c1
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-17 (Fri, 17 Apr 2015)

  Changed paths:
    M vswitchd/bridge.c

  Log Message:
  -----------
  bridge: Fix use-after-free in bridge_aa_refresh_queue().

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Dennis Flynn <drflynn at avaya.com>


  Commit: 1c79befb3cdf1dd861f463c6f58762bc34f6784c
      https://github.com/openvswitch/ovs/commit/1c79befb3cdf1dd861f463c6f58762bc34f6784c
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-17 (Fri, 17 Apr 2015)

  Changed paths:
    M lib/perf-counter.c

  Log Message:
  -----------
  perf-counter: Remove unused vlog module.

Otherwise Clang warns about an unused variable.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Justin Pettit <jpettit at nicira.com>


  Commit: f315ae4f469a44c3691057b541425da4d4f9cbdf
      https://github.com/openvswitch/ovs/commit/f315ae4f469a44c3691057b541425da4d4f9cbdf
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-04-18 (Sat, 18 Apr 2015)

  Changed paths:
    M datapath/Makefile.am
    M datapath/Modules.mk
    M debian/dkms.conf.in
    M debian/rules

  Log Message:
  -----------
  dkms.conf.in: Install all kernel modules.

With the latest change of separating vports into their own modules,
we need to update the dkms.conf.in and make dkms install all vport
modules.  So, this commit modifies the debian/rules to read all
kernel module names and sets the dkms.conf correctly.

Signed-off-by: Alex Wang <alexw at nicira.com>


  Commit: c84e499a2de8b029c651548092a46e3a1062990d
      https://github.com/openvswitch/ovs/commit/c84e499a2de8b029c651548092a46e3a1062990d
  Author: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure.ac: Avoid using non-ascii characters in a comment

Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: c2deac545b68d2de5d9a3b966bafbb1c1993b8d3
      https://github.com/openvswitch/ovs/commit/c2deac545b68d2de5d9a3b966bafbb1c1993b8d3
  Author: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M acinclude.m4
    M configure.ac

  Log Message:
  -----------
  configure: Fix -Werror build for NetBSD + clang

On NetBSD, clang (clang-3.5.0 from pkgsrc) complains
when "clang -g" is used for linking.  Specify -Qunused-arguments
to suppress the warning.

Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 96660ed1fc05ab5f76ef93d2c06f0746e1e93250
      https://github.com/openvswitch/ovs/commit/96660ed1fc05ab5f76ef93d2c06f0746e1e93250
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M utilities/ovs-ofctl.8.in

  Log Message:
  -----------
  ovs-ofctl: Fix documentation of burst_size.

Reported-by: Kentaro Ebisawa <ebiken.g at gmail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Justin Pettit <jpettit at nicira.com>


  Commit: 513a32eea658ed86f3aaa3eda9f701d31d6fbcd6
      https://github.com/openvswitch/ovs/commit/513a32eea658ed86f3aaa3eda9f701d31d6fbcd6
  Author: Kevin Lo <kevlo at FreeBSD.org>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure.ac: Fix pthread linking on FreeBSD.

The configure script checks for the existence of pthread_sigmask.
However, on FreeBSD, libc contains no-op stubs for many of the
pthread_* functions.  As a result, the AC_SEARCH_LIBS macro returns
"none required".

As an alternative to checking pthread_sigmask, a solution is to check
pthread_create.

Signed-off-by: Kevin Lo <kevlo at FreeBSD.org>
Acked-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 19aef6ef26d36511d820e3e629c57df59eb0941d
      https://github.com/openvswitch/ovs/commit/19aef6ef26d36511d820e3e629c57df59eb0941d
  Author: Dennis Flynn <drflynn at avaya.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M lib/ovs-lldp.c
    M lib/ovs-lldp.h
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  auto-attach: Implement interface lldp disable and re-enable

This commit completes the implementation of the lldp enable
option. Specifically after enabling lldp on a particular interface, lldp can
now be disabled and subsequently re-enabled. OVS will not transmit or receive
lldp packets if lldp is disabled on the interface.

Signed-off-by: Dennis Flynn <drflynn at avaya.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: b937e116da2cf64973248123a57a68261797b7dd
      https://github.com/openvswitch/ovs/commit/b937e116da2cf64973248123a57a68261797b7dd
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M lib/netlink-socket.c

  Log Message:
  -----------
  netlink-socket: Exit NL transaction loop when EINVAL is returned

The nl_sock_transact_multiple function enters in an infinite loop,
when invalid error, EINVAL, is returned by nl_sock_transact_multiple__.
EINVAL is the error returned by the latter function when a driver
request fails.

Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Reported-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/57
Acked-by: Eitan Eliahu <eliahue at vmware.com>
Acked-by: Nithin Raju <nithin at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 9ff55ae284809bd63fe1c9c9a90b1733193e76cd
      https://github.com/openvswitch/ovs/commit/9ff55ae284809bd63fe1c9c9a90b1733193e76cd
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M lib/dpif-netdev.c

  Log Message:
  -----------
  dpif-netdev: Store actions data and size contiguously.

As stated by the comment above the structure, the 'action' pointer does not
change during the 'dp_netdev_actions' lifetime: we might as well embed
the pointed memory into the structure.

The commit also updates the description of dp_netdev_actions_create().

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: 11bfdaddf2035efe054b6a098dc3b8aeeb65eeb6
      https://github.com/openvswitch/ovs/commit/11bfdaddf2035efe054b6a098dc3b8aeeb65eeb6
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M lib/dpif-netdev.c

  Log Message:
  -----------
  dpif-netdev: Cache time_msec() calls for each received batch.

Calling time_msec() (which calls clock_gettime()) too often might be
expensive.  With this commit OVS makes only one call per received
batch and caches the result.

Suggested-by: Ethan Jackson <ethan at nicira.com>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: 2bc1bbd27ded5752f438ff35673f38a527ea0915
      https://github.com/openvswitch/ovs/commit/2bc1bbd27ded5752f438ff35673f38a527ea0915
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M lib/dp-packet.h
    M lib/dpif-netdev.c
    M lib/netdev-bsd.c
    M lib/netdev-dummy.c
    M lib/netdev-linux.c
    M lib/netdev-vport.c
    M lib/odp-execute.c

  Log Message:
  -----------
  dp-packet: Rename 'dp_hash' in 'rss_hash'.

We already have the 'dp_hash' embedded in the metadata.  This caused
confusion in the code.  With this commit it should be clear that
'rss_hash' is the packet hash used for internal purposes, while
'md.dp_hash' is part of the flow, computed during the execution of
certain actions.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: 28e2fa027d8c44f0970e3f2f12911f8c1cdde3a2
      https://github.com/openvswitch/ovs/commit/28e2fa027d8c44f0970e3f2f12911f8c1cdde3a2
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M lib/dpif-netdev.c

  Log Message:
  -----------
  dpif-netdev: Batch packets when recirculating.

Now that we have per packet metadata, there's no need to split packet
batches when recirculating.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: b514f972821d2b8ff3de1e90827cf66ef65127ce
      https://github.com/openvswitch/ovs/commit/b514f972821d2b8ff3de1e90827cf66ef65127ce
  Author: Sorin Vinturis <svinturis at cloudbasesolutions.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M datapath-windows/ovsext/Switch.c

  Log Message:
  -----------
  datapath-windows: Removed assert from FilterNetPnPEvent handler

I have removed an inappropriate assert from the FilterNetPnPEvent
routine, OvsExtNetPnPEvent. When NDIS calls the FilterNetPnPEvent
routine, the extension is in paused state and, obviously, the
switch is not active. The switch becomes active after FilterRestart
routine is called and the restart is successfully complete.

Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Acked-by: Eitan Eliahu <eliahue at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: f0a5ac682769c3893bf68d608725ed42ebfc630c
      https://github.com/openvswitch/ovs/commit/f0a5ac682769c3893bf68d608725ed42ebfc630c
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M vswitchd/bridge.c

  Log Message:
  -----------
  in-band: Do not use manager with loopback address for in-band control.

If the manager resides on the same host as ovs, the manager target will
be the loopback address.  Then, if in-band is enabled on a bridge, the
in-band module will constantly checks the connection to the manager to
make sure the manager is reachable.  However, the connection checking
implementation cannot identify the route for the loopback address and
will keep issuing the following warning:

|in_band|WARN|cannot find route for controller (127.0.0.1): No such
device or address.

To fix this, this commit makes ovs not consider manager with loopback
for in-band control at all, since the manager is always reachable
on the same host.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 4e311c992e5b837e5513fc749ff8d700f498dee6
      https://github.com/openvswitch/ovs/commit/4e311c992e5b837e5513fc749ff8d700f498dee6
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M ofproto/in-band.c

  Log Message:
  -----------
  in-band: Mention ofproto name in the VLOG.

This will help the debugging of in-band module.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: f4fa820c2111c654474c8d14f2e8ce938300309a
      https://github.com/openvswitch/ovs/commit/f4fa820c2111c654474c8d14f2e8ce938300309a
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M AUTHORS
    M vswitchd/bridge.c

  Log Message:
  -----------
  bridge: Remove unused macro OFP_PORT_ACTION_WINDOW.

I guess that this was missed when the corresponding feature was removed.

Reported-by: David Evans <davidjoshuaevans at gmail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>


  Commit: fcc369bcfefb66aca78bafcb76bcc09545cce08e
      https://github.com/openvswitch/ovs/commit/fcc369bcfefb66aca78bafcb76bcc09545cce08e
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M FAQ.md

  Log Message:
  -----------
  FAQ: Refine discussion of how to get a kernel module.

This has come up a couple of times lately.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>


  Commit: c78a00b112c959e2b503f459e3e6aaa0c69e11f2
      https://github.com/openvswitch/ovs/commit/c78a00b112c959e2b503f459e3e6aaa0c69e11f2
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M vswitchd/bridge.c

  Log Message:
  -----------
  bridge: Remove redundant call to discover_types().

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>


  Commit: 186de41979352a7f111e3eec6744778d80ac17b0
      https://github.com/openvswitch/ovs/commit/186de41979352a7f111e3eec6744778d80ac17b0
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-21 (Tue, 21 Apr 2015)

  Changed paths:
    M tests/dpctl.at

  Log Message:
  -----------
  dpctl.at: Ignore string representation of error messages in output.

Different C libraries represent the same error code (particularly ENODEV)
differently.  This caused spurious test failures on BSD.  This commit
avoids the problem by ignoring the error string representations entirely.

Reported-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>


  Commit: 966904d27f15f0c93499d79cb8bd726750369831
      https://github.com/openvswitch/ovs/commit/966904d27f15f0c93499d79cb8bd726750369831
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-21 (Tue, 21 Apr 2015)

  Changed paths:
    M lib/netdev-dummy.c

  Log Message:
  -----------
  netdev-dummy: Fix null pointer deref in dummy_packet_conn_set_config().

This would trigger if someone tried to switch a dummy device between
active and passive connections.  It's not very important because dummy
devices are only enabled during testing.

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>


  Commit: 9dd30b0571020a012650e3907328fc8dc41b381a
      https://github.com/openvswitch/ovs/commit/9dd30b0571020a012650e3907328fc8dc41b381a
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-21 (Tue, 21 Apr 2015)

  Changed paths:
    M lib/ofp-util.c
    M tests/ofproto.at

  Log Message:
  -----------
  ofp-util: Add missing 'break;' in bad_group_cmd().

Otherwise you get an assertion failure in place of a helpful error message.

Also fix typo where the "remove-bucket" command was output as
"insert-bucket".

Also fix a nearby style violation and add a pair of tests to prevent
regression.

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>


  Commit: aa6fb0772f481b0f1a96c35c521a2eb0c4d5a179
      https://github.com/openvswitch/ovs/commit/aa6fb0772f481b0f1a96c35c521a2eb0c4d5a179
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-21 (Tue, 21 Apr 2015)

  Changed paths:
    M lib/ofp-parse.c
    M tests/ofproto.at

  Log Message:
  -----------
  ofp-parse: Properly report error for invalid group ID.

The inner 'error' shadowed an outer one, so that the error, when set, was
never returned to the caller.

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>


  Commit: a6df8ea0be5f68b644ed0bfcc68fed14d8fe5b96
      https://github.com/openvswitch/ovs/commit/a6df8ea0be5f68b644ed0bfcc68fed14d8fe5b96
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2015-04-22 (Wed, 22 Apr 2015)

  Changed paths:
    M utilities/ovs-ctl.in

  Log Message:
  -----------
  ovs-ctl: Unload & reload vport modules on force-reload-kmod

We manually rmmod the loaded vports as using modprobe -r
only works if the modules are available through modules.dep

We do not treat failures to load vports as a fatal error in case
the vport module has been renamed. Bringing the bridge back up is
considered more important. The error is still reported though.

Reported-by: Pravin Shelar <pshelar at nicira.com>
Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>


  Commit: e8ee793b8c2b5bcae629b261926ed81e94a85ee8
      https://github.com/openvswitch/ovs/commit/e8ee793b8c2b5bcae629b261926ed81e94a85ee8
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2015-04-22 (Wed, 22 Apr 2015)

  Changed paths:
    M utilities/ovs-dev.py

  Log Message:
  -----------
  ovs-dev: Hint that vport modules may need to be loaded manually

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 at noironetworks.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>


  Commit: d0d986a5d9c3b660aef4d3504028252c9e29c500
      https://github.com/openvswitch/ovs/commit/d0d986a5d9c3b660aef4d3504028252c9e29c500
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2015-04-22 (Wed, 22 Apr 2015)

  Changed paths:
    M NEWS

  Log Message:
  -----------
  NEWS: Leave a comment that vports are now separate kernel modules

Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>


  Commit: 2791b00ce177dec65a044ccc689f33cbb4e9600c
      https://github.com/openvswitch/ovs/commit/2791b00ce177dec65a044ccc689f33cbb4e9600c
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2015-04-22 (Wed, 22 Apr 2015)

  Changed paths:
    M utilities/ovs-dev.py

  Log Message:
  -----------
  ovs-dev: Load all available vport modules on modinst

Automatically load all vport modules upon 'modinst' in case
they are not properly installed and thus not autoloaded.

Suggested-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>


  Commit: 8cc0bed4d42ebb613372a909c2f24ac51dfb122f
      https://github.com/openvswitch/ovs/commit/8cc0bed4d42ebb613372a909c2f24ac51dfb122f
  Author: Gurucharan Shetty <gshetty at nicira.com>
  Date:   2015-04-22 (Wed, 22 Apr 2015)

  Changed paths:
    M tests/dpctl.at

  Log Message:
  -----------
  dpctl.at: tap devices don't exist on Windows.

The tests fail on Windows because tap device is not
a valid device on Windows. Use "dummy" device instead.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: a1dbf3d890984484aec06c7dfba912180b621c18
      https://github.com/openvswitch/ovs/commit/a1dbf3d890984484aec06c7dfba912180b621c18
  Author: Gurucharan Shetty <gshetty at nicira.com>
  Date:   2015-04-22 (Wed, 22 Apr 2015)

  Changed paths:
    M utilities/ovs-ctl.8

  Log Message:
  -----------
  ovs-ctl.8: Add a missing synopsis.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 5e65e080ad4d57eb3fcb7b53980cf6a4d1e8ae19
      https://github.com/openvswitch/ovs/commit/5e65e080ad4d57eb3fcb7b53980cf6a4d1e8ae19
  Author: Gurucharan Shetty <gshetty at nicira.com>
  Date:   2015-04-22 (Wed, 22 Apr 2015)

  Changed paths:
    M tests/ofproto-macros.at
    M tests/ovs-macros.at

  Log Message:
  -----------
  tests: Avoid Windows unit tests from hanging.

It has been observed that sometimes Windows unit tests hang.
This happens when a daemon is started but does not get terminated
when the test ends.

In one particular case, OVS_VSWITCHD_STOP is called which inturn
calls 'ovs-appctl exit'. This causes ovs-vswitchd's atexit handler
to cleanup the pidfiles. After this, the pthread destructurs get
called and a deadlock happens in there. This results in the
daemons not getting force killed resulting in the tests hanging
because the cleanup file tries to run the command
"kill `cat ovs-vswitchd.pid`" and ovs-vswitchd.pid no longer exists.

With this commit, we write the pid value of the daemons in the
cleanup file (instead of asking it to 'cat' the value later from
the pidfile). This way, even if the pidfiles get deleted, we can
still kill the daemons.

This commit also changes the way daemons are force killed in
Windows. It was observed that 'taskkill //F ' failed to kill
a deadlocked daemon running its pthread destructor. But
tskill succeeds.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
(ON_EXIT_UNQUOTED macro provided by Ben.)
Co-authored-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 1b99bb055218e56603cff764df6dd2f1d166a48d
      https://github.com/openvswitch/ovs/commit/1b99bb055218e56603cff764df6dd2f1d166a48d
  Author: Mark D. Gray <mark.d.gray at intel.com>
  Date:   2015-04-22 (Wed, 22 Apr 2015)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Reset RSS hash on transmit

When using DPDK rings (dpdkr port type), packet buffers get shared
to consumers of the rings (e.g. Virtual Machines). The packet buffers
also include the RSS hash. This is a hash of a number of fields
in the packet and is used in order to do a fast lookup in the EMC.

However, if a consumer of the packet modifies the packet without
regenerating the RSS hash, the EMC will use the same hash for lookup
even though the packet may belong to a different flow. This would
cause unnecessary collisions in the EMC reducing performance in the
presence of multiple flows.

To avoid receiving an incorrect RSS hash on reception from a DPDK
ring, the RSS hash needs to be reset on transmission. This will reduce
performance of the forwarding path as the RSS hash will need to
calculated for every packet received from an dpdkr but will behave
correctly in the presence of a large number of flows that get
modified by the consumer of a DPDK ring

Signed-off-by: Mark D. Gray <mark.d.gray at intel.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 83e09b5dfa35b95e9995713bdfcb9a27f9b4ed7f
      https://github.com/openvswitch/ovs/commit/83e09b5dfa35b95e9995713bdfcb9a27f9b4ed7f
  Author: Gurucharan Shetty <gshetty at nicira.com>
  Date:   2015-04-23 (Thu, 23 Apr 2015)

  Changed paths:
    M AUTHORS
    M INSTALL.md
    M tests/automake.mk

  Log Message:
  -----------
  testsuite: Don't apply the testsuite.patch on non-Windows platforms.

On CentOS machines which use autoconf version 2.63, the patch
application would fail.

Reported-by: Ian Stokes <ian.stokes at intel.com>
Tested-by: Ian Stokes <ian.stokes at intel.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: e1e29b268c77c862f2827beeb4f319396dc66ef2
      https://github.com/openvswitch/ovs/commit/e1e29b268c77c862f2827beeb4f319396dc66ef2
  Author: Nithin Raju <nithin at vmware.com>
  Date:   2015-04-23 (Thu, 23 Apr 2015)

  Changed paths:
    M datapath-windows/ovsext/Switch.c

  Log Message:
  -----------
  datapath-windows: don't free switch cxt until ref == 0

This is a hard to hit corner case, because currently we recommend that
all handles to the kernel datapath be closed before trying to unload the
OVS extension.

Signed-off-by: Nithin Raju <nithin at vmware.com>
Acked-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: dd92c6165ddb53922562c43fdcc8845dc4bb435a
      https://github.com/openvswitch/ovs/commit/dd92c6165ddb53922562c43fdcc8845dc4bb435a
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2015-04-23 (Thu, 23 Apr 2015)

  Changed paths:
    M build-aux/cccl

  Log Message:
  -----------
  Remove compiler warning

When linking executables on windows the following argument is passed
to the linker -Qunused-arguments.
This results in the following warning:
Command line warning D9002 : ignoring unknown option '-Qunused-arguments'

This patch removes that warning.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: 3ed424e5e5d614e08a58ffe700bbe88ed0514a7b
      https://github.com/openvswitch/ovs/commit/3ed424e5e5d614e08a58ffe700bbe88ed0514a7b
  Author: Sorin Vinturis <svinturis at cloudbasesolutions.com>
  Date:   2015-04-23 (Thu, 23 Apr 2015)

  Changed paths:
    M datapath-windows/ovsext/Datapath.c
    M datapath-windows/ovsext/Flow.c
    M datapath-windows/ovsext/Switch.c
    M datapath-windows/ovsext/User.c
    M datapath-windows/ovsext/Vport.c

  Log Message:
  -----------
  datapath-windows: Removed gOvsCtrlLock global spinlock

There is no need to use gOvsCtrlLock spinlock to guard the switch
context, as there is now the switch context's reference count used
for this purpose.

Now the gOvsCtrlLock spinlock guards only one shared resource, the
OVS_OPEN_INSTANCE global instance array.

Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin at vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: 298538142312f994b982b266f24f93405580ec5b
      https://github.com/openvswitch/ovs/commit/298538142312f994b982b266f24f93405580ec5b
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-04-26 (Sun, 26 Apr 2015)

  Changed paths:
    M acinclude.m4
    M datapath/linux/Modules.mk
    R datapath/linux/compat/include/linux/log2.h

  Log Message:
  -----------
  datapath: Remove linux/compat/include/linux/log2.h.

No longer need this compat file, we can use the upstream version
of the function.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


  Commit: bedf02f45b3614b6217a7be167cc13cd50b533cf
      https://github.com/openvswitch/ovs/commit/bedf02f45b3614b6217a7be167cc13cd50b533cf
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-04-26 (Sun, 26 Apr 2015)

  Changed paths:
    M AUTHORS
    M datapath/linux/compat/dev-openvswitch.c
    M datapath/linux/compat/exthdrs_core.c
    M datapath/linux/compat/flex_array.c
    M datapath/linux/compat/flow_dissector.c
    M datapath/linux/compat/genetlink-openvswitch.c
    M datapath/linux/compat/geneve.c
    M datapath/linux/compat/gre.c
    M datapath/linux/compat/gso.c
    M datapath/linux/compat/gso.h
    M datapath/linux/compat/include/linux/flex_array.h
    M datapath/linux/compat/include/linux/ip.h
    M datapath/linux/compat/include/linux/net.h
    M datapath/linux/compat/include/linux/netdevice.h
    M datapath/linux/compat/include/linux/reciprocal_div.h
    M datapath/linux/compat/include/linux/skbuff.h
    M datapath/linux/compat/include/net/checksum.h
    M datapath/linux/compat/include/net/genetlink.h
    M datapath/linux/compat/include/net/geneve.h
    M datapath/linux/compat/include/net/gre.h
    M datapath/linux/compat/include/net/ip_tunnels.h
    M datapath/linux/compat/include/net/ipv6.h
    M datapath/linux/compat/include/net/net_namespace.h
    M datapath/linux/compat/include/net/udp.h
    M datapath/linux/compat/include/net/udp_tunnel.h
    M datapath/linux/compat/include/net/vxlan.h
    M datapath/linux/compat/ip_tunnels_core.c
    M datapath/linux/compat/net_namespace.c
    M datapath/linux/compat/netdevice.c
    M datapath/linux/compat/reciprocal_div.c
    M datapath/linux/compat/skbuff-openvswitch.c
    M datapath/linux/compat/udp.c
    M datapath/linux/compat/udp_tunnel.c
    M datapath/linux/compat/utils.c
    M datapath/linux/compat/vxlan.c

  Log Message:
  -----------
  datapath: Prevent linker error of unknown symbol.

With the latest change of separating vports into their own modules,
it is necessary to export all public functions in linux/compat/
directory.  Also, we should prefix functions which replace the
upstream ones with 'rpl_' and others with 'ovs_'.  This will prevent
the linker error when vport modules use those functions in the future.
e.g., the to be merged vport-stt module will use the flex_array_*
functions which are not currently exported.

Co-authored-by: Tuan Nguyen <tuan.nguyen at veriksystems.com>
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


  Commit: b296b82a87326e68773b970284b8e012def0e3ba
      https://github.com/openvswitch/ovs/commit/b296b82a87326e68773b970284b8e012def0e3ba
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-04-26 (Sun, 26 Apr 2015)

  Changed paths:
    M datapath/Makefile.am
    M datapath/README.md
    M datapath/linux/Modules.mk
    A datapath/linux/compat/build-aux/export-check-whitelist

  Log Message:
  -----------
  datapath: Check the export of public functions in linux/compat/linux/.

This commit adds check in datapath/Makefile to make sure that all public
functions and exported symbols in linux/compat/ are either rpl_ or ovs_
prefixed, except those defined in compat/build-aux/export-check-whitelist.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


  Commit: 7cbbd7adeea57f9b2310a6e6e7c0e5e034a51ee8
      https://github.com/openvswitch/ovs/commit/7cbbd7adeea57f9b2310a6e6e7c0e5e034a51ee8
  Author: Jesse Gross <jesse at nicira.com>
  Date:   2015-04-26 (Sun, 26 Apr 2015)

  Changed paths:
    M datapath/linux/compat/include/net/udp_tunnel.h
    M datapath/linux/compat/udp_tunnel.c

  Log Message:
  -----------
  udptunnel: Kernel 3.20 doesn't exist.

When the UDP tunnel compat code was written, it backported some
functions that were slated to be in the next kernel release, then
called 3.20. However, this was ultimately released as 4.0 instead.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Reviewed-by: Simon Horman <simon.horman at netronome.com>


  Commit: 15c69d2d8f52669a57dd49827fe4e585ebdda105
      https://github.com/openvswitch/ovs/commit/15c69d2d8f52669a57dd49827fe4e585ebdda105
  Author: Jesse Gross <jesse at nicira.com>
  Date:   2015-04-26 (Sun, 26 Apr 2015)

  Changed paths:
    M datapath/linux/compat/geneve.c
    M datapath/linux/compat/include/net/geneve.h

  Log Message:
  -----------
  datapath: Use kernel Geneve implementation on 4.0 and above.

When Geneve was originally backported, it wasn't available as part
of a released kernel version but it is now, so we can take advantage
of the native implementation.

Note that Geneve was actually first available as part of the 3.18
kernel release but some drivers erroreously try to offload it as
if it were VXLAN, which was fixed in the 4.0 release. Since our
UDP tunnel compat layer already takes care of this, we continue
using the OVS Geneve implementation until 4.0.

Reported-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>
Reviewed-by: Simon Horman <simon.horman at netronome.com>


  Commit: 596be0ade604110937c82c515744801987346f7b
      https://github.com/openvswitch/ovs/commit/596be0ade604110937c82c515744801987346f7b
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-04-27 (Mon, 27 Apr 2015)

  Changed paths:
    M lib/ofp-parse.c

  Log Message:
  -----------
  ofp-parse: Correctly report error parsing selection method parameter.

Found by LLVM scan-build.

Reported-by: Kevin Lo <kevlo at FreeBSD.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Simon Horman <simon.horman at netronome.com>
Acked-by: Kevin Lo <kevlo at FreeBSD.org>


  Commit: d7d417fcddf972ee14e678352017daaf626437fa
      https://github.com/openvswitch/ovs/commit/d7d417fcddf972ee14e678352017daaf626437fa
  Author: Terry Wilson <twilson at redhat.com>
  Date:   2015-04-27 (Mon, 27 Apr 2015)

  Changed paths:
    M python/ovs/db/idl.py
    M tests/ovsdb-idl.at
    M tests/test-ovsdb.py

  Log Message:
  -----------
  Allow subclasses of Idl to define a notification hook

It is useful to make the notification events that Idl processes
accessible to users of the library. This will make it possible to
keep external systems in sync, but does not impose any particular
notification pattern.

The Row.from_json() call is added to be able to convert the 'old'
JSON response on an update to a Row object to make it easy for
users of notify() to see what changed, though this usage of Row
is quite different than Idl's typical use.

Signed-off-by: Terry Wilson <twilson at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 26bfaeaa968758e7ce6050d2303a0a215636989f
      https://github.com/openvswitch/ovs/commit/26bfaeaa968758e7ce6050d2303a0a215636989f
  Author: Jesse Gross <jesse at nicira.com>
  Date:   2015-04-27 (Mon, 27 Apr 2015)

  Changed paths:
    M datapath/datapath.c

  Log Message:
  -----------
  datapath: Stop using __DATE__ and __TIME__ in startup string.

An increasing number of distributions ship with GCC 4.9 (including
Fedora and Ubuntu) that has -Werror=date-time. This causes kernel
compilation to fail because the builds are not exactly reproducible.

This simply removes the use of those constants, which was already
done for the upstream Linux version of the module. It retains the
version string, however, which should provide the same information
in most cases.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: d3de1af728326646d1a9fe686c6230b79e6d64c1
      https://github.com/openvswitch/ovs/commit/d3de1af728326646d1a9fe686c6230b79e6d64c1
  Author: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
  Date:   2015-04-28 (Tue, 28 Apr 2015)

  Changed paths:
    M datapath/Makefile.am

  Log Message:
  -----------
  datapath: Fix check-export-symbol for non-bash shells

Avoid using a bash construct (=~) in the target.

An alternative would be to make the configure script require
bash explicitly.  (Currently it doesn't and on NetBSD /bin/ksh
is likely used.)

The code in question was introduced by
commit b296b82a87326e68773b970284b8e012def0e3ba .
("datapath: Check the export of public functions in linux/compat/linux/.")

Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Acked-by: Alex Wang <alexw at nicira.com>


  Commit: 5c62a855c7bb24424cbe7ec48ecf2f128db8b102
      https://github.com/openvswitch/ovs/commit/5c62a855c7bb24424cbe7ec48ecf2f128db8b102
  Author: Sorin Vinturis <svinturis at cloudbasesolutions.com>
  Date:   2015-04-28 (Tue, 28 Apr 2015)

  Changed paths:
    M datapath-windows/ovsext/User.c

  Log Message:
  -----------
  datapath-windows: Removed duplicate instance pid removal

Instance PID is already deleted in the OvsCleanupPacketQueue function.

Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin at vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: 9719aee5c7bf4d3b99a0b25eecf86ea0eef652e8
      https://github.com/openvswitch/ovs/commit/9719aee5c7bf4d3b99a0b25eecf86ea0eef652e8
  Author: Sorin Vinturis <svinturis at cloudbasesolutions.com>
  Date:   2015-04-29 (Wed, 29 Apr 2015)

  Changed paths:
    M datapath-windows/ovsext/Switch.c
    M datapath-windows/ovsext/TunnelFilter.c
    M datapath-windows/ovsext/TunnelIntf.h

  Log Message:
  -----------
  datapath-windows: Enable extension after rrestart

The extension failed to be activated during booting due to the
failure to initialize tunnel filter. This happened because the Base
Filtering Engine (BFE) is not started and no session to the engine
could be acquired.

The solution for this was to registered a BFE notification callback
that is called whenever the BFE's state changes. Only if the BFE's
state is running the tunnel filter is initialized.

Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Reported-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/77
Acked-by: Eitan Eliahu <eliahue at vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: a51a50862a9b9933067fef7651783b2a611f524a
      https://github.com/openvswitch/ovs/commit/a51a50862a9b9933067fef7651783b2a611f524a
  Author: Nithin Raju <nithin at vmware.com>
  Date:   2015-04-29 (Wed, 29 Apr 2015)

  Changed paths:
    M datapath-windows/ovsext/Datapath.c
    M datapath-windows/ovsext/Datapath.h
    M lib/netlink-socket.c

  Log Message:
  -----------
  ovs-hyperv: make kernel return values netlink socket like

In this patch, we make changes to usersapce as well as
kernel datapath on hyperv to make it more netlink socket
like. Previously, the kernel datapath did not distinguish
between "transport errors" and other errors. Netlink
semantics dictate that netlink functions should only
return an error only in the case of a "transport error"
which is generally something fatal. Eg. failure to
communicate with the OVS module, or an invalid command
altogether. Other errors such as an unsupported action,
or an invalid flow key is not considered a "transport
error", and in such cases, netlink functions are to return
success with a 'struct nlmsgerr' populated in the output
buffer.

This patch implements these semantics.

Signed-off-by: Nithin Raju <nithin at vmware.com>
Acked-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/72
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 4237026e52f6bfa1dac0162dd82f7bb3f26c833d
      https://github.com/openvswitch/ovs/commit/4237026e52f6bfa1dac0162dd82f7bb3f26c833d
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-04-29 (Wed, 29 Apr 2015)

  Changed paths:
    M FAQ.md
    M NEWS
    M datapath/Modules.mk
    M datapath/linux/.gitignore
    M datapath/linux/Modules.mk
    M datapath/linux/compat/gso.h
    M datapath/linux/compat/include/linux/openvswitch.h
    A datapath/linux/compat/include/net/stt.h
    A datapath/linux/compat/stt.c
    A datapath/vport-stt.c
    M lib/dpif-netlink.c
    M lib/netdev-vport.c
    M ofproto/ofproto-dpif-ipfix.c
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  datapath: Add Stateless TCP Tunneling protocol.

The Stateless TCP Tunnel (STT) protocol encapsulates traffic in
IPv4/TCP packets.
STT uses TCP segmentation offload available in most of NIC. On
packet xmit STT driver appends STT header along with TCP header
to the packet. For GSO packet GSO parameters are set according
to tunnel configuration and packet is handed over to networking
stack. This allows use of segmentation offload available in NICs

The protocol is documented at
http://www.ietf.org/archive/id/draft-davie-stt-06.txt

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


  Commit: 1aa2bf92505da27320b37b53244fb9715062ab04
      https://github.com/openvswitch/ovs/commit/1aa2bf92505da27320b37b53244fb9715062ab04
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-04-29 (Wed, 29 Apr 2015)

  Changed paths:
    M tests/test-ovsdb.py

  Log Message:
  -----------
  test-ovsdb: Fix conditional statement.

Old version of python does not support the following conditional
statement syntax in one assignment:

   var = value1 if cond else value2

This commit fixes it by convert it back to use two assignments.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>


  Commit: 46add523b379082f2784969ad47def0d602f0fe6
      https://github.com/openvswitch/ovs/commit/46add523b379082f2784969ad47def0d602f0fe6
  Author: Joe Stringer <joestringer at nicira.com>
  Date:   2015-04-29 (Wed, 29 Apr 2015)

  Changed paths:
    M datapath/Makefile.am

  Log Message:
  -----------
  datapath: Tidy up duplicate symbol detection.

Don't print each symbol that is iterated.
Make the error message more clear by prefixing "error: ".

Signed-off-by: Joe Stringer <joestringer at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 66cabc46ecc09eeae536277a0fc7d5e44836f845
      https://github.com/openvswitch/ovs/commit/66cabc46ecc09eeae536277a0fc7d5e44836f845
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2015-04-29 (Wed, 29 Apr 2015)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  gitignore: Add file to .gitignore

Add testsuite.tmp.orig to .gitignore

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: 543342a41cbceffaac30ace2c66b6e489eb359c8
      https://github.com/openvswitch/ovs/commit/543342a41cbceffaac30ace2c66b6e489eb359c8
  Author: Mark Kavanagh <mark.b.kavanagh at intel.com>
  Date:   2015-04-29 (Wed, 29 Apr 2015)

  Changed paths:
    M .travis/build.sh
    M INSTALL.DPDK.md
    M acinclude.m4
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  DPDK: add support for v2.0.0

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 at intel.com>
Signed-off-by: Panu Matilainen <pmatilai at redhat.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 0890056e596ac1d1d972ea3e7ad867fa76ffb875
      https://github.com/openvswitch/ovs/commit/0890056e596ac1d1d972ea3e7ad867fa76ffb875
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-05-01 (Fri, 01 May 2015)

  Changed paths:
    M lib/netdev-vport.c

  Log Message:
  -----------
  dpctl: cleaner dpctl output for tunnel ports.

Currently dont-fragment and TTL are initialized to zero, but
those are not default config for tunnel ports.  dpctl
does not show default config of a port.  So by setting these
values to default we can get cleaner `dpctl show` output.

% ovs-dpctl show
system at ovs-system:
	port 0: ovs-system (internal)
	port 1: br0 (internal)
	port 4: gre_sys (gre: df_default=false, ttl=0)

% ovs-dpctl show # After initializing default values.
system at ovs-system:
	port 0: ovs-system (internal)
	port 1: br0 (internal)
	port 4: gre_sys (gre)

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


  Commit: 9b928914480271f91a64d78e0e8d812060f3d455
      https://github.com/openvswitch/ovs/commit/9b928914480271f91a64d78e0e8d812060f3d455
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-05-01 (Fri, 01 May 2015)

  Changed paths:
    M datapath/linux/compat/gre.c
    M datapath/linux/compat/include/net/gre.h

  Log Message:
  -----------
  datapath: gre: Reset fix_segment pointer.

For kernel version 3.12 to 3.18, GRE uses compat code to
transmit packets which used fix_segment to segment packets.
but ovs_gso_cb->fix_segment is not initialized for GRE tunnels.
Following patches fixes it by resetting fix_segment.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


  Commit: 2c3f6a7431f2f5afa5db97eaaa0d5ea91c0f18eb
      https://github.com/openvswitch/ovs/commit/2c3f6a7431f2f5afa5db97eaaa0d5ea91c0f18eb
  Author: Edwin Chiu <echiu at vmware.com>
  Date:   2015-05-02 (Sat, 02 May 2015)

  Changed paths:
    M INSTALL.XenServer.md
    M xenserver/openvswitch-xen.spec.in

  Log Message:
  -----------
  xenserver: Use kernel uname version for XenServer 6.5

In XenServer 6.5, multiple kernel packages with different
rpm versions can have the same uname.  So, it is not
necessary for openvswitch kernel module to require the
exact rpm version.  Instead, the kernel module package
should check the uname version.

This commit will add a new variable %{kernel_uname} to
specify whether to use kernel uname version or kernel
rpm version as requirement.

When %{kernel_name} is used, openvswitch-module will have
"Requires: kernel-uname-r = <uname version>" set instead of
"Requires: kernel = <version>".

Reported-by: Gosen Chien <astgosen at ccu.edu.tw>
Signed-off-by: Edwin Chiu <echiu at vmware.com>
Signed-off-by: Alex Wang <alexw at nicira.com>


  Commit: 125fc6372a89bd6cc5c2c80b507f9bfafe286edd
      https://github.com/openvswitch/ovs/commit/125fc6372a89bd6cc5c2c80b507f9bfafe286edd
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-05-02 (Sat, 02 May 2015)

  Changed paths:
    M lib/odp-util.c
    M tests/odp.at

  Log Message:
  -----------
  odp-util: Fix a bug in parse_flag().

This commit fixes a bug in the parse_flag() function which causes
failure of parsing tunnel flags like:

tunnel(tun_id=0x0,src=1.2.3.4,dst=1.2.3.5,tos=0,ttl=64,flags(-df+csum+key))

Reported-by: Jacob Cherkas <jcherkas at nicira.com>
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: cd7330d06f121afa6151fb000fc8128c01f80a00
      https://github.com/openvswitch/ovs/commit/cd7330d06f121afa6151fb000fc8128c01f80a00
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-05-04 (Mon, 04 May 2015)

  Changed paths:
    M acinclude.m4
    M datapath/linux/compat/stt.c

  Log Message:
  -----------
  datapath: stt compatibility for RHEL7

RHEL7 backported nf_hookfn from newer kernel. Handle compatibility
by checking nf_hookfn declaration.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


  Commit: 1c98db0d38a92bc6aabf04532e8eb3c0368cf283
      https://github.com/openvswitch/ovs/commit/1c98db0d38a92bc6aabf04532e8eb3c0368cf283
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-05-05 (Tue, 05 May 2015)

  Changed paths:
    M AUTHORS
    M FAQ.md

  Log Message:
  -----------
  FAQ: Explain how "tap" devices work and why you should not use them.

CC: 张伟 <zhangwqh at 126.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>


  Commit: 77c180cea6f646229c88e47be632ca7c29248c0a
      https://github.com/openvswitch/ovs/commit/77c180cea6f646229c88e47be632ca7c29248c0a
  Author: Billy O'Mahony <billy.o.mahony at intel.com>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M FAQ.md
    M INSTALL.DPDK.md
    M utilities/ovs-vsctl.8.in

  Log Message:
  -----------
  docs: Clarify creation & bonding of DPDK enabled interfaces.

Unlike system interfaces, DPDK enabled interfaces must have their interface
type explicitly set when used to create ports.  Mention this in relevant parts
of the documentation and add references to INTALL.DPDK.md, where there are many
examples.

Signed-off-by: Billy O'Mahony <billy.o.mahony at intel.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 881ac34c52da07ef4c0825f92629cb6362813410
      https://github.com/openvswitch/ovs/commit/881ac34c52da07ef4c0825f92629cb6362813410
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M AUTHORS

  Log Message:
  -----------
  AUTHORS: Add Billy O'Mahony.

Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 7521b9e59e7e70773f542e748823cb2236b8c462
      https://github.com/openvswitch/ovs/commit/7521b9e59e7e70773f542e748823cb2236b8c462
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M lib/dpctl.c

  Log Message:
  -----------
  dpctl: Add OVS_PRINTF_FORMAT annotation to dpctl_* functions.

Fixes passing variable data as a printf() format string.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 8cb277fc37a42184a931f83c3dbc7681090ed6c5
      https://github.com/openvswitch/ovs/commit/8cb277fc37a42184a931f83c3dbc7681090ed6c5
  Author: Joe Stringer <joestringer at nicira.com>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M lib/ovs-lldp.c

  Log Message:
  -----------
  lldp: Fix clang warning.

Clang-3.7 generates warnings such as the following:
../lib/ovs-lldp.c:394:19: error: address of array 'hardware->h_ifname'
will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]

This value is fetched from a netdev, which as far as I can tell must
always have a non-NULL name. Simplify this code.

Signed-off-by: Joe Stringer <joestringer at nicira.com>
Acked-by: Dennis Flynn <drflynn at avaya.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 1f70f3f01aad5ba34931d9a745c3dae15f6a29a6
      https://github.com/openvswitch/ovs/commit/1f70f3f01aad5ba34931d9a745c3dae15f6a29a6
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M lib/dpctl.c

  Log Message:
  -----------
  dpctl: Factor out common code to iterate through all dpifs.

This commit introduces dps_for_each() which calls a callback for each
datapath of each registered type.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 88c98bf5635c732d4c77e5314ec7440a08a09dec
      https://github.com/openvswitch/ovs/commit/88c98bf5635c732d4c77e5314ec7440a08a09dec
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M lib/dpctl.c

  Log Message:
  -----------
  dpctl: Ignore enumeration errors if there is at least one datapath.

When dpctl commands are used to inspect a userspace datapath, but OVS
has also built-in support for the kernel datapath, an error message is
reported if the kernel module is not loaded.  This commit suppresses the
message.

Suggested-by: Ethan Jackson <ethan at nicira.com>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: f2d371f7f6e765d8e97a3bd31fffa8197bd45fe2
      https://github.com/openvswitch/ovs/commit/f2d371f7f6e765d8e97a3bd31fffa8197bd45fe2
  Author: Justin Pettit <jpettit at nicira.com>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M .gitignore
    M .travis/build.sh
    M .travis/prepare.sh
    M AUTHORS
    M FAQ.md
    M INSTALL.DPDK.md
    M INSTALL.Windows.md
    M INSTALL.XenServer.md
    M INSTALL.md
    M NEWS
    M acinclude.m4
    M build-aux/cccl
    M configure.ac
    M datapath-windows/ovsext/Datapath.c
    M datapath-windows/ovsext/Datapath.h
    M datapath-windows/ovsext/Flow.c
    M datapath-windows/ovsext/Switch.c
    M datapath-windows/ovsext/TunnelFilter.c
    M datapath-windows/ovsext/TunnelIntf.h
    M datapath-windows/ovsext/User.c
    M datapath-windows/ovsext/Vport.c
    M datapath/Makefile.am
    M datapath/Modules.mk
    M datapath/README.md
    M datapath/datapath.c
    M datapath/linux/.gitignore
    M datapath/linux/Modules.mk
    A datapath/linux/compat/build-aux/export-check-whitelist
    M datapath/linux/compat/dev-openvswitch.c
    M datapath/linux/compat/exthdrs_core.c
    M datapath/linux/compat/flex_array.c
    M datapath/linux/compat/flow_dissector.c
    M datapath/linux/compat/genetlink-openvswitch.c
    M datapath/linux/compat/geneve.c
    M datapath/linux/compat/gre.c
    M datapath/linux/compat/gso.c
    M datapath/linux/compat/gso.h
    M datapath/linux/compat/include/linux/flex_array.h
    M datapath/linux/compat/include/linux/ip.h
    R datapath/linux/compat/include/linux/log2.h
    M datapath/linux/compat/include/linux/net.h
    M datapath/linux/compat/include/linux/netdevice.h
    M datapath/linux/compat/include/linux/openvswitch.h
    M datapath/linux/compat/include/linux/reciprocal_div.h
    M datapath/linux/compat/include/linux/skbuff.h
    M datapath/linux/compat/include/net/checksum.h
    M datapath/linux/compat/include/net/genetlink.h
    M datapath/linux/compat/include/net/geneve.h
    M datapath/linux/compat/include/net/gre.h
    M datapath/linux/compat/include/net/ip_tunnels.h
    M datapath/linux/compat/include/net/ipv6.h
    M datapath/linux/compat/include/net/net_namespace.h
    A datapath/linux/compat/include/net/stt.h
    M datapath/linux/compat/include/net/udp.h
    M datapath/linux/compat/include/net/udp_tunnel.h
    M datapath/linux/compat/include/net/vxlan.h
    M datapath/linux/compat/ip_tunnels_core.c
    M datapath/linux/compat/net_namespace.c
    M datapath/linux/compat/netdevice.c
    M datapath/linux/compat/reciprocal_div.c
    M datapath/linux/compat/skbuff-openvswitch.c
    A datapath/linux/compat/stt.c
    M datapath/linux/compat/udp.c
    M datapath/linux/compat/udp_tunnel.c
    M datapath/linux/compat/utils.c
    M datapath/linux/compat/vxlan.c
    A datapath/vport-stt.c
    M debian/dkms.conf.in
    M debian/rules
    M lib/automake.mk
    M lib/dp-packet.h
    M lib/dpctl.c
    M lib/dpif-netdev.c
    M lib/dpif-netlink.c
    M lib/dpif-provider.h
    M lib/dpif.c
    M lib/netdev-bsd.c
    M lib/netdev-dpdk.c
    M lib/netdev-dummy.c
    M lib/netdev-linux.c
    M lib/netdev-vport.c
    M lib/netlink-socket.c
    M lib/nx-match.c
    M lib/odp-execute.c
    M lib/odp-util.c
    M lib/ofp-actions.c
    M lib/ofp-parse.c
    M lib/ofp-util.c
    M lib/ovs-lldp.c
    M lib/ovs-lldp.h
    A lib/perf-counter.c
    A lib/perf-counter.h
    M lib/rstp-state-machines.c
    M m4/openvswitch.m4
    M ofproto/in-band.c
    M ofproto/ofproto-dpif-ipfix.c
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif.c
    M ovsdb/ovsdb-server.c
    A python/.gitignore
    A python/README.rst
    M python/automake.mk
    M python/ovs/db/idl.py
    A python/setup.py
    M tests/automake.mk
    A tests/dpctl.at
    M tests/dpif-netdev.at
    M tests/odp.at
    M tests/ofproto-macros.at
    M tests/ofproto.at
    M tests/ovs-macros.at
    M tests/ovsdb-idl.at
    M tests/run-ryu
    M tests/test-ovsdb.py
    M tests/testsuite.at
    M tutorial/Tutorial.md
    M tutorial/ovs-sandbox
    M utilities/ovs-ctl.8
    M utilities/ovs-ctl.in
    M utilities/ovs-dev.py
    M utilities/ovs-ofctl.8.in
    M utilities/ovs-vsctl.8.in
    M vswitchd/bridge.c
    M vswitchd/ovs-vswitchd.8.in
    M vswitchd/ovs-vswitchd.c
    M vswitchd/vswitch.xml
    M xenserver/openvswitch-xen.spec.in

  Log Message:
  -----------
  Merge "master" into "ovn".

This brings in STT.

Conflicts:
	tutorial/ovs-sandbox


Compare: https://github.com/openvswitch/ovs/compare/e387e3e88522...f2d371f7f6e7


More information about the git mailing list