Re: [lng-odp] [PATCH v2] linux-generic: timer: set timer queue to ODP_QUEUE_INVALID on init

2015-06-29 Thread Maxim Uvarov
Applied. Looks like something wrong was with my set up. First time I saw &ndsp and in this email. Thanks Anders to double checking that patch can be applied! Maxim. On 06/24/15 19:40, Ola Liljedahl wrote: On 24 June 2015 at 18:36, Ivan Khoronzhuk > wrote:

Re: [lng-odp] [PATCH v2] linux-generic: timer: set timer queue to ODP_QUEUE_INVALID on init

2015-06-29 Thread Maxim Uvarov
Please resend this patch in text format. Not in html. Use git format-patch command. Thank you, Maxim. On 06/24/15 19:40, Ola Liljedahl wrote: On 24 June 2015 at 18:36, Ivan Khoronzhuk > wrote: The set_next_free() checks if timer queue is not set, that is

Re: [lng-odp] [PATCH v2] linux-generic: timer: set timer queue to ODP_QUEUE_INVALID on init

2015-06-24 Thread Ola Liljedahl
On 24 June 2015 at 18:36, Ivan Khoronzhuk wrote: > The set_next_free() checks if timer queue is not set, that is > ODP_QUEUE_INVALID. In case of linux-generic the invalid queue handle > is 0. By coincidence, after allocation, the timer queue handle is > also 0, by this way the ODP_ASSERT is maske

[lng-odp] [PATCH v2] linux-generic: timer: set timer queue to ODP_QUEUE_INVALID on init

2015-06-24 Thread Ivan Khoronzhuk
The set_next_free() checks if timer queue is not set, that is ODP_QUEUE_INVALID. In case of linux-generic the invalid queue handle is 0. By coincidence, after allocation, the timer queue handle is also 0, by this way the ODP_ASSERT is masked. In case ODP_QUEUE_INVALID is another from 0 the test gen