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 11176A0350; Tue, 30 Jun 2020 11:33:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B83F21BEA3; Tue, 30 Jun 2020 11:33:49 +0200 (CEST) Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by dpdk.org (Postfix) with ESMTP id E28081BE9E for ; Tue, 30 Jun 2020 11:33:47 +0200 (CEST) Received: by mail-wm1-f68.google.com with SMTP id o2so18915646wmh.2 for ; Tue, 30 Jun 2020 02:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Bz9Dsjj/mJVN0lcib90/tDPT5GrKAQdxlrmSqrJacXI=; b=DoGCNVb893TEFkxteqqoINQkQkDa1dcWHPjYsZCZ3vgVMmRdd7r5IpQmygaY07mOUz 10lC9jZ0oc1prKrboWCp04HOasU48JyWkWkqiXM0ijJyPwa4bAcqcWAGlz9XSvayyOst eExPDFck5xvZR2A3gcpVByDU+2tUh06BQzjlOoq5KIt60JGSEFBhnQ/WWvzh3PvgLN0c jqKUHGbkNpltvApoMuPSjNLQPbImFE89OAmI+euLQBEbJ+0IwccnllNv9BSogsF1wU1V z/yJ/rIXanYkiWuUQQSTKvMvtJ2SnaKhc/LBOzBYGcaAnGApxesmz+xF9b2TSAn9n+op vCuQ== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Bz9Dsjj/mJVN0lcib90/tDPT5GrKAQdxlrmSqrJacXI=; b=Fy5PGNhezDXmEpsdQ2sX1++pAgHUhgd141XXBhc1jxrUuDBlxOQVPc6iEBDgUoZ1A4 8GcELX+i7h2TE1/y1GfA1coeK4XwLLHfUu2K4x0g/rNeab1p9SwNoRMU6b7LVBsISyEW z3Qz/PHIn4dDiKbdqtd5sCRtCT70W7U4b1coXMxYMvlw78/ZSjIH626uKsmx6HmUsSHH VY3s2VCiiAxZ5SJctK2AJAAn96N/kdibWHVjYl3Xp9v7kyKPA1wh66eYbg9ZGgWtBJcL 2JojtnKAA0Wn5qEtSARy32Ea1haRTnNvrXb07WH7QPoR6kN0cB22fEbPDq+svzERRxdL ufaw== X-Gm-Message-State: AOAM531dv8aIqiLmfZDOj6LrKABFLJGAp55ClUL6tmbEuEmWsK490OpE 1WWYHcTjIxbjJOGEFiBmi0DboQ== X-Google-Smtp-Source: ABdhPJxhqyMrOlYFO0i/eF3yc/tuXGXpiEtwiEr0SR94Ub4jh4CZnsfEavYJyg44dcr4OvxwUFXKlA== X-Received: by 2002:a1c:ba0b:: with SMTP id k11mr20108485wmf.140.1593509627573; Tue, 30 Jun 2020 02:33:47 -0700 (PDT) Received: from 6wind.com (2a01cb0c0005a600345636f7e65ed1a0.ipv6.abo.wanadoo.fr. [2a01:cb0c:5:a600:3456:36f7:e65e:d1a0]) by smtp.gmail.com with ESMTPSA id c5sm2829021wmb.24.2020.06.30.02.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 02:33:46 -0700 (PDT) Date: Tue, 30 Jun 2020 11:33:46 +0200 From: Olivier Matz To: David Marchand Cc: dev@dpdk.org, jerinjacobk@gmail.com, bruce.richardson@intel.com, mdr@ashroe.eu, thomas@monjalon.net, arybchenko@solarflare.com, ktraynor@redhat.com, ian.stokes@intel.com, i.maximets@ovn.org, Harini Ramakrishnan , Omar Cardona , Pallavi Kadam , Ranjit Menon Message-ID: <20200630093346.GA5869@platinum> References: <20200610144506.30505-1-david.marchand@redhat.com> <20200626144736.11011-1-david.marchand@redhat.com> <20200626144736.11011-2-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200626144736.11011-2-david.marchand@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH v4 1/9] eal: relocate per thread symbols to common 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 Fri, Jun 26, 2020 at 04:47:28PM +0200, David Marchand wrote: > We have per lcore thread symbols scattered in OS implementations but > common code relies on them. > Move all of them in common. > > RTE_PER_LCORE(_socket_id) and RTE_PER_LCORE(_cpuset) have public > accessors and are not exported through the library map, they can be > made static. > > Signed-off-by: David Marchand Reviewed-by: Olivier Matz