On 09/04/2014 05:48 PM, Alexandru Badicioiu wrote:
It looks to me more like a bug in the application.
I got the following understanding (probably incomplete, please correct)
about the relation between pktios and queues:
When a pktio is associated a queue as default input queue it means that
the queue is the only way to get packets from the pktio and this happens
only through the scheduler.
In all other cases direct receive call should be used. The case of
setting a default input queue for pktio and then polling the queue seems
to me to be equivalent with direct receive from that pktio.
Pktio can be used in two ways:
- socket-style direct send/receive functions
- ODP-style via queues
My understanding was that these styles are not going to be mixed in one
application (except our example apps).
If queues are used then type of input queue defines how packets are
received: via scheduling or polling.
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp