The Netlink flow key attribute structure is designed to allow the kernel to add support for new protocols over time without breaking userspace applications, but the userspace side of this had not been implemented. This series implements it.
I already have some proposed changes out that would specify rules for changing the kernel flow key format over time: http://openvswitch.org/pipermail/dev/2011-November/012588.html. Those rules would change the existing kernel flow key format a bit. This commit doesn't depend on or implement those changes. Ben Pfaff (7): openvswitch.h: Improve comments. odp-util: New function ovs_key_attr_to_string(). netlink: Use NL_ATTR_FOR_EACH in nl_policy_parse(). netlink: Refactor and simplify nl_policy_parse(). netlink: New macro NL_POLICY_FOR. ofproto-dpif: Factor NetFlow active timeouts out of flow expiration. ofproto-dpif: Support differing user/kernel packet parsing support. include/linux/openvswitch.h | 8 +- lib/dpif-linux.c | 12 +- lib/netlink.c | 138 ++++---- lib/netlink.h | 5 + lib/odp-util.c | 506 ++++++++++++++++----------- lib/odp-util.h | 17 +- ofproto/netflow.c | 27 ++- ofproto/netflow.h | 4 +- ofproto/ofproto-dpif.c | 819 ++++++++++++++++++++++++++----------------- tests/automake.mk | 2 + 10 files changed, 919 insertions(+), 619 deletions(-) -- 1.7.4.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev