From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05F1CC28CC0 for ; Wed, 29 May 2019 22:46:39 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 8C4EC242AC for ; Wed, 29 May 2019 22:46:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="Wmv7KXHV"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="2uf4X2b5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8C4EC242AC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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?