[ovs-dev] [PATCH 0/3] ofproto/trace: Add support for tracing conntrack recirc
Yi-Hung Wei
yihung.wei at gmail.com
Mon Jun 26 17:18:59 UTC 2017
This patch series enhances the usability of ofproto/trace when a flow
hit conntrack actions that involves recirculation. Instead of asking
users to run ofproto/trace multiple times to derive the final datapath
actions, we keep track of the conntrack actions, and automatically run
the recirculation process so that a user only need to execute the
ofproto/trace command once. A new option --ct-next is added for
ofproto/trace to customize the next ct_state during the trace.
v1 -> v2
- Move ct_state parsing to lib/flow.c instead of lib/conntrack.c
- Address various reviewer comments such as ref counting balance, code
structure, and typo fixes.
Yi-Hung Wei (3):
conntrack: Move ct_state parsing to lib/flow.c
ofproto/trace: Add support for tracing conntrack recirculation
ofproto/trace: Add --ct-next option to ofproto/trace
NEWS | 2 +
lib/flow.c | 68 +++++++++++++++
lib/flow.h | 3 +
ofproto/ofproto-dpif-rid.c | 13 +++
ofproto/ofproto-dpif-rid.h | 1 +
ofproto/ofproto-dpif-trace.c | 204 +++++++++++++++++++++++++++++++++++++------
ofproto/ofproto-dpif-trace.h | 28 ++++++
ofproto/ofproto-dpif-xlate.c | 29 +++++-
ofproto/ofproto-dpif-xlate.h | 4 +
ofproto/ofproto-unixctl.man | 54 +++++++++++-
ovn/utilities/ovn-trace.c | 32 ++-----
tests/completion.at | 8 +-
tests/ofproto-dpif.at | 66 ++++++++++++--
13 files changed, 443 insertions(+), 69 deletions(-)
--
2.7.4
More information about the dev
mailing list