[ovs-git] [openvswitch/ovs] d08113: datapath: Fix return of uninitialized variable.

GitHub noreply at github.com
Thu Mar 5 07:02:06 UTC 2015


  Branch: refs/heads/ovn
  Home:   https://github.com/openvswitch/ovs
  Commit: d08113d694b9934a9207166b59f3d86fa50f07f2
      https://github.com/openvswitch/ovs/commit/d08113d694b9934a9207166b59f3d86fa50f07f2
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M datapath/flow_netlink.c

  Log Message:
  -----------
  datapath: Fix return of uninitialized variable.

This commit fixes a return of uninitialized variable bug.
The bug can cause failures of operations like flow_add.

VMware-BZ: #1405810

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 938a73dafdfb934fbae3de4358eecb28a93e5d82
      https://github.com/openvswitch/ovs/commit/938a73dafdfb934fbae3de4358eecb28a93e5d82
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M lib/util.c

  Log Message:
  -----------
  util: Fix typo in comment.

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


  Commit: 59f280f173d817150565010f5dc1a9301d02651b
      https://github.com/openvswitch/ovs/commit/59f280f173d817150565010f5dc1a9301d02651b
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M tests/test-hash.c

  Log Message:
  -----------
  test-hash: Make check_256byte_hash() test no 1-bits set case.

The test comment mentions that we will test the no 1-bits set case.
So, this commit makes sure that it is tested.

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

---
PATCH->V2:
- explain why calling set_bit128 with i or j == n_bits is okay.


  Commit: 135fec593706a47dad4a9debdd50e6c13aa06f86
      https://github.com/openvswitch/ovs/commit/135fec593706a47dad4a9debdd50e6c13aa06f86
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-02-27 (Fri, 27 Feb 2015)

  Changed paths:
    M tests/test-hash.c

  Log Message:
  -----------
  test-hash: Refine the check_256byte_hash().

This commit refines the check_256byte_hash() function by moving
some checks to outer loop.

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


  Commit: 2a638b8d22be66bb631b2273a72cd4c8451de065
      https://github.com/openvswitch/ovs/commit/2a638b8d22be66bb631b2273a72cd4c8451de065
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-02-27 (Fri, 27 Feb 2015)

  Changed paths:
    M lib/hash.h
    M tests/test-hash.c

  Log Message:
  -----------
  test-hash: Remove the check_word_hash() for hash_bytes128_cb.

The original test fails on big-endian system due to the hash function
performing not as well when input is uint32_t.  In reality, users should
only use hash_bytes128() to hash words larger than 128 bits (e.g. struct
flow).  Besides, we do check the 1-bit set case for 16 128-bit words in
following test case.  Therefore, the cleanest way to fix the failure
in big-endian system seems to be just removing the check_word_hash()
test for hash_bytes128_cb.

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


  Commit: db7f2238278e9834e1ba526e44512ba30335075a
      https://github.com/openvswitch/ovs/commit/db7f2238278e9834e1ba526e44512ba30335075a
  Author: Joe Stringer <joestringer at nicira.com>
  Date:   2015-02-27 (Fri, 27 Feb 2015)

  Changed paths:
    M datapath/datapath.c
    M datapath/flow_netlink.c
    M datapath/flow_netlink.h

  Log Message:
  -----------
  datapath: Refactor ovs_nla_fill_match().

Refactor the ovs_nla_fill_match() function into separate netlink
serialization functions ovs_nla_put_{unmasked_key,mask}(). Modify
ovs_nla_put_flow() to handle attribute nesting and expose the 'is_mask'
parameter - all callers need to nest the flow, and callers have better
knowledge about whether it is serializing a mask or not.

Signed-off-by: Joe Stringer <joestringer at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>
Signed-off-by: David S. Miller <davem at davemloft.net>


  Commit: 7bdf9b15e34aec9643f6fa98685bc80ec702f5a6
      https://github.com/openvswitch/ovs/commit/7bdf9b15e34aec9643f6fa98685bc80ec702f5a6
  Author: Joe Stringer <joestringer at nicira.com>
  Date:   2015-02-27 (Fri, 27 Feb 2015)

  Changed paths:
    M datapath/flow_table.c

  Log Message:
  -----------
  datapath: Refactor ovs_flow_tbl_insert().

Rework so that ovs_flow_tbl_insert() calls flow_{key,mask}_insert().
This tidies up a future patch.

Signed-off-by: Joe Stringer <joestringer at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>
Signed-off-by: David S. Miller <davem at davemloft.net>


  Commit: 0d8e6be8d7d14090f1bbdf78920bb72fe3fba2d9
      https://github.com/openvswitch/ovs/commit/0d8e6be8d7d14090f1bbdf78920bb72fe3fba2d9
  Author: Joe Stringer <joestringer at nicira.com>
  Date:   2015-02-27 (Fri, 27 Feb 2015)

  Changed paths:
    M datapath/flow_table.c

  Log Message:
  -----------
  datapath: Use sw_flow_key_range for key ranges.

These minor tidyups make a future patch a little tidier.

Signed-off-by: Joe Stringer <joestringer at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>
Signed-off-by: David S. Miller <davem at davemloft.net>


  Commit: c623ba497a10fc8526d529261453facf227d468e
      https://github.com/openvswitch/ovs/commit/c623ba497a10fc8526d529261453facf227d468e
  Author: Joe Stringer <joestringer at nicira.com>
  Date:   2015-02-27 (Fri, 27 Feb 2015)

  Changed paths:
    M acinclude.m4
    M datapath/linux/compat/include/net/genetlink.h

  Log Message:
  -----------
  compat: Add genlmsg_parse() helper function.

The first user will be the next patch.

Signed-off-by: Joe Stringer <joestringer at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>
Signed-off-by: David S. Miller <davem at davemloft.net>


  Commit: bc619e29dfcb0d41607f5bc9002fe9fd046cb919
      https://github.com/openvswitch/ovs/commit/bc619e29dfcb0d41607f5bc9002fe9fd046cb919
  Author: Joe Stringer <joestringer at nicira.com>
  Date:   2015-02-27 (Fri, 27 Feb 2015)

  Changed paths:
    M datapath/datapath.c
    M datapath/flow.h
    M datapath/flow_netlink.c
    M datapath/flow_netlink.h
    M datapath/flow_table.c
    M datapath/flow_table.h
    M datapath/linux/compat/include/linux/openvswitch.h

  Log Message:
  -----------
  datapath: Add support for unique flow IDs.

Previously, flows were manipulated by userspace specifying a full,
unmasked flow key. This adds significant burden onto flow
serialization/deserialization, particularly when dumping flows.

This patch adds an alternative way to refer to flows using a
variable-length "unique flow identifier" (UFID). At flow setup time,
userspace may specify a UFID for a flow, which is stored with the flow
and inserted into a separate table for lookup, in addition to the
standard flow table. Flows created using a UFID must be fetched or
deleted using the UFID.

All flow dump operations may now be made more terse with OVS_UFID_F_*
flags. For example, the OVS_UFID_F_OMIT_KEY flag allows responses to
omit the flow key from a datapath operation if the flow has a
corresponding UFID. This significantly reduces the time spent assembling
and transacting netlink messages. With all OVS_UFID_F_OMIT_* flags
enabled, the datapath only returns the UFID and statistics for each flow
during flow dump, increasing ovs-vswitchd revalidator performance by 40%
or more.

Signed-off-by: Joe Stringer <joestringer at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>
Signed-off-by: David S. Miller <davem at davemloft.net>


  Commit: 5f19d8ac86246c886e88eff54bbfca9daf4694b7
      https://github.com/openvswitch/ovs/commit/5f19d8ac86246c886e88eff54bbfca9daf4694b7
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-02-27 (Fri, 27 Feb 2015)

  Changed paths:
    M datapath/flow_table.c

  Log Message:
  -----------
  datapath: Initialize unmasked key and uid len.

Flow alloc needs to initialize unmasked key pointer. Otherwise
it can crash kernel trying to free random unmasked-key pointer.

general protection fault: 0000 [#1] SMP
3.19.0-rc6-net-next+ #457
Hardware name: Supermicro X7DWU/X7DWU, BIOS  1.1 04/30/2008
RIP: 0010:[<ffffffff8111df0e>] [<ffffffff8111df0e>] kfree+0xac/0x196
Call Trace:
 [<ffffffffa060bd87>] flow_free+0x21/0x59 [openvswitch]
 [<ffffffffa060bde0>] ovs_flow_free+0x21/0x23 [openvswitch]
 [<ffffffffa0605b4a>] ovs_packet_cmd_execute+0x2f3/0x35f [openvswitch]
 [<ffffffffa0605995>] ? ovs_packet_cmd_execute+0x13e/0x35f [openvswitch]
 [<ffffffff811fe6fb>] ? nla_parse+0x4f/0xec
 [<ffffffff8139a2fc>] genl_family_rcv_msg+0x26d/0x2c9
 [<ffffffff8107620f>] ? __lock_acquire+0x90e/0x9aa
 [<ffffffff8139a3be>] genl_rcv_msg+0x66/0x89
 [<ffffffff8139a358>] ? genl_family_rcv_msg+0x2c9/0x2c9
 [<ffffffff81399591>] netlink_rcv_skb+0x3e/0x95
 [<ffffffff81399898>] ? genl_rcv+0x18/0x37
 [<ffffffff813998a7>] genl_rcv+0x27/0x37
 [<ffffffff81399033>] netlink_unicast+0x103/0x191
 [<ffffffff81399382>] netlink_sendmsg+0x2c1/0x310
 [<ffffffff811007ad>] ? might_fault+0x50/0xa0
 [<ffffffff8135c773>] do_sock_sendmsg+0x5f/0x7a
 [<ffffffff8135c799>] sock_sendmsg+0xb/0xd
 [<ffffffff8135cacf>] ___sys_sendmsg+0x1a3/0x218
 [<ffffffff8113e54b>] ? get_close_on_exec+0x86/0x86
 [<ffffffff8115a9d0>] ? fsnotify+0x32c/0x348
 [<ffffffff8115a720>] ? fsnotify+0x7c/0x348
 [<ffffffff8113e5f5>] ? __fget+0xaa/0xbf
 [<ffffffff8113e54b>] ? get_close_on_exec+0x86/0x86
 [<ffffffff8135cccd>] __sys_sendmsg+0x3d/0x5e
 [<ffffffff8135cd02>] SyS_sendmsg+0x14/0x16
 [<ffffffff81411852>] system_call_fastpath+0x12/0x17

Reported-by: Or Gerlitz <ogerlitz at mellanox.com>
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: b037bc5a463dfb4ff6fa0680068a088c495a7246
      https://github.com/openvswitch/ovs/commit/b037bc5a463dfb4ff6fa0680068a088c495a7246
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-02-27 (Fri, 27 Feb 2015)

  Changed paths:
    M datapath/flow_netlink.c

  Log Message:
  -----------
  datapath: Fix masked key serialization.

Fix typo where mask is used rather than key.

Fixes: 74ed7ab9264("openvswitch: Add support for unique flow IDs.")
Reported-by: Joe Stringer <joestringer at nicira.com>
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 7915c9d69d6597d723d2ef920753b30dccce6b54
      https://github.com/openvswitch/ovs/commit/7915c9d69d6597d723d2ef920753b30dccce6b54
  Author: Joe Stringer <joestringer at nicira.com>
  Date:   2015-02-27 (Fri, 27 Feb 2015)

  Changed paths:
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  ofproto-dpif: Fix UFID typo.

While UFIDs are technically userspace flow IDs, the canonical name is
"unique flow identifiers".

Signed-off-by: Joe Stringer <joestringer at nicira.com>


  Commit: b3a92948c954fdd80cbaac54ad49a1d38317cc5e
      https://github.com/openvswitch/ovs/commit/b3a92948c954fdd80cbaac54ad49a1d38317cc5e
  Author: Alexey I. Froloff <raorn at raorn.name>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M utilities/ovs-save

  Log Message:
  -----------
  ovs-save: Preserve IPv6 link-local address on interface save.

If IPv6 link-local address is removed from interface, it is unable to
receive any IPv6 packets, including Route Advertisements.

In save_interface only skip IPv4 "scope link" addresses.

Signed-off-by: Alexey I. Froloff <raorn at raorn.name>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 709344386fd84b92aef6e5301539f69d4e7a2e61
      https://github.com/openvswitch/ovs/commit/709344386fd84b92aef6e5301539f69d4e7a2e61
  Author: Gianluca Merlo <gianluca.merlo at gmail.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M utilities/ovs-docker

  Log Message:
  -----------
  ovs-docker: check if port is already attached for container/interface

Reuse code for determining attached port to prevent ovs-docker to proceed if a
port for the given container and interface is already attached.

Signed-off-by: Gianluca Merlo <gianluca.merlo at gmail.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: c7794d20f5617432edb96b5b7ee57ecb113af940
      https://github.com/openvswitch/ovs/commit/c7794d20f5617432edb96b5b7ee57ecb113af940
  Author: Gurucharan Shetty <gshetty at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M AUTHORS

  Log Message:
  -----------
  AUTHORS: Add Gianluca Merlo as an author.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: 5aa5d00e989c31650501d96c38c835e256c47593
      https://github.com/openvswitch/ovs/commit/5aa5d00e989c31650501d96c38c835e256c47593
  Author: Mark Maglana <mmaglana at gmail.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M vtep/ovs-vtep

  Log Message:
  -----------
  vtep: Limit the split elements to 2 (maxsplit + 1)

This change ensures that we always end up with two elements even
if the name of the physical port contains dashes. For example, a
binding of "0100-br0-eth1" will be split to ["0100", "br0-eth1"]
instead of ["0100", "br0", "eth1"].

Signed-off-by: Mark Maglana <mmaglana at gmail.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


  Commit: e14deea0bd133796872d06f39a14d0393880f5bb
      https://github.com/openvswitch/ovs/commit/e14deea0bd133796872d06f39a14d0393880f5bb
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/automake.mk
    A lib/dp-packet.c
    A lib/dp-packet.h
    M lib/dpif-netdev.c
    M lib/dpif.c
    M lib/netdev-bsd.c
    M lib/netdev-dpdk.c
    M lib/netdev-dpdk.h
    M lib/netdev-dummy.c
    M lib/netdev-linux.c
    M lib/netdev-provider.h
    M lib/netdev-vport.c
    M lib/netdev.c
    M lib/netdev.h
    M lib/odp-execute.c
    M lib/odp-execute.h
    M lib/ofpbuf.c
    M lib/ofpbuf.h
    R lib/packet-dpif.c
    R lib/packet-dpif.h
    M lib/tnl-arp-cache.c
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  dpif_packet: Rename to dp_packet

dp_packet is short and better name for datapath packet
structure.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


  Commit: cf62fa4c7074121184a1f1d07980990113657612
      https://github.com/openvswitch/ovs/commit/cf62fa4c7074121184a1f1d07980990113657612
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/bfd.c
    M lib/bfd.h
    M lib/cfm.c
    M lib/cfm.h
    M lib/dp-packet.c
    M lib/dp-packet.h
    M lib/dpif-netdev.c
    M lib/dpif-netdev.h
    M lib/dpif-netlink.c
    M lib/dpif.c
    M lib/dpif.h
    M lib/flow.c
    M lib/flow.h
    M lib/lacp.c
    M lib/lacp.h
    M lib/learning-switch.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/netdev.c
    M lib/odp-execute.c
    M lib/ofp-print.c
    M lib/packets.c
    M lib/packets.h
    M lib/pcap-file.c
    M lib/pcap-file.h
    M lib/rstp-common.h
    M lib/rstp-state-machines.c
    M lib/rstp.c
    M lib/rstp.h
    M lib/stp.c
    M lib/stp.h
    M ofproto/bond.c
    M ofproto/bond.h
    M ofproto/connmgr.c
    M ofproto/connmgr.h
    M ofproto/fail-open.c
    M ofproto/ofproto-dpif-ipfix.c
    M ofproto/ofproto-dpif-ipfix.h
    M ofproto/ofproto-dpif-monitor.c
    M ofproto/ofproto-dpif-sflow.c
    M ofproto/ofproto-dpif-sflow.h
    M ofproto/ofproto-dpif-upcall.c
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif-xlate.h
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto-dpif.h
    M ofproto/ofproto-provider.h
    M ofproto/ofproto.c
    M ofproto/pktbuf.c
    M ofproto/pktbuf.h
    M tests/ofproto-dpif.at
    M tests/test-flows.c
    M tests/test-rstp.c
    M tests/test-stp.c
    M utilities/ovs-ofctl.c

  Log Message:
  -----------
  dp-packet: Remove ofpbuf dependency.

Currently dp-packet make use of ofpbuf for managing packet
buffers. That complicates ofpbuf, by making dp-packet
independent of ofpbuf both libraries can be optimized for
their own use case.
This avoids mapping operation between ofpbuf and dp_packet
in datapath upcalls.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 6fd6ed71cb9f2dba8307da371d5e86c34695783c
      https://github.com/openvswitch/ovs/commit/6fd6ed71cb9f2dba8307da371d5e86c34695783c
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/bundle.c
    M lib/dpctl.c
    M lib/dpif-netdev.c
    M lib/dpif-netlink.c
    M lib/dpif.c
    M lib/jsonrpc.c
    M lib/learn.c
    M lib/learning-switch.c
    M lib/netdev-dummy.c
    M lib/netlink-socket.c
    M lib/netlink.c
    M lib/nx-match.c
    M lib/odp-util.c
    M lib/ofp-actions.c
    M lib/ofp-errors.c
    M lib/ofp-msgs.c
    M lib/ofp-parse.c
    M lib/ofp-print.c
    M lib/ofp-util.c
    M lib/ofpbuf.c
    M lib/ofpbuf.h
    M lib/rconn.c
    M lib/route-table.c
    M lib/rtnetlink-link.c
    M lib/tnl-ports.c
    M lib/vconn-stream.c
    M lib/vconn.c
    M ofproto/connmgr.c
    M ofproto/fail-open.c
    M ofproto/in-band.c
    M ofproto/netflow.c
    M ofproto/ofproto-dpif-upcall.c
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto.c
    M tests/test-bundle.c
    M tests/test-netflow.c
    M tests/test-odp.c
    M tests/test-sflow.c
    M tests/test-vconn.c
    M utilities/ovs-ofctl.c
    M vswitchd/bridge.c

  Log Message:
  -----------
  ofpbuf: Simplify ofpbuf API.

ofpbuf was complicated due to its wide usage across all
layers of OVS, Now we have introduced independent dp_packet
which can be used for datapath packet, we can simplify ofpbuf.
Following patch removes DPDK mbuf and access API of ofpbuf
members.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 560d3df761d0d0c3847cb69642c80f5a87972596
      https://github.com/openvswitch/ovs/commit/560d3df761d0d0c3847cb69642c80f5a87972596
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/stream-ssl.c

  Log Message:
  -----------
  stream-ssl: Fix broken build.

In all the churn around ofpbuf and dp_packet, this code seems to have been
overlooked.  This fixes the problem.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: be53a5c447c3ed77ef2d4e1e09ea63de576b90e8
      https://github.com/openvswitch/ovs/commit/be53a5c447c3ed77ef2d4e1e09ea63de576b90e8
  Author: Dennis Flynn <drflynn at avaya.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M NOTICE
    M debian/copyright.in
    M lib/automake.mk
    A lib/lldp/aa-structs.h
    A lib/lldp/lldp-const.h
    A lib/lldp/lldp-tlv.h
    A lib/lldp/lldp.c
    A lib/lldp/lldpd-structs.c
    A lib/lldp/lldpd-structs.h
    A lib/lldp/lldpd.c
    A lib/lldp/lldpd.h
    A lib/ovs-lldp.c
    A lib/ovs-lldp.h

  Log Message:
  -----------
  auto-attach: Initial support for Auto-Attach standard

This commit provides the initial delivery of support for the Auto-Attach
standard to Open vSwitch. This standard describes a compact method of using
IEEE 802.1AB Link Layer Discovery Protocol (LLDP) with a IEEE 802.1aq Shortest
Path Bridging (SPB) network to automatically attach network devices not
supporting IEEE 802.1ah to individual services in a SPB network. Specifically
this commit adds base LLDP support to OVS along with the LLDP extension
required to support Auto-Attach.

The base LLDP code within this commit is adapted from the open source LLDPD
project headed by Vincent Bernat. This base code is augmented with OVS specific
logic which integrates LLDP into OVS and which extends LLDP to support
Auto-Attach. The required build system changes are provided to include this new
Auto-Attach feature.

This is the first of a series of commits. Subsequent commits will be provided
to complete the task of adding Auto-Attach to OVS.

Signed-off-by: Ludovic Beliveau <ludovic.beliveau at windriver.com>
Signed-off-by: Dennis Flynn <drflynn at avaya.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 0477baa93b44dc9221e61eddf92545c5d7c477d7
      https://github.com/openvswitch/ovs/commit/0477baa93b44dc9221e61eddf92545c5d7c477d7
  Author: Dennis Flynn <drflynn at avaya.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/bfd.c
    M lib/bfd.h
    M lib/cfm.c
    M lib/cfm.h
    M lib/lldp/lldp.c
    M lib/lldp/lldpd.c
    M lib/lldp/lldpd.h
    M lib/odp-util.h
    M lib/ovs-lldp.c
    M lib/ovs-lldp.h
    M ofproto/ofproto-dpif-monitor.c
    M ofproto/ofproto-dpif-monitor.h
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif-xlate.h
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto-provider.h
    M ofproto/ofproto.c
    M ofproto/ofproto.h

  Log Message:
  -----------
  auto-attach: Add auto-attach support to ofproto layer

Signed-off-by: Ludovic Beliveau <ludovic.beliveau at windriver.com>
Signed-off-by: Dennis Flynn <drflynn at avaya.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 99eef98b53b1099b9c698b9d042c599bbc1648b2
      https://github.com/openvswitch/ovs/commit/99eef98b53b1099b9c698b9d042c599bbc1648b2
  Author: Dennis Flynn <drflynn at avaya.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M NEWS
    A tests/auto-attach.at
    M tests/automake.mk
    M tests/ovs-vsctl.at
    A tests/test-aa.c
    M tests/testsuite.at
    M utilities/ovs-vsctl.8.in
    M utilities/ovs-vsctl.c
    M vswitchd/bridge.c
    M vswitchd/vswitch.ovsschema
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  auto-attach: Add auto-attach support to bridge layer and command set

This is the final commit in the series of commits that deliver initial support
for Auto-Attach. Specifically this commit delivers auto-attach support to the
OVS bridge layer as well as the new auto-attach commands. The OVSDB schema is
modified to define the new auto-attach entries. The man pages, unit tests, and
news and license notice files are also updated. A unit test is provided to
validate the construction of auto-attach packets.

Signed-off-by: Ludovic Beliveau <ludovic.beliveau at windriver.com>
Signed-off-by: Dennis Flynn <drflynn at avaya.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 501b80538d7ab9a46a53a746ab109c04f8a6b9ab
      https://github.com/openvswitch/ovs/commit/501b80538d7ab9a46a53a746ab109c04f8a6b9ab
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M utilities/ovs-vsctl.c

  Log Message:
  -----------
  ovs-vsctl: Fix misused casts.

Without the casts, the argument types match the format specifiers.

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


  Commit: 22736f59c1c3d35662be0369321041c06747f7b9
      https://github.com/openvswitch/ovs/commit/22736f59c1c3d35662be0369321041c06747f7b9
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldp.c
    M tests/test-aa.c

  Log Message:
  -----------
  lldp: Get rid of POKE macros in favor of inline functions.

The POKE macros previously used here don't match the style usually used in
OVS and they require the user to know exactly how many bytes to reserve.
This commit replaces them by easier-to-use inline functions that take
advantage of the ofpbuf interface.

Also removes a few PEEK macros that weren't used anywhere.

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


  Commit: cc84196628a359b6d0ddc87b5294c39ad700fa01
      https://github.com/openvswitch/ovs/commit/cc84196628a359b6d0ddc87b5294c39ad700fa01
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldp.c
    M lib/lldp/lldpd-structs.h
    M lib/lldp/lldpd.c
    M lib/ovs-lldp.c

  Log Message:
  -----------
  lldp: Use x*alloc() functions instead of writing them out in-place.

Also use flexible array member instead of array of length 1 in
struct lldpd_frame.

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


  Commit: 4eb6eec6f8d71e1de2fcf8db094069f41edca471
      https://github.com/openvswitch/ovs/commit/4eb6eec6f8d71e1de2fcf8db094069f41edca471
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/ovs-lldp.c

  Log Message:
  -----------
  ovs-lldp: Use correct printf specifiers.

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


  Commit: d9f3b69e7c20b7ff92b769fd9839ec8701f839d8
      https://github.com/openvswitch/ovs/commit/d9f3b69e7c20b7ff92b769fd9839ec8701f839d8
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd-structs.c
    M lib/lldp/lldpd.c

  Log Message:
  -----------
  lldp: Use OVS time functions.

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


  Commit: 02d593b1940b6c6ea6f4452992f174a928b274d3
      https://github.com/openvswitch/ovs/commit/02d593b1940b6c6ea6f4452992f174a928b274d3
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldp.c
    M lib/lldp/lldpd-structs.c
    M lib/lldp/lldpd-structs.h
    M lib/lldp/lldpd.c

  Log Message:
  -----------
  lldp: Use "bool" for boolean variables.

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


  Commit: 8a42c2d6752eaa61ff130d85fb023d5a7b81e968
      https://github.com/openvswitch/ovs/commit/8a42c2d6752eaa61ff130d85fb023d5a7b81e968
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldp.c
    M lib/lldp/lldpd.c

  Log Message:
  -----------
  lldp: Declare "bool" variables as type "bool".

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


  Commit: e8fa10d7546a46173d5607c4545b8bede7cbb377
      https://github.com/openvswitch/ovs/commit/e8fa10d7546a46173d5607c4545b8bede7cbb377
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd-structs.c

  Log Message:
  -----------
  lldpd-structs: Fix spelling error in message.

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


  Commit: 24885e3232f53d81856ea3c6166ff7564b27af9d
      https://github.com/openvswitch/ovs/commit/24885e3232f53d81856ea3c6166ff7564b27af9d
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M tests/test-aa.c

  Log Message:
  -----------
  test-aa: Make variables local to this file static.

Found by sparse.

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


  Commit: 02c842eb74e9d966dd613aed149490e28c06ec3b
      https://github.com/openvswitch/ovs/commit/02c842eb74e9d966dd613aed149490e28c06ec3b
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/aa-structs.h
    M lib/lldp/lldp.c
    M lib/ovs-lldp.c
    M tests/test-aa.c

  Log Message:
  -----------
  lldp: Change representation of ISID to uint32_t.

It's a lot more straightforward to deal with integer values as integers
instead of arrays of bytes.

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


  Commit: 854560f8dc6f4929d7c850f5ac3f94c61a597920
      https://github.com/openvswitch/ovs/commit/854560f8dc6f4929d7c850f5ac3f94c61a597920
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldp.c
    M lib/lldp/lldpd-structs.h
    M lib/ovs-lldp.c
    M tests/test-aa.c

  Log Message:
  -----------
  lldp-structs: Fix use of list of lldpd_aa_isid_vlan_maps_tlv.

A list of some type should have type "struct ovs_list", not some other
type that encapsulates it.

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


  Commit: 32590179d45f7096d488b8de1b6eb97d2b3cea0a
      https://github.com/openvswitch/ovs/commit/32590179d45f7096d488b8de1b6eb97d2b3cea0a
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldp.c
    M lib/lldp/lldpd-structs.c
    M lib/lldp/lldpd-structs.h
    M lib/lldp/lldpd.c
    M lib/ovs-lldp.c

  Log Message:
  -----------
  lldp-structs: Fix use of list of struct lldpd_mgmt.

A list of some type should have type "struct ovs_list", not some other
type that encapsulates it.

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


  Commit: 135706b39307f84fb0c9a5d1ffeebb9f7f556b9e
      https://github.com/openvswitch/ovs/commit/135706b39307f84fb0c9a5d1ffeebb9f7f556b9e
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd-structs.c
    M lib/lldp/lldpd-structs.h
    M lib/lldp/lldpd.c
    M lib/ovs-lldp.c

  Log Message:
  -----------
  lldp-structs: Fix use of list of struct lldpd_port.

A list of some type should have type "struct ovs_list", not some other
type that encapsulates it.

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


  Commit: 72c642e5ab553fd11eb69208b3949065f689f17d
      https://github.com/openvswitch/ovs/commit/72c642e5ab553fd11eb69208b3949065f689f17d
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/ovs-lldp.c
    M lib/ovs-lldp.h
    M vswitchd/bridge.c

  Log Message:
  -----------
  ovs-lldp: Use better types for ISID and VLANs.

An ISID is 24 bits, so it fits in a uint32_t.  A VLAN is 12 bits, so it
fits in a uint16_t.  Use these types consistently, instead of int64_t.

This removes a check in aa_mapping_unregister() that seems a little
mysterious to me: it previously checked for ISID and VLAN values >= 0.  I
don't see a way that they could be < 0 in this situation though.

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


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

  Changed paths:
    M lib/lldp/lldp.c
    M lib/lldp/lldpd-structs.h
    M lib/ovs-lldp.c
    M tests/test-aa.c

  Log Message:
  -----------
  lldpd-structs: Fix type of c_id member.

This member is typically an Ethernet address so the appropriate type is
uint8_t, not char.  This eliminates a couple of casts.

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


  Commit: f856318e14ccee4617b0d9e6a0259558915fd59c
      https://github.com/openvswitch/ovs/commit/f856318e14ccee4617b0d9e6a0259558915fd59c
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldp.c
    M lib/lldp/lldpd-structs.h
    M lib/ovs-lldp.c

  Log Message:
  -----------
  lldp: Miscellaneous coding style fixes.

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


  Commit: 224f05de492f478b66e73df48525d449b1160acf
      https://github.com/openvswitch/ovs/commit/224f05de492f478b66e73df48525d449b1160acf
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/ovs-lldp.c

  Log Message:
  -----------
  ovs-lldp: Remove unneeded NULL checks on free().

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


  Commit: 24738b7e993e9bc5cccc73c7b95bb3e924cb4af7
      https://github.com/openvswitch/ovs/commit/24738b7e993e9bc5cccc73c7b95bb3e924cb4af7
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd.c

  Log Message:
  -----------
  lldpd: Remove obsolete comment.

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


  Commit: 937f71bf6c51d3dcab7d892601a22f5b251ab5f4
      https://github.com/openvswitch/ovs/commit/937f71bf6c51d3dcab7d892601a22f5b251ab5f4
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd.c

  Log Message:
  -----------
  lldpd: Use CONTAINER_OF instead of cast, for safety.

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


  Commit: 809fd54df3ecb90d8e0ea84a614ba3432a97de2b
      https://github.com/openvswitch/ovs/commit/809fd54df3ecb90d8e0ea84a614ba3432a97de2b
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd.h

  Log Message:
  -----------
  lldpd: Remove unused ALIGNED_CAST macro.

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


  Commit: a268e134b6088e8b9d255b19ae1cbb219378c0fe
      https://github.com/openvswitch/ovs/commit/a268e134b6088e8b9d255b19ae1cbb219378c0fe
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd.c

  Log Message:
  -----------
  lldpd: Fix return value convention for "send" function.

errno values are positive values, so it's not reasonable to use E2BIG as
an error return with positive values also indicating packet lengths.

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


  Commit: f94d6e78047294e5b88364636cb3e50ee58cc283
      https://github.com/openvswitch/ovs/commit/f94d6e78047294e5b88364636cb3e50ee58cc283
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldp.c
    M lib/lldp/lldpd.c

  Log Message:
  -----------
  lldp: Remove excessive parentheses.

The OVS style is to usually avoid parentheses in cases like these where
they just make expressions harder to read.

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


  Commit: 6db3f8b065dd528469884ea93eae7f120602a077
      https://github.com/openvswitch/ovs/commit/6db3f8b065dd528469884ea93eae7f120602a077
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldp.c

  Log Message:
  -----------
  lldp: Use ETH_ADDR_FMT.

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


  Commit: 806cc1ebe558960b0d1392e64459a7bc59c18e84
      https://github.com/openvswitch/ovs/commit/806cc1ebe558960b0d1392e64459a7bc59c18e84
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd.h

  Log Message:
  -----------
  lldpd: Remove unused members from struct lldpd.

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


  Commit: 3622191996edd0daa5c4ac3f4c5ffaafd59aa8e8
      https://github.com/openvswitch/ovs/commit/3622191996edd0daa5c4ac3f4c5ffaafd59aa8e8
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd-structs.h

  Log Message:
  -----------
  lldpd-structs: Declare Boolean member as one bit, not two.

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


  Commit: e87a8e67fa75483f9de804370a36ebc01f85ddc9
      https://github.com/openvswitch/ovs/commit/e87a8e67fa75483f9de804370a36ebc01f85ddc9
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd.c
    M lib/lldp/lldpd.h
    M lib/ovs-lldp.c

  Log Message:
  -----------
  lldpd: Fix use of list of struct lldpd_chassis.

A list of some type should have type "struct ovs_list", not some other
type that encapsulates it.

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


  Commit: 2cbb2d9011e7301c6f35fee1ed3f998e350119b4
      https://github.com/openvswitch/ovs/commit/2cbb2d9011e7301c6f35fee1ed3f998e350119b4
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd.c
    M lib/lldp/lldpd.h
    M lib/ovs-lldp.c
    M tests/test-aa.c

  Log Message:
  -----------
  lldpd: Fix use of list of struct lldpd_hardware.

A list of some type should have type "struct ovs_list", not some other
type that encapsulates it.

This ovs_list is a bit puzzling in itself, because it appears to always
have exactly one element.

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


  Commit: 88f07b589235bec803d9b2b7e2c1a4937bff174c
      https://github.com/openvswitch/ovs/commit/88f07b589235bec803d9b2b7e2c1a4937bff174c
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd-structs.h
    M lib/lldp/lldpd.h
    M lib/ovs-lldp.h

  Log Message:
  -----------
  lldp: Remove unused definitions from headers.

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


  Commit: ac211bdd76ca8a3dd93569c7f68bbd11c0fe0190
      https://github.com/openvswitch/ovs/commit/ac211bdd76ca8a3dd93569c7f68bbd11c0fe0190
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd.h
    M lib/ovs-lldp.h

  Log Message:
  -----------
  lldp: Fully parenthesize some macro definitions.

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


  Commit: ed3c9990c6c23c341c4410e5f8c8f37e82e1ff44
      https://github.com/openvswitch/ovs/commit/ed3c9990c6c23c341c4410e5f8c8f37e82e1ff44
  Author: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M lib/netdev-bsd.c

  Log Message:
  -----------
  netdev-bsd: Fix a compilation error

Fix a compilation problem introduced by
commit cf62fa4c7074121184a1f1d07980990113657612
("dp-packet: Remove ofpbuf dependency.")

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


  Commit: aaaac302d9828e21e0d222df85e8b40958fbfcb8
      https://github.com/openvswitch/ovs/commit/aaaac302d9828e21e0d222df85e8b40958fbfcb8
  Author: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M lib/dp-packet.h

  Log Message:
  -----------
  dp-packet.h: Fix a typo in #endif comment

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


  Commit: 609c8baef2db0f9eff9ebe075bc0a44a6477e808
      https://github.com/openvswitch/ovs/commit/609c8baef2db0f9eff9ebe075bc0a44a6477e808
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M AUTHORS

  Log Message:
  -----------
  AUTHORS: Update Alexei Froloff's email address.

Requested-by: "Alexey I. Froloff" <raorn at raorn.name>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: afb505724cb1e9376be8908bb2e43db64e789771
      https://github.com/openvswitch/ovs/commit/afb505724cb1e9376be8908bb2e43db64e789771
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M tests/test-hash.c

  Log Message:
  -----------
  test-hash: Test hash_bytes128() with single 128-bit word.

This commit adds a new test for hash_bytes128() using single 128-bit
word.  The test shows that there is no collision in all 19 consecutive
bits checks, which indicates the hash function is good.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Joe Stringer <joestringer at nicira.com>


  Commit: 06af0bbfb931ae5fabdb2d5da0035cd27c755433
      https://github.com/openvswitch/ovs/commit/06af0bbfb931ae5fabdb2d5da0035cd27c755433
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M tests/test-hash.c

  Log Message:
  -----------
  test-hash: Do not exit check_word_hash() when there is a failure.

This commit makes check_word_hash() run to finish even when there
is a failure during the run.  The test will still fail due to the
output check in AT_CHECK.  And developers can benefit from having
all failed hashes instead of only the first one.

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


  Commit: 09c28fa3210affd9ca79303348aaa502f5821139
      https://github.com/openvswitch/ovs/commit/09c28fa3210affd9ca79303348aaa502f5821139
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M lib/lldp/lldpd-structs.h
    M lib/lldp/lldpd.c
    M lib/lldp/lldpd.h
    M lib/ovs-lldp.c
    M tests/test-aa.c

  Log Message:
  -----------
  lldp: Fix DPDK build.

Fixes following dp-packet access. Removes netinet/if_ether.h
include due to duplicate definition of ether_addr.

------
In file included from /usr/include/netinet/if_ether.h:60:0,
           from lib/lldp/lldpd.h:23,
           from lib/ovs-lldp.h:26,
           from lib/ovs-lldp.c:30:
/usr/include/net/ethernet.h: At top level:
/usr/include/net/ethernet.h:32:8: error: redefinition of 'struct
ether_addr'
 struct ether_addr
  ^
In file included from
../dpdk/dpdk/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:179:0,
           from lib/netdev-dpdk.h:18,
           from lib/dp-packet.h:25,
           from lib/ovs-lldp.h:23,
           from lib/ovs-lldp.c:30:
../dpdk/dpdk/x86_64-native-linuxapp-gcc/include/rte_ether.h:83:8: note:
originally defined here
 struct ether_addr {
  ^
lib/ovs-lldp.c: In function 'lldp_process_packet':
lib/ovs-lldp.c:676:30: error: 'const struct dp_packet' has no member
named 'data_'
              (char *) p->data_, p->size_);
                        ^
lib/ovs-lldp.c:676:40: error: 'const struct dp_packet' has no member
named 'size_'
              (char *) p->data_, p->size_);
------

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


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

  Changed paths:
    M .travis/build.sh
    M INSTALL.DPDK.md
    M lib/dp-packet.h
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  lib: upgrade to DPDK v1.8.0

DPDK v1.8.0 makes significant changes to struct rte_mbuf, including
removal of the 'pkt' and 'data' fields. The latter, formally a
pointer, is now calculated via an offset from the start of the
segment buffer.  So now dp_packet data is also stored as offset
from base pointer.

Signed-off-by: Mark Kavanagh <mark.b.kavanagh at intel.com>
Signed-off-by: Rory Sexton <rory.sexton at intel.com>
Signed-off-by: Kevin Traynor <kevin.traynor at intel.com>
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 90bcf7a507d0e354d3a9ceec3f79a544cfdc989c
      https://github.com/openvswitch/ovs/commit/90bcf7a507d0e354d3a9ceec3f79a544cfdc989c
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

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

  Log Message:
  -----------
  ovs-bugtool: Improve manpage.

The manpage was poorly organized and failed to mention some options.

Example provided by Gurucharan Shetty <gshetty at nicira.com>.

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


  Commit: 8ec908136649d5205dbdf642ad5ac980fb72ff9b
      https://github.com/openvswitch/ovs/commit/8ec908136649d5205dbdf642ad5ac980fb72ff9b
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  ofproto-dpif-xlate: Don't translate action set when dropping.

Translate action set only if not dropping the packet.

Found by inspection.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: e2676b44642c1b135d61df9d8fb4239231455921
      https://github.com/openvswitch/ovs/commit/e2676b44642c1b135d61df9d8fb4239231455921
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  ofproto-dpif-xlate: Free recirculation ID in an error case.

Found by inspection.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: e824d78d8590036387d4d64b71d2302ba9514f0f
      https://github.com/openvswitch/ovs/commit/e824d78d8590036387d4d64b71d2302ba9514f0f
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  ofproto-dpif-xlate: Fix indentation.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 7cde82084a4d6c4d6e6b2ca97c978561c3c96dda
      https://github.com/openvswitch/ovs/commit/7cde82084a4d6c4d6e6b2ca97c978561c3c96dda
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M ofproto/ofproto-dpif-upcall.c

  Log Message:
  -----------
  ofproto-dpif-upcall: Create ukey only for miss upcalls.

There is no point trying to create ukeys for non-miss upcalls, such as
upcalls due to an explicit userspace actions (e.g, slow-pathed flows).

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 4946b41df20785e33a33603257d191fb4163f858
      https://github.com/openvswitch/ovs/commit/4946b41df20785e33a33603257d191fb4163f858
  Author: Justin Pettit <jpettit at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M ovsdb/ovsdb-idlc.in

  Log Message:
  -----------
  ovsdb-idlc: Use column name for "*_set_*" smap arguments.

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


  Commit: d797877dc3c6608d165b69ca466a8e8448e388b6
      https://github.com/openvswitch/ovs/commit/d797877dc3c6608d165b69ca466a8e8448e388b6
  Author: Justin Pettit <jpettit at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M ovsdb/ovsdb-idlc.in

  Log Message:
  -----------
  ovsdb-idlc: Add comments for remaining non-"set" non-static functions.

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


  Commit: e8cc1bb13fc02ba0400e31ef270ef21d79399dbc
      https://github.com/openvswitch/ovs/commit/e8cc1bb13fc02ba0400e31ef270ef21d79399dbc
  Author: Justin Pettit <jpettit at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M ovsdb/ovsdb-idlc.in

  Log Message:
  -----------
  ovsdb-idlc: Remove "*_get_*" warning from header file.

The warning is now captured in the C file, which has documentation for
all the public functions.

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


  Commit: 7cc398cb8561a16ae3be5ffc687be5620981d619
      https://github.com/openvswitch/ovs/commit/7cc398cb8561a16ae3be5ffc687be5620981d619
  Author: Justin Pettit <jpettit at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M ovsdb/ovsdb-idlc.in

  Log Message:
  -----------
  ovsdb-idlc: Generate comments for "*_set_*" functions.

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


  Commit: bdd0bd2873415838643e42a1e4c08319fe8d3b8b
      https://github.com/openvswitch/ovs/commit/bdd0bd2873415838643e42a1e4c08319fe8d3b8b
  Author: Justin Pettit <jpettit at nicira.com>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M .travis/build.sh
    M AUTHORS
    M INSTALL.DPDK.md
    M NEWS
    M NOTICE
    M acinclude.m4
    M datapath/datapath.c
    M datapath/flow.h
    M datapath/flow_netlink.c
    M datapath/flow_netlink.h
    M datapath/flow_table.c
    M datapath/flow_table.h
    M datapath/linux/compat/include/linux/openvswitch.h
    M datapath/linux/compat/include/net/genetlink.h
    M debian/copyright.in
    M lib/automake.mk
    M lib/bfd.c
    M lib/bfd.h
    M lib/bundle.c
    M lib/cfm.c
    M lib/cfm.h
    A lib/dp-packet.c
    A lib/dp-packet.h
    M lib/dpctl.c
    M lib/dpif-netdev.c
    M lib/dpif-netdev.h
    M lib/dpif-netlink.c
    M lib/dpif.c
    M lib/dpif.h
    M lib/flow.c
    M lib/flow.h
    M lib/hash.h
    M lib/jsonrpc.c
    M lib/lacp.c
    M lib/lacp.h
    M lib/learn.c
    M lib/learning-switch.c
    A lib/lldp/aa-structs.h
    A lib/lldp/lldp-const.h
    A lib/lldp/lldp-tlv.h
    A lib/lldp/lldp.c
    A lib/lldp/lldpd-structs.c
    A lib/lldp/lldpd-structs.h
    A lib/lldp/lldpd.c
    A lib/lldp/lldpd.h
    M lib/netdev-bsd.c
    M lib/netdev-dpdk.c
    M lib/netdev-dpdk.h
    M lib/netdev-dummy.c
    M lib/netdev-linux.c
    M lib/netdev-provider.h
    M lib/netdev-vport.c
    M lib/netdev.c
    M lib/netdev.h
    M lib/netlink-socket.c
    M lib/netlink.c
    M lib/nx-match.c
    M lib/odp-execute.c
    M lib/odp-execute.h
    M lib/odp-util.c
    M lib/odp-util.h
    M lib/ofp-actions.c
    M lib/ofp-errors.c
    M lib/ofp-msgs.c
    M lib/ofp-parse.c
    M lib/ofp-print.c
    M lib/ofp-util.c
    M lib/ofpbuf.c
    M lib/ofpbuf.h
    A lib/ovs-lldp.c
    A lib/ovs-lldp.h
    R lib/packet-dpif.c
    R lib/packet-dpif.h
    M lib/packets.c
    M lib/packets.h
    M lib/pcap-file.c
    M lib/pcap-file.h
    M lib/rconn.c
    M lib/route-table.c
    M lib/rstp-common.h
    M lib/rstp-state-machines.c
    M lib/rstp.c
    M lib/rstp.h
    M lib/rtnetlink-link.c
    M lib/stp.c
    M lib/stp.h
    M lib/stream-ssl.c
    M lib/tnl-arp-cache.c
    M lib/tnl-ports.c
    M lib/util.c
    M lib/vconn-stream.c
    M lib/vconn.c
    M ofproto/bond.c
    M ofproto/bond.h
    M ofproto/connmgr.c
    M ofproto/connmgr.h
    M ofproto/fail-open.c
    M ofproto/in-band.c
    M ofproto/netflow.c
    M ofproto/ofproto-dpif-ipfix.c
    M ofproto/ofproto-dpif-ipfix.h
    M ofproto/ofproto-dpif-monitor.c
    M ofproto/ofproto-dpif-monitor.h
    M ofproto/ofproto-dpif-sflow.c
    M ofproto/ofproto-dpif-sflow.h
    M ofproto/ofproto-dpif-upcall.c
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif-xlate.h
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto-dpif.h
    M ofproto/ofproto-provider.h
    M ofproto/ofproto.c
    M ofproto/ofproto.h
    M ofproto/pktbuf.c
    M ofproto/pktbuf.h
    M ovsdb/ovsdb-idlc.in
    A tests/auto-attach.at
    M tests/automake.mk
    M tests/ofproto-dpif.at
    M tests/ovs-vsctl.at
    A tests/test-aa.c
    M tests/test-bundle.c
    M tests/test-flows.c
    M tests/test-hash.c
    M tests/test-netflow.c
    M tests/test-odp.c
    M tests/test-rstp.c
    M tests/test-sflow.c
    M tests/test-stp.c
    M tests/test-vconn.c
    M tests/testsuite.at
    M utilities/bugtool/ovs-bugtool.8.in
    M utilities/ovs-docker
    M utilities/ovs-ofctl.c
    M utilities/ovs-save
    M utilities/ovs-vsctl.8.in
    M utilities/ovs-vsctl.c
    M vswitchd/bridge.c
    M vswitchd/vswitch.ovsschema
    M vswitchd/vswitch.xml
    M vtep/ovs-vtep

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into ovn3


Compare: https://github.com/openvswitch/ovs/compare/2e03fc77fddf...bdd0bd287341


More information about the git mailing list