Justin, I've extended your conntrack path with zone support. It's unfinished and still has open issues such as how to calculate the internal sw_flow_actions length.
Storing nf_conn in the actions is somewhat of a mess due to the possible misalignment of the pointer (only 4byte alignment is guaranteed) so I wanted to run this by Pravin, Jesse, and you to see this should be addressed. As far as I can see, this is the first action which requires to store a pointer and keep a reference to something. I've converted conntrack attribute to be nested so we can easily extend it and allow specification of conntrack helpers and setting up of conntrack expectations. Justin Pettit (1): RFC: Add support for connection tracking. Thomas Graf (1): datapath: Add conntrack zone support datapath/actions.c | 53 ++++++++++ datapath/datapath.c | 27 +++-- datapath/flow.c | 25 +++++ datapath/flow.h | 9 ++ datapath/flow_netlink.c | 117 ++++++++++++++++++++-- datapath/flow_netlink.h | 3 +- datapath/flow_table.c | 3 +- datapath/linux/compat/include/linux/openvswitch.h | 15 +++ include/openflow/nicira-ext.h | 22 ++++ lib/dpif-netdev.c | 1 + lib/dpif.c | 1 + lib/flow.c | 61 +++++++++-- lib/flow.h | 9 +- lib/match.c | 40 +++++++- lib/match.h | 3 + lib/meta-flow.c | 36 +++++++ lib/meta-flow.h | 1 + lib/nx-match.c | 6 +- lib/odp-execute.c | 8 ++ lib/odp-util.c | 62 ++++++++++++ lib/odp-util.h | 5 +- lib/ofp-actions.c | 90 +++++++++++++++++ lib/ofp-actions.h | 18 ++++ lib/ofp-print.c | 4 + lib/ofp-util.c | 7 +- lib/packets.h | 1 + ofproto/ofproto-dpif-xlate.c | 19 +++- ofproto/ofproto-unixctl.man | 2 + utilities/ovs-ofctl.8.in | 20 ++++ 29 files changed, 632 insertions(+), 36 deletions(-) -- 1.9.3 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev