On 04/04/17 21:47, Brian Brooks wrote: > Signed-off-by: Brian Brooks <[email protected]> > Signed-off-by: Honnappa Nagarahalli <[email protected]> > --- > include/odp/api/spec/queue.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/include/odp/api/spec/queue.h b/include/odp/api/spec/queue.h > index 7972feac..1cec4773 100644 > --- a/include/odp/api/spec/queue.h > +++ b/include/odp/api/spec/queue.h > @@ -124,6 +124,11 @@ typedef struct odp_queue_param_t { > * the queue type. */ > odp_queue_type_t type; > > + /** Queue size > + * > + * Indicates the max ring size of the ring buffer. */ > + uint32_t ring_size; > +
As Petri said api should say that has to be min size or requested size. I.e. implementation can allocate more then this size. Maxim. > /** Enqueue mode > * > * Default value for both queue types is ODP_QUEUE_OP_MT. Application >
