mbox series

[ovs-dev,v4,0/3] Add dpif support for ct_clear action

Message ID 20180119192153.4660-1-e@erig.me
Headers show
Series Add dpif support for ct_clear action | expand

Message

Eric Garver Jan. 19, 2018, 7:21 p.m. UTC
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/330927140

v4:
	- rebase
v3:
    - add NEWS item
    - add comment describing OVS_ACTION_ATTR_CT_CLEAR
    - update parse_odp_action() and add ct_clear to odp test case
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

 NEWS                                              |  5 +-
 datapath/linux/compat/include/linux/openvswitch.h |  2 +
 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                                    | 11 ++++
 lib/ofp-actions.c                                 |  1 +
 ofproto/ofproto-dpif-ipfix.c                      |  1 +
 ofproto/ofproto-dpif-sflow.c                      |  1 +
 ofproto/ofproto-dpif-xlate.c                      | 13 +++-
 ofproto/ofproto-dpif.c                            | 32 ++++++++++
 ofproto/ofproto-dpif.h                            |  5 +-
 tests/odp.at                                      |  1 +
 tests/system-common-macros.at                     |  4 ++
 tests/system-traffic.at                           | 73 +++++++++++++++++++++++
 17 files changed, 165 insertions(+), 4 deletions(-)