On Wed, Jun 27, 2012 at 01:41:08PM +0900, FUJITA Tomonori wrote:
> On Wed, 27 Jun 2012 13:29:38 +0900
> Simon Horman <[email protected]> wrote:
> 
> > This is used in a queue statistics request to request statistics
> > of all queues.
> > 
> > Signed-off-by: Simon Horman <[email protected]>
> > ---
> >  ryu/ofproto/ofproto_v1_2.py | 3 +++
> >  ryu/ofproto/ofproto_v1_3.py | 3 +++
> >  2 files changed, 6 insertions(+)
> > 
> > diff --git a/ryu/ofproto/ofproto_v1_2.py b/ryu/ofproto/ofproto_v1_2.py
> > index b9d9062..e29d517 100644
> > --- a/ryu/ofproto/ofproto_v1_2.py
> > +++ b/ryu/ofproto/ofproto_v1_2.py
> > @@ -94,6 +94,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
> 
> OFPQ_ALL and OFPG_ALL are mentioned in the spec but I can't find any
> definitions in the spec. I use these values in OVS code. It's a
> mistake in the spec?

It seems that some definitions are not in the spec but are in the sample
header file. I think the header file may not be publicly available but I
did check it when writing my patch.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to