From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TWmQJw60tJ+DKAWFFxb/UpTVM7mfMg8xXHPBCQjOJno=; b=P4IRvRmxE8qcBTxJVDd/m1VjQtUTsFuqoHNLKU2MYq//fiiHfG1K6peVFcHGEqQG/p Ksu0E7eS4SqLbhKrSDyvdLq7LrO7sYSmckRVFpEkrMAUB9Bp2rVUy3rBvzIsA9FkSqE7 o8V0oimWAGIdR+ES+IiSdJoHMx7IHk3a8/tkM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TWmQJw60tJ+DKAWFFxb/UpTVM7mfMg8xXHPBCQjOJno=; b=MyFiblpVUvo197mFzyMz1+CWXygKrMUr/bxriTk2oygtaRIPgYNz92zSe7Fk6d24qQ J0z+TvPTYPSVUHOaklS2Xuta0+XK07CLqa/gIYo0EOQMzdsd5c8BPIvzYzLswFMJT7HK FYmcb9oxXKg22Nr4gIbDxrkEjobDErxmRsNQcdMw40wIoFUhJ1Bdn5PcSWRLx5Gcjl6X jWoGj7iflh3syS/AmsIu6RV0h8G+vyz2j/bYXvxxbxCdTTP5xEG9EFzA4RAR0S55Pyv0 Fbbh0o7YNZMnPP8yL4Z7lzs6LpLaOyXkEQL7OfCWGec0EGCzWAOAYwV8cD9KUNeZm8p1 IO8Q== X-Gm-Message-State: AGRZ1gLUVB3Zj1MiNlrhqAjqerjp3wndh4ELvtjatpuGRK1BGKwGjsY5 AD6C0mvyRLre8sUbh3ByyWgkWa3XIFbHTbHkWxwaXnbc X-Google-Smtp-Source: AJdET5d1OklF4ka6Y7CAXY17FLuJ9FT2l4ZSBsrL7BWe+tu+x9Vqdp3i3LAYzYq3idWTwIT3XIunBbUTEcC/I7CImiU= X-Received: by 2002:a05:660c:383:: with SMTP id x3mr332431itj.121.1541212581944; Fri, 02 Nov 2018 19:36:21 -0700 (PDT) MIME-Version: 1.0 References: <051139db-381e-5f2f-32dc-1b91e8e45fee@intel.com> <3B45A79A-D782-4274-984C-DB1CD49B7252@intel.com> <5891119E-2F06-4467-A737-55FF37668D37@intel.com> In-Reply-To: <5891119E-2F06-4467-A737-55FF37668D37@intel.com> From: Somnath Kotur Date: Sat, 3 Nov 2018 08:06:13 +0530 Message-ID: To: keith.wiles@intel.com Cc: anatoly.burakov@intel.com, dev Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Question about rte_manage_timer() and eal_intr_handle_interrupts 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: , X-List-Received-Date: Sat, 03 Nov 2018 02:36:23 -0000 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 > >