don't forget to define HAVE_BACKTRACE

Signed-off-by: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
acinclude.m4: update a comment for NetBSD support

Signed-off-by: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
testsuite: update a comment

Signed-off-by: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto-dpif: Don't configure BFD on missing ofports.

This was causing ovs-vswitchd to core occasionally, even when BFD
wasn't turned on.

Bug #17162.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c: Re-implement the ofproto/trace command

Since the use of single datapath, all bridges belonging to the same type of
datapath will use the same (single) datapath. This causes confusion in the
current 'ofproto/trace' command. Especially, when given the unrelated
'bridge' and 'in_port' combination, the current implementation will still
be able to process and give misleading output. Thusly, this patch changes
the 'ofproto/trace' command syntax to formats shown as follow.

ofproto/trace [datapath] odp_flow [-generate|packet]
ofproto/trace bridge br_flow [-generate|packet]

Also, this patch updates the tests and the manpages accordingly.

Co-authored-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
tests/ofproto-dpif.at: Add tests for the ofproto/trace command

Two testcases are added to the testsuite, which test the new
command syntax and the corresponding corner cases.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib: Add CRC32C Implementation

This implementation was derived from FreeBSD:
http://code.google.com/p/freebsd-head/source/browse/sys/libkern/crc32.c

Signed-off-by: Joe Stringer <joe@wand.net.nz>
---
v3: Rebase against master
    Return crc32c checksum in network byte-order
    Add checksum tests based on Intel IPPs documentation
v2: Update copyright notice
    Include config.h (Fix sparse error)
datapath: Add SCTP support

Signed-off-by: Joe Stringer <joe@wand.net.nz>
---
v3: Rebase against master
    Modify to use kernel CRC32C implementation correctly
v2: Remove SCTP checksum recalculation when changing IP address
    Calculate checksums as delta from incoming checksum
dpif: Add SCTP support

Signed-off-by: Joe Stringer <joe@wand.net.nz>
---
v3: Rebase against master
v2: Fix broken test
    Use the correct packet pointer
    Calculate checksums as delta from incoming checksum
ofp-util: Support matching on SCTP src,dst ports

Signed-off-by: Joe Stringer <joe@wand.net.nz>
---
v3: Rebase against master
v2: Add flowmod parse tests
    Add set-field tests
    Add NEWS item
    Add sctp to ovs-ofctl.8