From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id DAED536E for ; Thu, 15 May 2014 23:20:58 +0200 (CEST) Received: by mail-wi0-f178.google.com with SMTP id hm4so4931160wib.11 for ; Thu, 15 May 2014 14:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=a/4vsEUzIw1kCUbpXQQnIy1IBvGt8sg+ifuCmiM4qFw=; b=Jl5JINDzV7zw9W9oLjJTiyFKqsIsj5qCH1HuwvtuABVJ5otjLEwF9rsH+e9uWMhB3s Bqx0xqpfsAr+3cmSXDwK3LwJWJEdTEtZmDxE8ABAE0rqOQIJ3W9cBcPN9wQh7Z1fy/ZJ 0Moj6MuU2fuQXZ2TVj71fJ/SMYde7tHpVRdcaMzy4K+omhOf0HbB20TGk9xZFB9vSJ9l jHKR+os24QJNNSGCGqVlsmKvnVvQO6gyumxPhQo62wg4H8aTM9FjL/qXL070g2CCGlhX TmGtZ57Q3QiOQTDDaTO9hjtqYdJueVe1aT4nyxZkMr1cVHifu7tHOQTTg01zAwcnn6mp I1Ug== X-Received: by 10.180.96.225 with SMTP id dv1mr10522467wib.37.1400188866589; Thu, 15 May 2014 14:21:06 -0700 (PDT) Received: from ubuntu.ubuntu-domain (bzq-79-181-48-4.red.bezeqint.net. [79.181.48.4]) by mx.google.com with ESMTPSA id fs5sm35634257wic.22.2014.05.15.14.21.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 May 2014 14:21:05 -0700 (PDT) From: Vadim Suraev To: dev@dpdk.org Message-Id: <1401830433-25071-1-git-send-email-vadim.suraev@gmail.com> X-Mailer: git-send-email 1.7.9.5 Subject: [dpdk-dev] [PATCH 0/2] X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 15 May 2014 21:20:59 -0000 X-Original-Date: Wed, 4 Jun 2014 00:20:31 +0300 X-List-Received-Date: Thu, 15 May 2014 21:20:59 -0000 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