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 4EA06A04BB; Sat, 26 Sep 2020 01:32:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 17ADA1E9EA; Sat, 26 Sep 2020 01:32:55 +0200 (CEST) Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by dpdk.org (Postfix) with ESMTP id 9D9631DE7D for ; Sat, 26 Sep 2020 01:32:52 +0200 (CEST) Received: by mail-lj1-f193.google.com with SMTP id r24so3798552ljm.3 for ; Fri, 25 Sep 2020 16:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yiUzYF/E5pxsuserdrtrbEXwrENwa4V5no6DfBvJUlQ=; b=ASggqldhpp9OGz2PxZzR7PgGp74IR7QOvF441iqeIzv+JUgxRqk01zTf/oG3+XI0qw pSTeDOZ5A6syYUodoRiRbDNFvC0EdoW0sPdprCiT05EnhS9VpH/Bk5uXHP9BpDYQV7um RtneZzETkkbwcusfExRr5DsBOGHRmPXZ/6tuyEm4/gIP5CLdAMuvPMMYXw3FfXiw7wXm ZBSp5tVuUo64HfZtD+ivI+hUg+GVuQoDEyLhHvWCfBGAKzqy9+ncprya6pIoNuRncu1t EnJDJfR23bgM31kNC/dkJ8NJgMhP1WYO8eoNLwyKtsFkPXPAYOngjZxZUdwyAR0lofKg kq0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yiUzYF/E5pxsuserdrtrbEXwrENwa4V5no6DfBvJUlQ=; b=SEAo5DmNEg8PjcjLgsJ2u7jPCvn1R4FGpYpf+niugnTZlCkVD26s8xEiiMzyVyEpOb mcSxHkwqd9/kK9CxkZUzsCfHU9vYEXNf4ZPWengSRn9FMhq8LlRRzukXQhlmXJEfGRau xylrI10iTDU8alF8+xhzs1jUmm3iSqDLkl7xPuZ2a/8hvIvEPvMkXMCF2zcn2OYe3AVa RixIyfdpvco1BW/O7pLDyYdafd9mfQyguMqHxNC+BEBZ/5PsS5vH88SZjvbSE/jM6VNm pEL4Dyc49BVz9nWVnMjI73jxqtvhCvRJNZfpL8BeFKS/C6MxDQbmhHrzqNHaHmh+HJ/g +dYA== X-Gm-Message-State: AOAM530lpwbuhRagYNW/Hqrl5Nf1+nYe99vgKK3qxF2FWuCB2ypND73B ZQoijyuMjTrc+iV8ulvW0EnwXoshIaeiaoCT X-Google-Smtp-Source: ABdhPJy1P5x+GuNcgiA1FjViDy+d20zdYWma5FnvBwZ3X6E/eUTLBKgzHjse/j0UoBDIwRXutxpqtA== X-Received: by 2002:a05:651c:104:: with SMTP id a4mr2168137ljb.273.1601076771886; Fri, 25 Sep 2020 16:32:51 -0700 (PDT) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id v14sm394511lfe.79.2020.09.25.16.32.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Sep 2020 16:32:51 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Khoa To , Dmitry Kozlyuk Date: Sat, 26 Sep 2020 02:32:41 +0300 Message-Id: <20200925233243.7302-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200911002207.31813-1-dmitry.kozliuk@gmail.com> References: <20200911002207.31813-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/2] eal/windows: implement alarms 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" This patchset provides EAL alarm support for Windows. Basic interrupt thread code is added to monitor alarm events. It doesn't include callback management, because Windows alarms, unlike Unix EALs, rely on the OS for callback execution scheduling. v2: rebase on ToT to resolve conflicts. Dmitry Kozlyuk (2): eal/windows: add interrupt thread skeleton eal/windows: implement alarm API lib/librte_eal/include/rte_eal_interrupts.h | 14 +- lib/librte_eal/rte_eal_exports.def | 3 + lib/librte_eal/windows/eal.c | 5 + lib/librte_eal/windows/eal_alarm.c | 219 ++++++++++++++++++++ lib/librte_eal/windows/eal_interrupts.c | 94 +++++++++ lib/librte_eal/windows/eal_windows.h | 12 ++ lib/librte_eal/windows/include/pthread.h | 7 + lib/librte_eal/windows/meson.build | 1 + 8 files changed, 352 insertions(+), 3 deletions(-) create mode 100644 lib/librte_eal/windows/eal_alarm.c -- 2.25.4