Re: [lng-odp] [API-NEXT PATCH v6] queue: handle return value of odp_queue_enq_multi()

2015-07-10 Thread Zoltan Kiss
On 09/07/15 10:20, Maxim Uvarov wrote: On 07/08/15 21:01, Zoltan Kiss wrote: Unsent packet has to be released. If the event type is obvious from the context, use directly the relevant release functions, otherwise odp_event(free). Wider error handling is attempted, but this patch can't fix all

[lng-odp] [API-NEXT PATCH v6] queue: handle return value of odp_queue_enq_multi()

2015-07-08 Thread Zoltan Kiss
Unsent packet has to be released. If the event type is obvious from the context, use directly the relevant release functions, otherwise odp_event(free). Wider error handling is attempted, but this patch can't fix all the flaws in the many calling functions of odp_queue_enq() Signed-off-by: Zoltan