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

2014-05-23 Thread Vadim Suraev
Bug: when a periodic timer's callback is running, if another timer is manipulated, the periodic timer is not reloaded. Solution: set the update flag only if the modified timer is in RUNNING state Signed-off-by: Vadim Suraev --- lib/librte_timer/rte_timer.c |8 ++-- 1 file changed

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

2014-05-16 Thread Vadim Suraev
Description: when going running, the pending count is not incremented. Fix: decremend pending when going running. Then, if periodic, increment, if one shot - do nothing Signed-off-by: Vadim Suraev --- lib/librte_timer/rte_timer.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)