This series: - Fixes the way userspace datapath handles flow key and packet metadata. - Introduces struct dpif_metadata for making packet metadata explicit. - Allows dpif providers to modify packet and metadata while executing. - Consolidates odp-execute callbacks - Adds meters implementations to userspace and kernel module.
Jarno Rajahalme (12): dpif_netdev_execute: Extract flow key from the packet. dpif-netdev: Maintain the original key during execution. dpif: Allow execute to modify the packet. odp-execute: Consolidate callbacks. dpif: Use explicit packet metadata. dpif: Meter framework. lib/odp, ofproto xlate: Meter execution support. dpif-netdev: Simple DROP meter implementation. include/linux/openvswitch.h: Netlink definitions for meters. dpif-linux: Look for kernel support for meters. dpif-linux: Meters support. datapath: Simple DROP meter implementation. datapath/actions.c | 4 + datapath/datapath.c | 558 +++++++++++++++++++++++++++++++++++++++++ datapath/datapath.h | 32 +++ datapath/flow_netlink.c | 5 + include/linux/openvswitch.h | 50 ++++ lib/dpif-linux.c | 310 ++++++++++++++++++++++- lib/dpif-netdev.c | 416 ++++++++++++++++++++++++++---- lib/dpif-provider.h | 38 ++- lib/dpif.c | 182 +++++++++----- lib/dpif.h | 37 ++- lib/odp-execute.c | 53 ++-- lib/odp-execute.h | 17 +- lib/odp-util.c | 85 ++++++- lib/odp-util.h | 6 + ofproto/ofproto-dpif-upcall.c | 5 +- ofproto/ofproto-dpif-xlate.c | 34 ++- ofproto/ofproto-dpif.c | 73 +++++- ofproto/ofproto-provider.h | 2 +- 18 files changed, 1708 insertions(+), 199 deletions(-) -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev