This is a second RFC on the layer 3 support design, based a feedback received from Jesse and Ben. It is still not a formal patch, since the code is incomplete, but I would like to check at this point if you agree with the implementation decisions I had taken so far.
Lorand Jakab (4): ofproto-dpif: add support for layer 3 ports userspace: add support for pop_eth and push_eth actions userspace: add layer 3 flow and switching support datapath: add layer 3 flow/port support datapath/actions.c | 32 +++++++++++++++++++ datapath/datapath.h | 1 + datapath/flow.c | 43 ++++++++++++++----------- datapath/flow.h | 1 + datapath/flow_netlink.c | 18 ++++++++++- datapath/vport-gre.c | 1 + datapath/vport-lisp.c | 17 ++-------- datapath/vport-netdev.c | 1 + datapath/vport-vxlan.c | 1 + include/linux/openvswitch.h | 12 +++++++ lib/dpif-linux.c | 7 ++++ lib/dpif.c | 6 ++- lib/flow.c | 38 ++++++++++++++++++++--- lib/flow.h | 7 ++-- lib/match.c | 11 ++++-- lib/netdev-vport.c | 8 +++++ lib/netdev-vport.h | 1 + lib/nx-match.c | 2 +- lib/odp-execute.c | 12 +++++++ lib/odp-util.c | 69 ++++++++++++++++++++++++++++++++++++++--- lib/odp-util.h | 6 ++++ lib/ofp-print.c | 14 ++++++-- lib/ofp-print.h | 3 +- lib/ofp-util.c | 2 +- lib/packets.c | 15 +++++++++ lib/packets.h | 4 ++ ofproto/ofproto-dpif-xlate.c | 21 +++++++++++-- ofproto/ofproto-dpif-xlate.h | 2 +- ofproto/ofproto-dpif.c | 9 ++++- 29 files changed, 297 insertions(+), 67 deletions(-) -- 1.7.7.5 (Apple Git-26) _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev