[ovs-dev] [PATCH 61/63] ovs-util: Enable decoding of Open Flow 1.1 & 1.2 Queue Stats Response

Simon Horman horms at verge.net.au
Wed Jun 27 08:20:37 UTC 2012


Signed-off-by: Simon Horman <horms at verge.net.au>

---

v5
* Initial post
---
 lib/ofp-util.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 99d4269..fe3d911 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -966,6 +966,8 @@ static const struct ofputil_msg_type ofputil_msg_types[] = {
                   0, sizeof(struct ofp11_table_stats)),
     OFPST11_REPLY(OFPST_PORT, OFPST_PORT,
                   0, sizeof(struct ofp11_port_stats)),
+    OFPST11_REPLY(OFPST_QUEUE, OFPST_QUEUE,
+                  0, sizeof(struct ofp11_queue_stats)),
     OFPST11_REPLY(OFPST_PORT_DESC, OFPST_PORT_DESC,
                   0, sizeof(struct ofp11_port)),
 #undef OFPST11_REPLY
@@ -987,6 +989,8 @@ static const struct ofputil_msg_type ofputil_msg_types[] = {
                   0, sizeof(struct ofp12_table_stats)),
     OFPST12_REPLY(OFPST_PORT, OFPST_PORT,
                   0, sizeof(struct ofp11_port_stats)),
+    OFPST12_REPLY(OFPST_QUEUE, OFPST_QUEUE,
+                  0, sizeof(struct ofp11_queue_stats)),
     OFPST12_REPLY(OFPST_PORT_DESC, OFPST_PORT_DESC,
                   0, sizeof(struct ofp11_port)),
 #undef OFPST12_REPLY
-- 
1.7.10.2.484.gcd07cc5




More information about the dev mailing list