From mboxrd@z Thu Jan 1 00:00:00 1970 From: Somnath Kotur Subject: Re: Question about rte_manage_timer() and eal_intr_handle_interrupts Date: Sat, 3 Nov 2018 08:06:13 +0530 Message-ID: References: <051139db-381e-5f2f-32dc-1b91e8e45fee@intel.com> <3B45A79A-D782-4274-984C-DB1CD49B7252@intel.com> <5891119E-2F06-4467-A737-55FF37668D37@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: anatoly.burakov@intel.com, dev To: keith.wiles@intel.com Return-path: Received: from mail-it1-f171.google.com (mail-it1-f171.google.com [209.85.166.171]) by dpdk.org (Postfix) with ESMTP id B75E75911 for ; Sat, 3 Nov 2018 03:36:22 +0100 (CET) Received: by mail-it1-f171.google.com with SMTP id w7-v6so5706756itd.1 for ; Fri, 02 Nov 2018 19:36:22 -0700 (PDT) In-Reply-To: <5891119E-2F06-4467-A737-55FF37668D37@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Thank you Anatoly and keith for your replies. What i still don't get is why the two cannot seem to co-exist? That is , whenever this while loop was running in the EAL thread that i showed in the code, my driver would stop receiving interrupts/async events ...Do we understand that? But you are right Anatoly, i need something to be called in my driver at a cadence of ~2s, I was registering timers in my driver and running rte_timer_manage() in this seperate thread to check and ensure the callbacks are executed on expiry. so if you are saying, i can achieve same functionality using rte_alarm() while i can get async events in my driver at the same time, i will explore this option Thanks a lot Som On Fri, Nov 2, 2018 at 8:07 PM Wiles, Keith wrote: > > > > On Nov 2, 2018, at 9:35 AM, Wiles, Keith wrote: > > > > > Sorry, meant to hit cancel for my previous email, Anatoly answered it > correctly. > > Regards, > Keith > >