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 8230AA04BB; Sat, 26 Sep 2020 01:40:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CB8061E9F1; Sat, 26 Sep 2020 01:40:34 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by dpdk.org (Postfix) with ESMTP id 6F5761E9EE for ; Sat, 26 Sep 2020 01:40:33 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1059) id B097420B7179; Fri, 25 Sep 2020 16:40:31 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com B097420B7179 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1601077231; bh=wSzQLc5ZK68bMxbQtUSelmxKwwsSrnnOB9R0ZjtPj08=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hI0ERYZDnMcQ3Alvfe37HenGoMDJR+2wQvlfckHVM85HHufwXWGTrspO15CDDu5qi k+AQcWwKaD/tNpbliKG5AHAOB9cL2vEaArnk8k+jo4oK94WG4gsQ4Wg4yuOFRqTrlB 0spNE9Kossjd/mB/psq69KggfGEjAZoZnXPZUFk4= Date: Fri, 25 Sep 2020 16:40:31 -0700 From: Narcisa Ana Maria Vasile To: Dmitry Kozlyuk Cc: dev@dpdk.org, Khoa To , Harman Kalra , Dmitry Malloy , Pallavi Kadam Message-ID: <20200925234031.GA2470@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20200911002207.31813-1-dmitry.kozliuk@gmail.com> <20200925233243.7302-1-dmitry.kozliuk@gmail.com> <20200925233243.7302-2-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200925233243.7302-2-dmitry.kozliuk@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [dpdk-dev] [PATCH v2 1/2] eal/windows: add interrupt thread skeleton 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" On Sat, Sep 26, 2020 at 02:32:42AM +0300, Dmitry Kozlyuk wrote: > Windows interrupt support is based on IO completion ports (IOCP). > Interrupt thread would send the devices requests to notify about > interrupts and then wait for any request completion. Add skeleton code > of this model without any hardware support. > > Another way to wake up the interrupt thread is APC (asynchronous procedure > call), scheduled by any other thread via eal_intr_thread_schedule(). > This internal API is intended for alarm implementation. > > Signed-off-by: Dmitry Kozlyuk > --- > lib/librte_eal/include/rte_eal_interrupts.h | 14 ++- > lib/librte_eal/rte_eal_exports.def | 1 + > lib/librte_eal/windows/eal.c | 5 ++ > lib/librte_eal/windows/eal_interrupts.c | 94 +++++++++++++++++++++ > lib/librte_eal/windows/eal_windows.h | 12 +++ > lib/librte_eal/windows/include/pthread.h | 7 ++ > 6 files changed, 130 insertions(+), 3 deletions(-) > Acked-by: Narcisa Vasile