From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ED9CFA052A; Fri, 1 Jan 2021 23:16:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87F18140CFA; Fri, 1 Jan 2021 23:16:47 +0100 (CET) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mails.dpdk.org (Postfix) with ESMTP id 01EA24A523 for ; Fri, 1 Jan 2021 23:16:46 +0100 (CET) Received: by mail-lf1-f45.google.com with SMTP id m25so50753881lfc.11 for ; Fri, 01 Jan 2021 14:16:46 -0800 (PST) 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=edL3fbkZP0R1QA5p1EU3LEJV9hW8QOph2HiRlhPOQp4=; b=Fy7OgOd5LhlPFGIzUzYKQSOcV74BlOjdQ1hEN+cnMl0yzWpXJlxkO6flaXadOV4YGP 3zA/pefZ04bdhy2EhauIs4coT3hsZ5snPCd1z5K9mbvAccZszjpASFWiIMDG+I9gsDH6 Dul3Ail4ofi1+AgdpHldH8FLUmr9YN6w/sV6cJfcs8XtneWdUaX2D6N7VKsasJIjujZN 0fUGGeiIFOSr7tRCL6mUBdNAcD04Ui6zR0xOxtgiXE/LnH6RlLtGfJQBNC6Pqa35k1XF jge5EkOoXJjvQPnI2FqRC7Bd7LlhjRe3+fOrWJT37alQK8wjXJbRsyaAiIATwhBY1UFr wG7Q== 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=edL3fbkZP0R1QA5p1EU3LEJV9hW8QOph2HiRlhPOQp4=; b=jSk2V5GybhMvidBQVjMSoEKRRd6MTkunbh7vwtO4tKJ45fgKxcYErZxeG6N/5as9Eb /JakM14Hm2f3KbQZH6eA7ZAIjjsYiYEchD+9l09Up0nnQ8tc/Tpz/WFmIORuFWdp0LH0 COKzHsMNi8GMDuc+7L/twG3WHgzGQOlllzz1mUuRX5SJE1LP7wCKt7GtqzimMgpE8kLr 9pIXkDykqKWyLBImhyRSo5jiRUENLgDRpKqdXeXBFBWk0KtjE7pBpFGpPweAc6Lh2dgD 2e01/k/6xMDTIir0OGpMd8DpsuzDG01bg0oDYNUIUi3fSrNf11K8Uq3Rc4vtZVdhpp3m ox9A== X-Gm-Message-State: AOAM530DedHA+f6TCiAhVCcTKP3WNmWQMBX8ITTWNHnzeMj56LH2NYf5 NVIQ8c1NTtp6yCwuTbidvSg= X-Google-Smtp-Source: ABdhPJzUHPdndkoQvjWTrLEKQ8mbsaHezF6zTl8KhgGTihn8yIXaG0gF9fKdr9lF80XQ++dkpk6DZQ== X-Received: by 2002:a05:651c:2045:: with SMTP id t5mr29911123ljo.462.1609539406394; Fri, 01 Jan 2021 14:16:46 -0800 (PST) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id l8sm6701788lfk.120.2021.01.01.14.16.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Jan 2021 14:16:45 -0800 (PST) Date: Sat, 2 Jan 2021 01:16:43 +0300 From: Dmitry Kozlyuk To: Tal Shnaiderman Cc: dev@dpdk.org, thomas@monjalon.net, pallavi.kadam@intel.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, david.marchand@redhat.com Message-ID: <20210102011643.78de10ba@sovereign> In-Reply-To: <20201230111244.13832-1-talshn@nvidia.com> References: <20201226160848.9824-1-talshn@nvidia.com> <20201230111244.13832-1-talshn@nvidia.com> X-Mailer: Claws Mail 3.17.6 (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 v6] eal: add generic thread-local-storage functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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, 30 Dec 2020 13:12:44 +0200, Tal Shnaiderman wrote: > Add support for tls functionality in EAL. > > The following functions are added: > rte_thread_tls_create_key - function to create a tls data key. > rte_thread_tls_delete_key - function to delete a tls data key. > rte_thread_tls_set_value - function to set value bound to the tls key > rte_thread_tls_get_value - function to get value bound to the tls key > > tls key will be defined by the new type rte_tls_key > > Windows implementation is under librte_eal/windows and > implemented using WIN32 API for Windows only. > > common implementation is under librte_eal/common and > implemented using pthread for UNIX and Windows compilation > using extenral pthread libraries, when supported. > > Signed-off-by: Tal Shnaiderman > --- > v3: switch from pthread shim to generic eal implementation [DmitryK] > v4: modify file names, function names, move unix code to common > for future external pthreads support [DmitryK] > v5: rename var used for extenal pthreads, add description in > meson_options.txt. [DmitryK] > v6: remove external_pthread support as it collide with pthread > shim implementation [DmitryK] > --- Acked-by: Dmitry Kozlyuk