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 D5269A04EF; Mon, 25 May 2020 03:08:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 215851D646; Mon, 25 May 2020 03:08:26 +0200 (CEST) Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) by dpdk.org (Postfix) with ESMTP id D97A01D63E for ; Mon, 25 May 2020 03:08:24 +0200 (CEST) Received: by mail-lj1-f194.google.com with SMTP id k5so18971977lji.11 for ; Sun, 24 May 2020 18:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/jACulYFKiKH3DcSVoeJxsW6sqCWJcGJohHCv48gk9w=; b=HxxVaYa9DhPEQFa5oF6PZCXoLZQnNFf6gDvznVlNuMcZrjuT1vA8ONaNIOoSJdpuw8 Ij+m+fCy9/6/SyFdaql1ZE3jpfiAQUTyazDLDStWL03nN2hQzMnoVI3e0kdwMka3D2OD cFvg23XfnpNycag/8psl1fImkIpCCT17wf1pQSq6dhUfjR/El5yphUvW35KAs9+weuTd L4dI0Cx/IdtWjpoZzQXDWVo+tdaQqFnVeF5fuJzz36LbFfZgPYWzXMRhKphK+rOfLf/i n7xYh54XddhlVWtrkzCea4prLvtrSshlHLXIU+wabvs8B9xdE4D2lKS41U464J7qPSK2 isKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/jACulYFKiKH3DcSVoeJxsW6sqCWJcGJohHCv48gk9w=; b=kU3LxJLTx0eZ+82yulM8GHlcFOgdHRq2HS+5ibRzyjSi/PwUzygvNM5WEYLgdYhHL8 RpEho22OFxr4h26xMz8oC8Hu8wcH8z08eeX9FKfPyVy6Qv5EWW+Y1+nGpxJ+y3NYnJsI FStKjF44hzKu7GupyTh6v3/s+uKYFGMFpAPwNgWoqTLlt23n2NqifR6EaSJifb5nKinc Rzk/9hFGVougqGAN756XOreqHOllH3rtNae2/GSFBF89JOM0lqJWmgbkpen0GYARzRWU PZEaKFarYpdFH8wAXgQBJ1Qhfl32mtHG4iZzuSRuDSaRYovDni5ng1GlqMzi5CGcKcFH z3NQ== X-Gm-Message-State: AOAM532mzjh1dwDrjixdFhjvwW5HmWk9NK6nGSN88PiXKa8WWRudzR1g VvviX2rLgMV5V7Ch1I22NmM= X-Google-Smtp-Source: ABdhPJxOjZXIYMDBhRSiO8IvsJiESUC0j2C/+AtnCX27Sn2Jbs1kr22M1L1S/HM+aR4r916HIHfXzw== X-Received: by 2002:a2e:9891:: with SMTP id b17mr11169436ljj.319.1590368904516; Sun, 24 May 2020 18:08:24 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id s13sm3456652lfp.81.2020.05.24.18.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 May 2020 18:08:24 -0700 (PDT) Date: Mon, 25 May 2020 04:08:23 +0300 From: Dmitry Kozlyuk To: Tasnim Bashar Cc: dev@dpdk.org, harini.ramakrishnan@microsoft.com, pallavi.kadam@intel.com, ranjit.menon@intel.com, ocardona@microsoft.com, navasile@linux.microsoft.com, talshn@mellanox.com, fady@mellanox.com, ophirmu@mellanox.com, thomas@monjalon.net Message-ID: <20200525040823.0eadb820@sovereign> In-Reply-To: <20200521003253.75212-1-tbashar@mellanox.com> References: <20200518142634> <20200521003253.75212-1-tbashar@mellanox.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] eal/windows: support thread ID query 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 Wed, 20 May 2020 17:32:53 -0700 Tasnim Bashar wrote: > Add rte_sys_gettid function to use rte_gettid() on Windows. > rte_gettid() is required for recursive spin lock and recursive ticket lock. > > Signed-off-by: Tasnim Bashar > --- > > v2: remove eal_thread_self function and fix style > > --- > lib/librte_eal/windows/eal_thread.c | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) > [snip] Acked-by: Dmitry Kozlyuk -- Dmitry Kozlyuk