[ovs-dev] [patch v3 0/9] Userspace datapath: Add fragmentation support.

Darrell Ball dlu998 at gmail.com
Fri Jan 26 02:05:00 UTC 2018


Fragmentation support for userspace datapath conntrack is added;
see patches for additional details.

v2->v3: Patch 2 was updated:
        Remove "XXX" todo items by implementing the ones needed,
        including realloc frag_list contexts to save memory.
        Fix related bug with max_frag_list_size when min_frag_size is
        reconfigured.

        Tighten ip_tot_len sanity check for reassembled packets which
        was more loose than intended.

        Add another sanity check for fragment ip_tot_len; even though
        it be redundant, add for completeness.

v1->v2: Few fixes, improvements and cleanups.

Darrell Ball (9):
  dp-packet: Add const qualifiers for checksum apis.
  Userspace datapath: Add v4 fragmentation handling.
  conntrack: Support v4 fragmentation.
  ipf: Add command to enable fragmentation handling.
  ipf: Add set minimum fragment size command.
  ipf: Add set maximum fragments supported command.
  ipf: Add command to get fragmentation handling status.
  tests: Add missed local stack check.
  tests: Enable v4 fragmentation for userspace datapath.

 NEWS                             |  11 +-
 lib/automake.mk                  |   2 +
 lib/conntrack.c                  |   6 +
 lib/ct-dpif.c                    |  39 ++
 lib/ct-dpif.h                    |   7 +
 lib/dp-packet.h                  |   4 +-
 lib/dpctl.c                      | 134 ++++++
 lib/dpctl.man                    |  29 ++
 lib/dpif-netdev.c                |  47 ++
 lib/dpif-netlink.c               |   4 +
 lib/dpif-provider.h              |  11 +
 lib/ipf.c                        | 921 +++++++++++++++++++++++++++++++++++++++
 lib/ipf.h                        |  65 +++
 tests/system-kmod-macros.at      |  14 +-
 tests/system-traffic.at          |  28 +-
 tests/system-userspace-macros.at |  36 +-
 16 files changed, 1338 insertions(+), 20 deletions(-)
 create mode 100644 lib/ipf.c
 create mode 100644 lib/ipf.h

-- 
1.9.1



More information about the dev mailing list