]> git.proxmox.com Git - mirror_ovs.git/commit
ofproto/trace: Add support for tracing conntrack recirculation
authorYi-Hung Wei <yihung.wei@gmail.com>
Tue, 27 Jun 2017 18:11:33 +0000 (11:11 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 12 Jul 2017 22:46:21 +0000 (15:46 -0700)
commite6bc8e749381071341c5d16385641e968642c242
treec533f3a60d8ad780020917e59a1fb2aeac471dfd
parentef241d1e8675660b698839e624695da4ccf25e1b
ofproto/trace: Add support for tracing conntrack recirculation

Previously, a user need to run ofproto/trace multiple times to derive the
final datapath actions if a flow hit conntrack actions that involves
recirculation. To improve the usability of ofproto/trace, in this patch,
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. Currently, this patch sets the default ct_state as
trk and new in the automatic recirculation process. A following patch
will provide an option to customize ct_state.

Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ofproto/ofproto-dpif-rid.c
ofproto/ofproto-dpif-rid.h
ofproto/ofproto-dpif-trace.c
ofproto/ofproto-dpif-trace.h
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif-xlate.h
tests/ofproto-dpif.at