I will correct this as a separate patch.

Regards,
Bala

On 17 December 2015 at 15:48, Ivan Khoronzhuk
<ivan.khoronz...@linaro.org> wrote:
> .....
>
>>> +
>>> +    pkt = receive_packet(&retqueue, ODP_TIME_SEC_IN_NS);
>>
>> here has to be time of scheduler, ns should be converted to with
>> odp_schedule_wait_time() first
>> Maybe here is reason to check if the function is used correctly in other
>> places.
>>
>
> Here probably should be one more patch that corrects receive_packet()
> instead "ns" the "wait" word should be used in order to not confuse user.
>
> It can be converted inside of receive_packet of course, but in this case
> the modes like ODP_SCHED_WAIT and ODP_SCHED_NO_WAIT cannot be used.
>
> So better to correct usage of this function and rename ns to wait inside.



-- 
Regards,
Bala
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to