From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 84331A04DD; Mon, 20 Jan 2020 01:38:43 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 993DD28F3; Mon, 20 Jan 2020 01:38:42 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id C85841DBA for ; Mon, 20 Jan 2020 01:38:40 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5FEA921A92; Sun, 19 Jan 2020 19:38:40 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 19 Jan 2020 19:38:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=FRiv4ol6Usj8MBFGNs+BNaQ/lZgK1NkMeOlHlVLEIqU=; b=Lb33e21/dF9b m8REiWYqe7LlewDGItXJE0ZFhWyBXUBJYw52GvbPz7yUUeGSQwx0Z9G2YCcwKL8H 78Km2Enck7H8I5Os9LgLHoKZYZJgQM1/AD05UzPRsiIMcdQiBkooKx/7G8Aj3lNV g08W1VbV6lWweMvCmzahIjVaGf8o5Kw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=FRiv4ol6Usj8MBFGNs+BNaQ/lZgK1NkMeOlHlVLEI qU=; b=QHvkVXMkYaGEe1ixShXeUi3cZWKe/THdH8v8EFdkiSwLR277gOpvKWoLs yevINF8qOP71FyTsjQzng4pyQbFGaVgmYtcSB6sKLW1FQtCjM+oi+fcuT4BnRaq1 uDX8+/53boQxJpVAnkZzkfmUtujTTEcquXfjFtjSnkUPjUuuQXxAjyC99ttttWq7 +mgueqQLW5pMjechquQK2yJWMEWAtx5UphHUnGkTniPrfeOI6/9jJlu08wkwWAI4 PvSO6UGQ5j1cjo4vCSAC3ddNZ/wX3XmsZ26b0q/hnC2pwSzNp4VkunoNbjjuRjIm bb6LVBWArpfH4y0PoldXx36BFKYVw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeggddvfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4852D3060B12; Sun, 19 Jan 2020 19:38:39 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: "dev@dpdk.org" , "Carrillo, Erik G" Date: Mon, 20 Jan 2020 01:38:38 +0100 Message-ID: <5894640.jCCqRG4XHG@xps> In-Reply-To: References: <20190610224441.5461-1-stephen@networkplumber.org> <20191217005503.31196-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1] rte_timer: add rte_timer_next_ticks X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 20/12/2019 23:43, Carrillo, Erik G: > Hi Stephen, > > I added a comment in-line. With that change, it looks good to me: > > Acked-by: Erik Gabriel Carrillo Applied with below change, thanks. > From: Stephen Hemminger > > > It is useful to know when the next timer will expire when using > > rte_epoll_wait (or sleep when idle). This experimental API provides a hook > > to query the number of ticks remaining. > > > > Signed-off-by: Stephen Hemminger > > --- > > + * Time until the next timer > > s/next timer/next timer on the current lcore