> -----Original Message-----
> From: lng-odp [mailto:[email protected]] On Behalf Of Maxim
> Uvarov
> Sent: Thursday, June 16, 2016 2:35 PM
> To: [email protected]
> Subject: Re: [lng-odp] [PATCH 6/6] linux-gen: sched: add
> pktio_stop_finalize to scheduler interface
> 
> On 06/15/16 13:44, Petri Savolainen wrote:
> >
> > @@ -86,6 +89,10 @@ typedef struct {
> >             int         prio;
> >     } queue[ODP_CONFIG_QUEUES];
> >
> > +   struct {
> > +           int         num;
> > +   } pktio[NUM_PKTIO];
> > +
> >   } sched_global_t;
> >
> >   /* Schedule command */
> 
> is struct for 1 element is needed here? Do you plan to expand it with
> something?
> 
> Maxim.

Potentially, it will be expanded. I'm using same design in SP scheduler and may 
be change this into that direction. Also pktio[index].num tells more about the 
data structure than e.g. pktio_num[index].

-Petri


_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to