Ping. Please review.
Maxim.
On 06/02/15 17:46, Maxim Uvarov wrote:
packet i/o test can create 2 types of queues: scheduled and
polled. Do not do dequeue from scheduled queue.
https://bugs.linaro.org/show_bug.cgi?id=1383
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>
---
test/validation/odp_pktio.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/validation/odp_pktio.c b/test/validation/odp_pktio.c
index 7c1a666..e1025d6 100644
--- a/test/validation/odp_pktio.c
+++ b/test/validation/odp_pktio.c
@@ -319,7 +319,8 @@ static odp_packet_t wait_for_packet(odp_queue_t queue,
start = odp_time_cycles();
do {
- if (queue != ODP_QUEUE_INVALID)
+ if (queue != ODP_QUEUE_INVALID &&
+ odp_queue_type(queue) == ODP_QUEUE_TYPE_POLL)
ev = queue_deq_wait_time(queue, ns);
else
ev = odp_schedule(NULL, ns);
--
You received this message because you are subscribed to the Google Groups "[Frozen]
LNG ODP Sub-team - lng-...@linaro.org" group.
Visit this group at http://groups.google.com/a/linaro.org/group/lng-odp/.
To unsubscribe from this group and stop receiving emails from it, send an email
to lng-odp+unsubscr...@linaro.org.
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp