v4.1:
Update bitmap_count1 implemnt to call count1_bits directly.
Bitmap is a separate subsystem, so I think bitmap_count1 is needed.
v4:
Implement abstract bitmap for table feature properties.
Make prop functions more general.
Remove duplicated code, use existed implement.
Squash some patches.
v1 to v3:
This patch is to implement table features GET msg in openflow 1.3.
The spec says:
If the request body contains an array of one or more ofp_table_features
structs, the switch will attempt to change its flow tables to match the
requested flow table configuration. This operation configures the entire
pipeline, and the set of flow tables in the pipeline must match the set
in the request, or an error must be returned.
And if request doesn't contain a body, then it's a GET request.
It means OFPMP_TABLE_FEATURES consists of 2 parts: GET and SET.
We implement the GET message now, and part of SET.
But the entire SET message seems difficult, because it configures the
whole pipeline.
Hope your suggestions.
Alexander Wu (5):
ofp-actions: Complete ofp13_action_type and add function to use
instructions.
bitmap: add bitmap_count1 function
ofp-util: Implement OFPMP_TABLE_FEATURES en/decode
ofproto: handle OFPMP_TABLE_FEATURES msgs and its lifecycle.
ofctl: Add ovs-ofctl dump-table-features.
include/openflow/openflow-1.3.h | 20 ++-
lib/bitmap.c | 15 +
lib/bitmap.h | 1 +
lib/ofp-actions.c | 19 ++
lib/ofp-actions.h | 3 +
lib/ofp-parse.c | 19 ++
lib/ofp-print.c | 149 ++++++++++-
lib/ofp-util.c | 619 +++++++++++++++++++++++++++++++++++++++
lib/ofp-util.def | 21 ++
lib/ofp-util.h | 133 +++++++++
ofproto/ofproto-provider.h | 8 +
ofproto/ofproto.c | 228 ++++++++++++++-
tests/ofp-print.at | 172 +++++++++++
tests/ofproto.at | 25 ++
utilities/ovs-ofctl.c | 17 +
15 files changed, 1445 insertions(+), 4 deletions(-)
--
1.7.3.1.msysgit.0
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev