From acdf0f08eaed4c1d7bbfbc287f27c533b7a48615 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Wed, 27 Jun 2012 20:59:44 +0900 Subject: [PATCH] of1.3: Add OFPQ_ALL This is used in a queue statistics request to request statistics of all queues. Signed-off-by: Simon Horman Signed-off-by: FUJITA Tomonori --- ryu/ofproto/ofproto_v1_3.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py index b5008e6f..5d8b3751 100644 --- a/ryu/ofproto/ofproto_v1_3.py +++ b/ryu/ofproto/ofproto_v1_3.py @@ -99,6 +99,9 @@ OFPP_CONTROLLER = 0xfffffffd # Send to controller. OFPP_LOCAL = 0xfffffffe # Local openflow "port". OFPP_ANY = 0xffffffff # Not associated with a physical port. +# All ones is used to indicate all queues in a port (for stats retrieval). +OFPQ_ALL = 0xffffffff + # enum ofp_port_features OFPPF_10MB_HD = 1 << 0 # 10 Mb half-duplex rate support. OFPPF_10MB_FD = 1 << 1 # 10 Mb full-duplex rate support.