[ovs-dev] [PATCH v2 0/3] Add dpif support for ct_clear action

Eric Garver e at erig.me
Thu Oct 26 19:30:41 UTC 2017


This series adds dpif support for OVS_ACTION_ATTR_CT_CLEAR. Previously the
ct_clear action was a userspace only operation, but it has use cases in the
dpif as well. Namely changing a packet's tuple after a ct() lookup has
occurred.

Kernel support has already be accepted upstream:
  b8226962b1c4 ("openvswitch: add ct_clear action").

travis-ci: https://travis-ci.org/erig0/ovs/builds/290487503

v2:
    - Specify port for nc in test (patch 3)

Eric Garver (3):
  dpif: Add support for OVS_ACTION_ATTR_CT_CLEAR
  system-common-macros: Check for ct_clear action in datapath
  system-traffic: Add conntrack floating IP test

 datapath/linux/compat/include/linux/openvswitch.h |  1 +
 lib/conntrack.c                                   | 10 ++++
 lib/conntrack.h                                   |  1 +
 lib/dpif-netdev.c                                 |  1 +
 lib/dpif.c                                        |  1 +
 lib/odp-execute.c                                 |  7 +++
 lib/odp-util.c                                    |  4 ++
 lib/ofp-actions.c                                 |  1 +
 ofproto/ofproto-dpif-ipfix.c                      |  1 +
 ofproto/ofproto-dpif-sflow.c                      |  1 +
 ofproto/ofproto-dpif-xlate.c                      | 14 ++++-
 ofproto/ofproto-dpif.c                            | 32 ++++++++++
 ofproto/ofproto-dpif.h                            |  5 +-
 tests/system-common-macros.at                     |  4 ++
 tests/system-traffic.at                           | 73 +++++++++++++++++++++++
 15 files changed, 154 insertions(+), 2 deletions(-)

-- 
2.12.0



More information about the dev mailing list