summaryrefslogtreecommitdiff
path: root/include/openvswitch/ofp-flow.h
diff options
context:
space:
mode:
authorSatyaValli <satyavalli.rama@tcs.com>2018-05-10 21:56:54 +0530
committerBen Pfaff <blp@ovn.org>2018-05-16 15:29:46 -0700
commitc7b02b800615c0bf383f3a740fe62b3f1759a997 (patch)
treecbdf95ba2890c3ef54926ac44efaa5ac35932133 /include/openvswitch/ofp-flow.h
parent7c0cb293eea321b934ff6398dd7e938ce3a0511f (diff)
downloadopenvswitch-c7b02b800615c0bf383f3a740fe62b3f1759a997.tar.gz
Add support for OpenFlow 1.5 statistics (OXS).
This patch provides implementation Existing flow entry statistics are redefined as standard OXS(OpenFlow Extensible Statistics) fields for displaying the arbitrary flow stats. To support this implementation below messages are newly added OFPRAW_OFPT15_FLOW_REMOVED, OFPRAW_OFPST15_AGGREGATE_REQUEST, OFPRAW_OFPST15_FLOW_REPLY, OFPRAW_OFPST15_AGGREGATE_REPLY, The current commit adds support for the new feature in flow statistics multipart messages, aggregate multipart messages and OXS support for flow removal message, individual flow description messages. Signed-off-by: Satya Valli <satyavalli.rama@tcs.com> Co-authored-by: Lavanya Harivelam <harivelam.lavanya@tcs.com> Signed-off-by: Lavanya Harivelam <harivelam.lavanya@tcs.com> Co-authored-by: Surya Muttamsetty <muttamsetty.surya@tcs.com> Signed-off-by: Surya Muttamsetty <muttamsetty.surya@tcs.com> Co-authored-by: Manasa Cherukupally <manasa.cherukupally@tcs.com> Signed-off-by: Manasa Cherukupally <manasa.cherukupally@tcs.com> Co-authored-by: Pavani Panthagada <p.pavani1@tcs.com> Signed-off-by: Pavani Panthagada <p.pavani1@tcs.com> [blp@ovn.org simplified and rewrote much of the code] Co-authored-by: Ben Pfaff <blp@ovn.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'include/openvswitch/ofp-flow.h')
-rw-r--r--include/openvswitch/ofp-flow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openvswitch/ofp-flow.h b/include/openvswitch/ofp-flow.h
index 2ff2e45b6..f2223d90b 100644
--- a/include/openvswitch/ofp-flow.h
+++ b/include/openvswitch/ofp-flow.h
@@ -219,7 +219,7 @@ void ofputil_flow_stats_format(struct ds *, const struct ofputil_flow_stats *,
struct ofputil_aggregate_stats {
uint64_t packet_count; /* Packet count, UINT64_MAX if unknown. */
uint64_t byte_count; /* Byte count, UINT64_MAX if unknown. */
- uint32_t flow_count;
+ uint32_t flow_count; /* Number of flows, UINT32_MAX if unknown. */
};
struct ofpbuf *ofputil_encode_aggregate_stats_reply(