From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 6DCE2A045E for ; Thu, 30 May 2019 00:46:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3E7C04F91; Thu, 30 May 2019 00:46:37 +0200 (CEST) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by dpdk.org (Postfix) with ESMTP id 8E49E4F91 for ; Thu, 30 May 2019 00:46:35 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5C603558; Wed, 29 May 2019 18:46:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 29 May 2019 18:46:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=pI7DLBYV4j+rxOoLJIxes93KTMSlzxNr0QvNS1kHUXw=; b=Wmv7KXHVDgwR WMTtTjJTpwEq6G5RbrecVtglhWBqN5JLmhlsEB6+svInYFCwg/S7hwG0KA6lbNwL 5dENS8AdlD4zh9Z1eAsYOlr4QqejzIGQKZyJG3RSKtuRx9JqtYfp8pYapkkflI+Z aBW/+U8vFKPAEHb7k/F2cAiPKG5MCzw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=pI7DLBYV4j+rxOoLJIxes93KTMSlzxNr0QvNS1kHU Xw=; b=2uf4X2b5ryvm1lIE1mBEZg70x83iP/HydH8NEkm1QxTaVK6dU4KJOUoX7 4RyOFXslPQZrESyYRu0OdhuQL/MIwJOJqUZn/S8BMv5vKMN/3WR5JFn9ToHLjsKH wfRIPYfz23ayiWLLA9J5xIetrj6nsTHMjqKoOdwbWWxLR10lCEg9GqJgRDxdSPQg +FnygQoHWsdZNQIS2x556/HHCzlWzwWE0dH4/nCwobFcapFaNKpqqO3vesspaw+8 iMha6TdVLYgDfM1icjtoCMCSi3QrZHCCH9kEqB+SlUNfOLqUERYMlwrgl72KE9SG MIHjwhTnNKUFqFWmqGH1adzYqXX9w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddruddvkedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeelfedriedrudegledruddugeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhm rghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id ED5CE80059; Wed, 29 May 2019 18:46:31 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: David Marchand , stephen@networkplumber.org, ktraynor@redhat.com, nhorman@tuxdriver.com, bluca@debian.org, bruce.richardson@intel.com Date: Thu, 30 May 2019 00:46:30 +0200 Message-ID: <1721310.r4ByrxUKRB@xps> In-Reply-To: <1558619942-9723-3-git-send-email-david.marchand@redhat.com> References: <20190408182510.16078-1-stephen@networkplumber.org> <1558619942-9723-1-git-send-email-david.marchand@redhat.com> <1558619942-9723-3-git-send-email-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 2/5] eal: add lcore accessors 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" 23/05/2019 15:58, David Marchand: > From: Stephen Hemminger > > The fields of the internal EAL core configuration are currently > laid bare as part of the API. This is not good practice and limits > fixing issues with layout and sizes. > > Make new accessor functions for the fields used by current drivers > and examples. [...] > +DPDK_19.08 { > + global: > + > + rte_lcore_cpuset; > + rte_lcore_index; > + rte_lcore_to_cpu_id; > + rte_lcore_to_socket_id; > + > +} DPDK_19.05; > + > EXPERIMENTAL { > global: Just to make sure, are we OK to introduce these functions as non-experimental?