Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/odp_packet_io.c
line 32
@@ -1617,6 +1634,46 @@ int odp_pktin_recv_tmo(odp_pktin_queue_t queue,
odp_packet_t packets[], int num,
}
}
+static int odp_pktin_recv_mq_tmo_select(const odp_pktin_queue_t queues[],
Comment:
Internal functions should not use odp_ prefix.
> Matias Elo(matiaselo) wrote:
> You should pass the `wait` parameter to `entry->s.ops->recv_tmo()` and not do
> any conversions here.
>> Matias Elo(matiaselo) wrote:
>> ODP_TIME_SEC_IN_NS would work here.
https://github.com/Linaro/odp/pull/341#discussion_r157214746
updated_at 2017-12-15 14:37:21