On Fri, Sep 04, 2015 at 09:18:46AM +0000, Radu-Andrei Bulie wrote:
> Hi,
> 
> There is an issue in the pktio validation test. The issue comes from here 
> (function wait_for_packet) :
> {
> if (queue != ODP_QUEUE_INVALID &&
>                   odp_queue_type(queue) == ODP_QUEUE_TYPE_POLL)
>                         ev = queue_deq_wait_time(queue, ns);
> 
> In this situation (with the check on queue type) the 
> queue_deq_wait_time(queue, ns) will never be executed because the queue type 
> is PKTIN although the intention was to have a poll queue.
> (The earlier code did not check the queue , only if the queue was valid or 
> not)
> 

I've reworked this code somewhat in this patch;

http://patches.opendataplane.org/patch/2965/

Can you check if that works for you?

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

Reply via email to