From patchwork Wed Apr 10 17:15:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 52609 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 420911B150; Wed, 10 Apr 2019 19:16:09 +0200 (CEST) Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by dpdk.org (Postfix) with ESMTP id 391911B142 for ; Wed, 10 Apr 2019 19:16:08 +0200 (CEST) Received: by mail-pg1-f194.google.com with SMTP id 85so1948915pgc.3 for ; Wed, 10 Apr 2019 10:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Vr5lt4nEVxxCy6K9Q53z/48aPmCx/xlSXZyrFt82CXQ=; b=TkK4eWGzIptY7E8pC3U+KdxSpibLr1fCCCevPWRaFS59lNE0GZrXw/Ki1Dg2h9/Pty mhAnTyoWWzmnmpBvRICjaEgmHCPzpiu0sI7nCo0PFNZlLIkaq+0NjFh5ujl3ZxQjJF0g aqQOsRAUWScivO5AbXPVwjei1qwzoBGIhV6Ss83cCZTRtoO7LuAEmFKF4/rNsVwfyp2x HzB+EP0U19kLx/sgpaYp4CqggUGuvQwA1J8yxzVMoUDevAADLPSPp7fw4HHf3V6MjzkP H+9PqMEuPytUHedetoXmM99bmVLkUi3P0E2HF/P16PbE/JzVgJk266UNGy359AiMu/5F 4cKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Vr5lt4nEVxxCy6K9Q53z/48aPmCx/xlSXZyrFt82CXQ=; b=s6wViUxSfSko24A9qJq4ad7O+/nChTVJUXmGgwg0GMm14SUkxTVJcu2ejIb9tHFyaD LOrhbhRjZzQxaIdVrSXKML1dp5z9c0Fl4BpCtnfq8gPj+ZTDIN5MHARJ8g/qEkE9fOlz OwrRf/OtHZF4isihcCDu4aniulidKyZ0mLlf4COKQezFcrrXi+wgMXxRna8Kixml2MOw PpdUWkUU1gW7wqF3YNFGB5M3I2EUTJvqFeZZ6J4JeQGEpufE09vpJDrahFkVoB90RFHl gMW/uP53Pwyh7WTcPjQuY0s0woQslWkIgB23w6A2+MAQbz8VJJblIgZkYm8j0kkyUwE3 yZ2g== X-Gm-Message-State: APjAAAWhSS+W4j7gZXsSbV4tTXJ50KExp8FFt0adnsNiPkt1kTsCc4UT fokVoTU5x3C/0Rd3Gy0bukZ9q3IMHO4= X-Google-Smtp-Source: APXvYqxKyuV4uhBgzIqULE3QN2DheExE1Hnp4swvOdgF/FzWpMHwTy1OkThKLWUS0BaVMumkrz2pqQ== X-Received: by 2002:a63:6b08:: with SMTP id g8mr34956648pgc.211.1554916566478; Wed, 10 Apr 2019 10:16:06 -0700 (PDT) Received: from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id d25sm48995244pfn.154.2019.04.10.10.16.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 10:16:04 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 10 Apr 2019 10:15:58 -0700 Message-Id: <20190410171603.8979-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190408182510.16078-1-stephen@networkplumber.org> References: <20190408182510.16078-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH v2 0/5] make lcore_config internal 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" This set of patches makes the lcore_config structure less visible as part of the ABI. This version does not break the ABI (yet) follow on patch moves lcore_config into eal_private.h The changes in v2 is to: - new patch to use unsigned int in lcore.h first - incorporate feedback from David - don't include last patch to make it private (to avoid accidental early merge) Stephen Hemminger (5): eal: use unsigned int in rte_lcore.h functions eal: add accessor functions for lcore_config bus: use lcore accessor functions examples/bond: use lcore accessor app/test: use lcore accessor functions app/test/test_cryptodev.c | 2 +- app/test/test_hash_readwrite_lf.c | 14 +++--- app/test/test_ring_perf.c | 22 +++++---- app/test/test_stack_perf.c | 20 ++++---- doc/guides/rel_notes/release_19_05.rst | 6 +++ drivers/bus/dpaa/dpaa_bus.c | 6 ++- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 4 +- examples/bond/main.c | 5 +- lib/librte_eal/common/eal_common_lcore.c | 39 +++++++++++++++ lib/librte_eal/common/include/rte_lcore.h | 58 ++++++++++++++++------- lib/librte_eal/rte_eal_version.map | 11 +++++ 11 files changed, 136 insertions(+), 51 deletions(-)