I wanted to post the latest state of the conntrack & nat patches based on Justin's initial RFC before I travel.
Changes to Justin's patch include the introduction of a new model to convert nested Netlink attributes to a in-kernel only struct to allow the zone support patch to keep a reference to struct nf_conn and register it as template in the conntracker. The use of nested attributes will allow to specify conntrack helpers and additional conntrack expectations later on. That patch still requires a change to accurately calculate the sf_acts Netlink message size to avoid realloc during message construction. The nat patch is still very WIP. The configuration of the nat action in the data path works but I haven't worked much further. Justin Pettit (1): RFC: Add support for connection tracking. Thomas Graf (4): datapath: Use central function to free sw_flow_actions datapath: Add zone support to conntrack action datapath: Add stateful NAT action odp: Add stateful NAT action datapath/actions.c | 138 ++++++++++ datapath/datapath.c | 30 ++- datapath/flow.c | 25 ++ datapath/flow.h | 15 ++ datapath/flow_netlink.c | 292 +++++++++++++++++++++- datapath/flow_netlink.h | 4 +- datapath/flow_table.c | 3 +- datapath/linux/compat/include/linux/openvswitch.h | 69 +++++ include/openflow/nicira-ext.h | 22 ++ lib/dpif-netdev.c | 2 + lib/dpif.c | 2 + lib/flow.c | 63 ++++- 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 | 14 ++ lib/odp-util.c | 175 +++++++++++++ lib/odp-util.h | 5 +- lib/ofp-actions.c | 194 ++++++++++++++ lib/ofp-actions.h | 40 +++ lib/ofp-print.c | 4 + lib/ofp-util.c | 7 +- lib/packets.h | 1 + ofproto/ofproto-dpif-xlate.c | 48 +++- ofproto/ofproto-unixctl.man | 2 + tests/dpif-netdev.at | 16 +- tests/odp.at | 20 +- tests/ofproto-dpif.at | 18 +- tests/ofproto.at | 5 +- utilities/ovs-ofctl.8.in | 20 ++ 33 files changed, 1259 insertions(+), 70 deletions(-) -- 1.9.3 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev