Until now, OpenFlow flow table misses always caused kernel flow tables misses, because kernel flow entries were never set up for them. This series changes that. This has several possible benefits:
* sFlow correctness - currently these packets are counted but not sampled. * Better visibility and accounting. * Possibility of prioritization. * Avoiding repeatedly searching the classifier for packets sent to the controller. * Potentially better modularization. This series is a partial fix for bug #7550, which takes the idea farther to include other classes of packets that currently cannot be set up in the kernel, not just those that miss in the OpenFlow flow table. Ben Pfaff (9): ofproto: Encapsulate classifier tables in new "struct oftable". ofproto: Make ofproto ->construct() function initialize tables. ofproto: Implement "hidden" and "readonly" OpenFlow tables. ofproto-dpif: Remove "clog" feature. odp-util: Change user_action_cookie from struct to union. odp-util: Add reason to controller cookie. New action NXAST_CONTROLLER. ofproto-dpif: Implement flow table misses as special OpenFlow rules. ovs-ofctl: Support all OFPPC_* flags in "mod-port" command. NEWS | 5 + include/openflow/nicira-ext.h | 26 +++- lib/odp-util.c | 55 ++++-- lib/odp-util.h | 26 ++- lib/ofp-parse.c | 57 +++++-- lib/ofp-print.c | 14 ++ lib/ofp-util.c | 9 +- lib/ofp-util.def | 1 + ofproto/ofproto-dpif-sflow.c | 16 +- ofproto/ofproto-dpif-sflow.h | 4 +- ofproto/ofproto-dpif.c | 385 +++++++++++++++++++++-------------------- ofproto/ofproto-provider.h | 46 +++-- ofproto/ofproto.c | 175 +++++++++++++------ utilities/ovs-ofctl.8.in | 75 ++++++--- utilities/ovs-ofctl.c | 49 ++++-- 15 files changed, 583 insertions(+), 360 deletions(-) -- 1.7.2.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev