[ovs-dev] [PATCHv3 0/5] SCTP Support

Joe Stringer joe at wand.net.nz
Wed Jun 12 05:35:53 UTC 2013


This patchset introduces matching and rewriting support for sctp src,dst ports.
Round three adds further crc32c tests on the userspace side and adds support
for skb fragments on the kernel side. Various sparse errors and previous
feedback have also been addressed.

This series is also available at:
    git at github.com:joestringer/openvswitch.git submit/sctp_v3
---
v3:
- Rebase
- Add checksum tests based on Intel IPPs documentation
- Handle skb fragments for checksum calculation
- Fix sparse errors
v2:
- Rebase against master
- Calculate checksums as delta from incoming checksum
- Do not recalculate sctp checksum on IP address changes
- Add unit tests

Joe Stringer (5):
  lib: Add CRC32C Implementation
  ofproto-dpif: Add SCTP support
  datapath: Add SCTP support
  ofp-util: Add SCTP support
  debian: Add CRC32C implementation license

 NEWS                                       |    1 +
 OPENFLOW-1.1+                              |    4 -
 datapath/actions.c                         |   40 +++++++
 datapath/checksum.c                        |    3 +
 datapath/checksum.h                        |   15 +++
 datapath/datapath.c                        |    6 ++
 datapath/flow.c                            |   60 +++++++++++
 datapath/flow.h                            |    8 +-
 datapath/linux/Modules.mk                  |    1 +
 datapath/linux/compat/include/linux/sctp.h |   17 +++
 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                             |   53 ++++++++++
 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                          |   35 ++++++
 tests/test-netflow.c                       |    6 ++
 utilities/ovs-ofctl.8.in                   |   20 ++--
 36 files changed, 752 insertions(+), 47 deletions(-)
 create mode 100644 datapath/linux/compat/include/linux/sctp.h
 create mode 100644 lib/crc32c.c
 create mode 100644 lib/crc32c.h

-- 
1.7.10.4




More information about the dev mailing list