[dpdk-dev] [PATCH 2/2] timer bug fix

2014-05-23 Thread Vadim Suraev
Bug: When a timer is running - if rte_timer_stop is called, the pending decrement is skipped (decremented only if the timer is pending) and due to the update flag the future processing is skipped so the timer is counted as pending while it is stopped. - the same applies when rte_time

[dpdk-dev] [PATCH 2/2] timer bug fix

2014-05-21 Thread Olivier MATZ
Hi Vadim, On 05/16/2014 12:15 PM, Vadim Suraev wrote: > Description: while running a periodic timer's callback, if another > timer is manipulated, the updated flag is raised > preventing the periodic timer to reload. > Fix: move > updated flag from priv_timer to rte_timer stucture (one > p

[dpdk-dev] [PATCH 2/2] timer bug fix

2014-05-16 Thread Vadim Suraev
Description: while running a periodic timer's callback, if another timer is manipulated, the updated flag is raised preventing the periodic timer to reload. Fix: move updated flag from priv_timer to rte_timer stucture (one per core) Signed-off-by: Vadim Suraev --- lib/librte_timer/rte_timer