From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vadim Suraev Subject: [PATCH 0/2] Date: Thu, 15 May 2014 21:21:17 +0000 (UTC) Message-ID: <1401830433-25071-1-git-send-email-vadim.suraev@gmail.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: Date: Wed, 4 Jun 2014 00:20:31 +0300 List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" rte_timer: 2 bug fixes Vadim Suraev (2): rte_timer bug fix: pending timers count is not decremented when going running. Fix: decrement pending when going running, increment if reloaded, do nothing if not reloaded Signed-off-by: Vadim Suraev rte_timer bug fix: when a perdiodic timer's callback manipulates another timer, updated flag prevents reloading the periodic timer. Fix: move updated flag to rte_timer structure (one per core) Signed-off-by: Vadim Suraev lib/librte_timer/rte_timer.c | 21 ++++++++++----------- lib/librte_timer/rte_timer.h | 7 ++++++- 2 files changed, 16 insertions(+), 12 deletions(-) -- 1.7.9.5