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 67176A04DD; Thu, 19 Nov 2020 16:19:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 138ECF3E; Thu, 19 Nov 2020 16:19:19 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 5A5EB23D for ; Thu, 19 Nov 2020 16:19:17 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from talshn@nvidia.com) with SMTP; 19 Nov 2020 17:19:11 +0200 Received: from nvidia.com (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0AJFJBrf022951; Thu, 19 Nov 2020 17:19:11 +0200 From: Tal Shnaiderman To: dev@dpdk.org Cc: thomas@monjalon.net, dmitry.kozliuk@gmail.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, pallavi.kadam@intel.com, david.marchand@redhat.com Date: Thu, 19 Nov 2020 17:18:11 +0200 Message-Id: <20201119151811.12868-1-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20201119140014.10608-1-talshn@nvidia.com> References: <20201119140014.10608-1-talshn@nvidia.com> Subject: [dpdk-dev] [PATCH v2] eal/windows: add stub for rte_intr_free_epoll_fd 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" Linux epoll mechanism is not implemented in Windows. Add stub similarly to freeBSD. Signed-off-by: Tal Shnaiderman --- v2: add missing export in def file [DavidM] --- lib/librte_eal/rte_eal_exports.def | 1 + lib/librte_eal/windows/eal_interrupts.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def index 6a6be1cfa6..50e6cd3d42 100644 --- a/lib/librte_eal/rte_eal_exports.def +++ b/lib/librte_eal/rte_eal_exports.def @@ -63,6 +63,7 @@ EXPORTS rte_get_tsc_hz rte_hexdump rte_hypervisor_get + rte_intr_free_epoll_fd rte_intr_rx_ctl rte_lcore_count rte_lcore_has_role diff --git a/lib/librte_eal/windows/eal_interrupts.c b/lib/librte_eal/windows/eal_interrupts.c index 6c64a48f34..6f7a1c7acc 100644 --- a/lib/librte_eal/windows/eal_interrupts.c +++ b/lib/librte_eal/windows/eal_interrupts.c @@ -105,3 +105,9 @@ eal_intr_thread_schedule(void (*func)(void *arg), void *arg) return 0; } + +void +rte_intr_free_epoll_fd(struct rte_intr_handle *intr_handle) +{ + RTE_SET_USED(intr_handle); +} -- 2.16.1.windows.4