[ovs-dev] [PATCH v4 0/4] SCTP Support

Joe Stringer joe at wand.net.nz
Wed Jul 31 00:31:54 UTC 2013


This patchset introduces matching and rewriting support for sctp src,dst ports.
Round four does a rebase against the megaflow changes, and shuffles compat code
around a bit. Functionally, we no longer have any code for Xen compatibility
and the skb->ip_summed is no longer modified on port-rewrite.

Joe Stringer (4):
  lib: Add CRC32C Implementation
  datapath: Add SCTP support
  ofproto-dpif: Add SCTP support
  ofp-util: Add SCTP support

 NEWS                                              |    2 +
 OPENFLOW-1.1+                                     |    4 -
 datapath/actions.c                                |   39 +++++
 datapath/datapath.c                               |    6 +
 datapath/flow.c                                   |   65 +++++++++
 datapath/flow.h                                   |    8 +-
 datapath/linux/Modules.mk                         |    4 +-
 datapath/linux/compat/include/linux/sctp.h        |   13 ++
 datapath/linux/compat/include/net/ipv6.h          |    4 +
 datapath/linux/compat/include/net/sctp/checksum.h |   28 ++++
 debian/copyright.in                               |    4 +
 include/linux/openvswitch.h                       |    6 +
 include/sparse/netinet/in.h                       |    1 +
 lib/automake.mk                                   |    2 +
 lib/crc32c.c                                      |  159 +++++++++++++++++++++
 lib/crc32c.h                                      |   25 ++++
 lib/flow.c                                        |   33 ++++-
 lib/flow.h                                        |    4 +-
 lib/match.c                                       |    4 +
 lib/meta-flow.c                                   |   38 +++++
 lib/meta-flow.h                                   |    4 +
 lib/nx-match.c                                    |    5 +
 lib/odp-execute.c                                 |    6 +
 lib/odp-util.c                                    |   85 +++++++++++
 lib/ofp-parse.c                                   |    2 +
 lib/ofp-print.c                                   |    6 +
 lib/ofp-util.c                                    |   10 +-
 lib/packets.c                                     |   22 +++
 lib/packets.h                                     |   10 ++
 tests/library.at                                  |    2 +-
 tests/ofp-print.at                                |   64 +++++++++
 tests/ofproto-dpif.at                             |   54 +++++--
 tests/ovs-ofctl.at                                |   69 +++++++--
 tests/test-csum.c                                 |   40 ++++++
 tests/test-netflow.c                              |    6 +
 utilities/ovs-ofctl.8.in                          |   20 ++-
 36 files changed, 806 insertions(+), 48 deletions(-)
 create mode 100644 datapath/linux/compat/include/linux/sctp.h
 create mode 100644 datapath/linux/compat/include/net/sctp/checksum.h
 create mode 100644 lib/crc32c.c
 create mode 100644 lib/crc32c.h

-- 
1.7.10.4




More information about the dev mailing list