odp_pktin_queue_config() creates all queues for the interface, except when
classifier is used. That's why the classifier config is there.
odp_pktin_queue_config() is an interface level call (there are no queue level
config calls).
Parser is not classifier. Parser config tells which metadata application
expects from packets, classifier (or hash) config tells how packets (flows) are
directed into queues. odp_pktio_config() maybe always called. When it's not
called, default values apply (e.g. parser.layer = ODP_PKTIO_PARSER_LAYER_ALL).
-Petri
> -Original Message-
> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of
> Honnappa Nagarahalli
> Sent: Monday, October 09, 2017 3:18 AM
> To: lng-odp-forward
> Subject: Re: [lng-odp] classifier_enable flag
>
> Also, are classifier and parser mutually exclusive?
>
> Thank you,
> Honnappa
>
> On 8 October 2017 at 19:14, Honnappa Nagarahalli
> wrote:
> > Hi,
> >The 'classifier_enable' flag is a pktin queue parameter. Shouldn't
> > this be a parameter of the pkt I/O device (port)?
> >
> > Does this mean, some queues of the pkt I/O device (port) can have
> > classifier enabled and some hash enabled?
> >
> > Thank you,
> > Honnappa